1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 # Copyright (C) 2021 Renesas Electronics Corp. 2 # Copyright (C) 2021 Renesas Electronics Corp. 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/media/renes 5 $id: http://devicetree.org/schemas/media/renesas,isp.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: Renesas R-Car ISP Channel Selector 8 title: Renesas R-Car ISP Channel Selector 9 9 10 maintainers: 10 maintainers: 11 - Niklas Söderlund <niklas.soderlund@ragnate 11 - Niklas Söderlund <niklas.soderlund@ragnatech.se> 12 12 13 description: 13 description: 14 The R-Car ISP Channel Selector provides MIPI 14 The R-Car ISP Channel Selector provides MIPI CSI-2 VC and DT filtering 15 capabilities for the Renesas R-Car family of 15 capabilities for the Renesas R-Car family of devices. It is used in 16 conjunction with the R-Car VIN and CSI-2 mod 16 conjunction with the R-Car VIN and CSI-2 modules, which provides the video 17 capture capabilities. 17 capture capabilities. 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 items: 21 items: 22 - enum: 22 - enum: 23 - renesas,r8a779a0-isp # V3U 23 - renesas,r8a779a0-isp # V3U 24 - renesas,r8a779g0-isp # V4H << 25 reg: 24 reg: 26 maxItems: 1 25 maxItems: 1 27 26 28 interrupts: 27 interrupts: 29 maxItems: 1 28 maxItems: 1 30 29 31 clocks: 30 clocks: 32 maxItems: 1 31 maxItems: 1 33 32 34 power-domains: 33 power-domains: 35 maxItems: 1 34 maxItems: 1 36 35 37 resets: 36 resets: 38 maxItems: 1 37 maxItems: 1 39 38 40 ports: 39 ports: 41 $ref: /schemas/graph.yaml#/properties/port 40 $ref: /schemas/graph.yaml#/properties/ports 42 41 43 properties: 42 properties: 44 port@0: 43 port@0: 45 $ref: /schemas/graph.yaml#/properties/ 44 $ref: /schemas/graph.yaml#/properties/port 46 description: 45 description: 47 Input port node, multiple endpoints 46 Input port node, multiple endpoints describing the connected R-Car 48 CSI-2 receivers. 47 CSI-2 receivers. 49 48 50 port@1: 49 port@1: 51 $ref: /schemas/graph.yaml#/properties/ 50 $ref: /schemas/graph.yaml#/properties/port 52 description: 51 description: 53 Single endpoint describing the R-Car 52 Single endpoint describing the R-Car VIN connected to output port 0. 54 53 55 port@2: 54 port@2: 56 $ref: /schemas/graph.yaml#/properties/ 55 $ref: /schemas/graph.yaml#/properties/port 57 description: 56 description: 58 Single endpoint describing the R-Car 57 Single endpoint describing the R-Car VIN connected to output port 1. 59 58 60 port@3: 59 port@3: 61 $ref: /schemas/graph.yaml#/properties/ 60 $ref: /schemas/graph.yaml#/properties/port 62 description: 61 description: 63 Single endpoint describing the R-Car 62 Single endpoint describing the R-Car VIN connected to output port 2. 64 63 65 port@4: 64 port@4: 66 $ref: /schemas/graph.yaml#/properties/ 65 $ref: /schemas/graph.yaml#/properties/port 67 description: 66 description: 68 Single endpoint describing the R-Car 67 Single endpoint describing the R-Car VIN connected to output port 3. 69 68 70 port@5: 69 port@5: 71 $ref: /schemas/graph.yaml#/properties/ 70 $ref: /schemas/graph.yaml#/properties/port 72 description: 71 description: 73 Single endpoint describing the R-Car 72 Single endpoint describing the R-Car VIN connected to output port 4. 74 73 75 port@6: 74 port@6: 76 $ref: /schemas/graph.yaml#/properties/ 75 $ref: /schemas/graph.yaml#/properties/port 77 description: 76 description: 78 Single endpoint describing the R-Car 77 Single endpoint describing the R-Car VIN connected to output port 5. 79 78 80 port@7: 79 port@7: 81 $ref: /schemas/graph.yaml#/properties/ 80 $ref: /schemas/graph.yaml#/properties/port 82 description: 81 description: 83 Single endpoint describing the R-Car 82 Single endpoint describing the R-Car VIN connected to output port 6. 84 83 85 port@8: 84 port@8: 86 $ref: /schemas/graph.yaml#/properties/ 85 $ref: /schemas/graph.yaml#/properties/port 87 description: 86 description: 88 Single endpoint describing the R-Car 87 Single endpoint describing the R-Car VIN connected to output port 7. 89 88 90 required: 89 required: 91 - port@0 90 - port@0 92 - port@1 91 - port@1 93 - port@2 92 - port@2 94 - port@3 93 - port@3 95 - port@4 94 - port@4 96 - port@5 95 - port@5 97 - port@6 96 - port@6 98 - port@7 97 - port@7 99 - port@8 98 - port@8 100 99 101 required: 100 required: 102 - compatible 101 - compatible 103 - reg 102 - reg 104 - interrupts 103 - interrupts 105 - clocks 104 - clocks 106 - power-domains 105 - power-domains 107 - resets 106 - resets 108 - ports 107 - ports 109 108 110 additionalProperties: false 109 additionalProperties: false 111 110 112 examples: 111 examples: 113 - | 112 - | 114 #include <dt-bindings/clock/r8a779a0-cpg-m 113 #include <dt-bindings/clock/r8a779a0-cpg-mssr.h> 115 #include <dt-bindings/interrupt-controller 114 #include <dt-bindings/interrupt-controller/arm-gic.h> 116 #include <dt-bindings/power/r8a779a0-sysc. 115 #include <dt-bindings/power/r8a779a0-sysc.h> 117 116 118 isp1: isp@fed20000 { 117 isp1: isp@fed20000 { 119 compatible = "renesas,r8a779a0-isp 118 compatible = "renesas,r8a779a0-isp"; 120 reg = <0xfed20000 0x10000>; 119 reg = <0xfed20000 0x10000>; 121 interrupts = <GIC_SPI 155 IRQ_TYPE 120 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 122 clocks = <&cpg CPG_MOD 613>; 121 clocks = <&cpg CPG_MOD 613>; 123 power-domains = <&sysc R8A779A0_PD 122 power-domains = <&sysc R8A779A0_PD_A3ISP01>; 124 resets = <&cpg 613>; 123 resets = <&cpg 613>; 125 124 126 ports { 125 ports { 127 #address-cells = <1>; 126 #address-cells = <1>; 128 #size-cells = <0>; 127 #size-cells = <0>; 129 128 130 port@0 { 129 port@0 { 131 #address-cells = < 130 #address-cells = <1>; 132 #size-cells = <0>; 131 #size-cells = <0>; 133 132 134 reg = <0>; 133 reg = <0>; 135 isp1csi41: endpoin 134 isp1csi41: endpoint@1 { 136 reg = <1>; 135 reg = <1>; 137 remote-end 136 remote-endpoint = <&csi41isp1>; 138 }; 137 }; 139 }; 138 }; 140 139 141 port@1 { 140 port@1 { 142 reg = <1>; 141 reg = <1>; 143 isp1vin08: endpoin 142 isp1vin08: endpoint { 144 remote-end 143 remote-endpoint = <&vin08isp1>; 145 }; 144 }; 146 }; 145 }; 147 146 148 port@2 { 147 port@2 { 149 reg = <2>; 148 reg = <2>; 150 isp1vin09: endpoin 149 isp1vin09: endpoint { 151 remote-end 150 remote-endpoint = <&vin09isp1>; 152 }; 151 }; 153 }; 152 }; 154 153 155 port@3 { 154 port@3 { 156 reg = <3>; 155 reg = <3>; 157 isp1vin10: endpoin 156 isp1vin10: endpoint { 158 remote-end 157 remote-endpoint = <&vin10isp1>; 159 }; 158 }; 160 }; 159 }; 161 160 162 port@4 { 161 port@4 { 163 reg = <4>; 162 reg = <4>; 164 isp1vin11: endpoin 163 isp1vin11: endpoint { 165 remote-end 164 remote-endpoint = <&vin11isp1>; 166 }; 165 }; 167 }; 166 }; 168 167 169 port@5 { 168 port@5 { 170 reg = <5>; 169 reg = <5>; 171 isp1vin12: endpoin 170 isp1vin12: endpoint { 172 remote-end 171 remote-endpoint = <&vin12isp1>; 173 }; 172 }; 174 }; 173 }; 175 174 176 port@6 { 175 port@6 { 177 reg = <6>; 176 reg = <6>; 178 isp1vin13: endpoin 177 isp1vin13: endpoint { 179 remote-end 178 remote-endpoint = <&vin13isp1>; 180 }; 179 }; 181 }; 180 }; 182 181 183 port@7 { 182 port@7 { 184 reg = <7>; 183 reg = <7>; 185 isp1vin14: endpoin 184 isp1vin14: endpoint { 186 remote-end 185 remote-endpoint = <&vin14isp1>; 187 }; 186 }; 188 }; 187 }; 189 188 190 port@8 { 189 port@8 { 191 reg = <8>; 190 reg = <8>; 192 isp1vin15: endpoin 191 isp1vin15: endpoint { 193 remote-end 192 remote-endpoint = <&vin15isp1>; 194 }; 193 }; 195 }; 194 }; 196 }; 195 }; 197 }; 196 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.