brintos

brintos / linux-shallow public Read only

0
0
Text · 5.5 KiB · 33650a1 Raw
198 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2# Copyright (C) 2021 Renesas Electronics Corp.3%YAML 1.24---5$id: http://devicetree.org/schemas/media/renesas,isp.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Renesas R-Car ISP Channel Selector9 10maintainers:11  - Niklas Söderlund <niklas.soderlund@ragnatech.se>12 13description:14  The R-Car ISP Channel Selector provides MIPI CSI-2 VC and DT filtering15  capabilities for the Renesas R-Car family of devices. It is used in16  conjunction with the R-Car VIN and CSI-2 modules, which provides the video17  capture capabilities.18 19properties:20  compatible:21    items:22      - enum:23          - renesas,r8a779a0-isp # V3U24          - renesas,r8a779g0-isp # V4H25  reg:26    maxItems: 127 28  interrupts:29    maxItems: 130 31  clocks:32    maxItems: 133 34  power-domains:35    maxItems: 136 37  resets:38    maxItems: 139 40  ports:41    $ref: /schemas/graph.yaml#/properties/ports42 43    properties:44      port@0:45        $ref: /schemas/graph.yaml#/properties/port46        description:47          Input port node, multiple endpoints describing the connected R-Car48          CSI-2 receivers.49 50      port@1:51        $ref: /schemas/graph.yaml#/properties/port52        description:53          Single endpoint describing the R-Car VIN connected to output port 0.54 55      port@2:56        $ref: /schemas/graph.yaml#/properties/port57        description:58          Single endpoint describing the R-Car VIN connected to output port 1.59 60      port@3:61        $ref: /schemas/graph.yaml#/properties/port62        description:63          Single endpoint describing the R-Car VIN connected to output port 2.64 65      port@4:66        $ref: /schemas/graph.yaml#/properties/port67        description:68          Single endpoint describing the R-Car VIN connected to output port 3.69 70      port@5:71        $ref: /schemas/graph.yaml#/properties/port72        description:73          Single endpoint describing the R-Car VIN connected to output port 4.74 75      port@6:76        $ref: /schemas/graph.yaml#/properties/port77        description:78          Single endpoint describing the R-Car VIN connected to output port 5.79 80      port@7:81        $ref: /schemas/graph.yaml#/properties/port82        description:83          Single endpoint describing the R-Car VIN connected to output port 6.84 85      port@8:86        $ref: /schemas/graph.yaml#/properties/port87        description:88          Single endpoint describing the R-Car VIN connected to output port 7.89 90    required:91      - port@092      - port@193      - port@294      - port@395      - port@496      - port@597      - port@698      - port@799      - port@8100 101required:102  - compatible103  - reg104  - interrupts105  - clocks106  - power-domains107  - resets108  - ports109 110additionalProperties: false111 112examples:113  - |114    #include <dt-bindings/clock/r8a779a0-cpg-mssr.h>115    #include <dt-bindings/interrupt-controller/arm-gic.h>116    #include <dt-bindings/power/r8a779a0-sysc.h>117 118    isp1: isp@fed20000 {119            compatible = "renesas,r8a779a0-isp";120            reg = <0xfed20000 0x10000>;121            interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;122            clocks = <&cpg CPG_MOD 613>;123            power-domains = <&sysc R8A779A0_PD_A3ISP01>;124            resets = <&cpg 613>;125 126            ports {127                    #address-cells = <1>;128                    #size-cells = <0>;129 130                    port@0 {131                            #address-cells = <1>;132                            #size-cells = <0>;133 134                            reg = <0>;135                            isp1csi41: endpoint@1 {136                                    reg = <1>;137                                    remote-endpoint = <&csi41isp1>;138                            };139                    };140 141                    port@1 {142                            reg = <1>;143                            isp1vin08: endpoint {144                                    remote-endpoint = <&vin08isp1>;145                            };146                    };147 148                    port@2 {149                            reg = <2>;150                            isp1vin09: endpoint {151                                    remote-endpoint = <&vin09isp1>;152                            };153                    };154 155                    port@3 {156                            reg = <3>;157                            isp1vin10: endpoint {158                                    remote-endpoint = <&vin10isp1>;159                            };160                    };161 162                    port@4 {163                            reg = <4>;164                            isp1vin11: endpoint {165                                    remote-endpoint = <&vin11isp1>;166                            };167                    };168 169                    port@5 {170                            reg = <5>;171                            isp1vin12: endpoint {172                                    remote-endpoint = <&vin12isp1>;173                            };174                    };175 176                    port@6 {177                            reg = <6>;178                            isp1vin13: endpoint {179                                    remote-endpoint = <&vin13isp1>;180                            };181                    };182 183                    port@7 {184                            reg = <7>;185                            isp1vin14: endpoint {186                                    remote-endpoint = <&vin14isp1>;187                            };188                    };189 190                    port@8 {191                            reg = <8>;192                            isp1vin15: endpoint {193                                    remote-endpoint = <&vin15isp1>;194                            };195                    };196            };197    };198