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 24 - renesas,r8a779g0-isp # V4H 25 reg: 25 reg: 26 maxItems: 1 26 maxItems: 1 27 27 28 interrupts: 28 interrupts: 29 maxItems: 1 29 maxItems: 1 30 30 31 clocks: 31 clocks: 32 maxItems: 1 32 maxItems: 1 33 33 34 power-domains: 34 power-domains: 35 maxItems: 1 35 maxItems: 1 36 36 37 resets: 37 resets: 38 maxItems: 1 38 maxItems: 1 39 39 40 ports: 40 ports: 41 $ref: /schemas/graph.yaml#/properties/port 41 $ref: /schemas/graph.yaml#/properties/ports 42 42 43 properties: 43 properties: 44 port@0: 44 port@0: 45 $ref: /schemas/graph.yaml#/properties/ 45 $ref: /schemas/graph.yaml#/properties/port 46 description: 46 description: 47 Input port node, multiple endpoints 47 Input port node, multiple endpoints describing the connected R-Car 48 CSI-2 receivers. 48 CSI-2 receivers. 49 49 50 port@1: 50 port@1: 51 $ref: /schemas/graph.yaml#/properties/ 51 $ref: /schemas/graph.yaml#/properties/port 52 description: 52 description: 53 Single endpoint describing the R-Car 53 Single endpoint describing the R-Car VIN connected to output port 0. 54 54 55 port@2: 55 port@2: 56 $ref: /schemas/graph.yaml#/properties/ 56 $ref: /schemas/graph.yaml#/properties/port 57 description: 57 description: 58 Single endpoint describing the R-Car 58 Single endpoint describing the R-Car VIN connected to output port 1. 59 59 60 port@3: 60 port@3: 61 $ref: /schemas/graph.yaml#/properties/ 61 $ref: /schemas/graph.yaml#/properties/port 62 description: 62 description: 63 Single endpoint describing the R-Car 63 Single endpoint describing the R-Car VIN connected to output port 2. 64 64 65 port@4: 65 port@4: 66 $ref: /schemas/graph.yaml#/properties/ 66 $ref: /schemas/graph.yaml#/properties/port 67 description: 67 description: 68 Single endpoint describing the R-Car 68 Single endpoint describing the R-Car VIN connected to output port 3. 69 69 70 port@5: 70 port@5: 71 $ref: /schemas/graph.yaml#/properties/ 71 $ref: /schemas/graph.yaml#/properties/port 72 description: 72 description: 73 Single endpoint describing the R-Car 73 Single endpoint describing the R-Car VIN connected to output port 4. 74 74 75 port@6: 75 port@6: 76 $ref: /schemas/graph.yaml#/properties/ 76 $ref: /schemas/graph.yaml#/properties/port 77 description: 77 description: 78 Single endpoint describing the R-Car 78 Single endpoint describing the R-Car VIN connected to output port 5. 79 79 80 port@7: 80 port@7: 81 $ref: /schemas/graph.yaml#/properties/ 81 $ref: /schemas/graph.yaml#/properties/port 82 description: 82 description: 83 Single endpoint describing the R-Car 83 Single endpoint describing the R-Car VIN connected to output port 6. 84 84 85 port@8: 85 port@8: 86 $ref: /schemas/graph.yaml#/properties/ 86 $ref: /schemas/graph.yaml#/properties/port 87 description: 87 description: 88 Single endpoint describing the R-Car 88 Single endpoint describing the R-Car VIN connected to output port 7. 89 89 90 required: 90 required: 91 - port@0 91 - port@0 92 - port@1 92 - port@1 93 - port@2 93 - port@2 94 - port@3 94 - port@3 95 - port@4 95 - port@4 96 - port@5 96 - port@5 97 - port@6 97 - port@6 98 - port@7 98 - port@7 99 - port@8 99 - port@8 100 100 101 required: 101 required: 102 - compatible 102 - compatible 103 - reg 103 - reg 104 - interrupts 104 - interrupts 105 - clocks 105 - clocks 106 - power-domains 106 - power-domains 107 - resets 107 - resets 108 - ports 108 - ports 109 109 110 additionalProperties: false 110 additionalProperties: false 111 111 112 examples: 112 examples: 113 - | 113 - | 114 #include <dt-bindings/clock/r8a779a0-cpg-m 114 #include <dt-bindings/clock/r8a779a0-cpg-mssr.h> 115 #include <dt-bindings/interrupt-controller 115 #include <dt-bindings/interrupt-controller/arm-gic.h> 116 #include <dt-bindings/power/r8a779a0-sysc. 116 #include <dt-bindings/power/r8a779a0-sysc.h> 117 117 118 isp1: isp@fed20000 { 118 isp1: isp@fed20000 { 119 compatible = "renesas,r8a779a0-isp 119 compatible = "renesas,r8a779a0-isp"; 120 reg = <0xfed20000 0x10000>; 120 reg = <0xfed20000 0x10000>; 121 interrupts = <GIC_SPI 155 IRQ_TYPE 121 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 122 clocks = <&cpg CPG_MOD 613>; 122 clocks = <&cpg CPG_MOD 613>; 123 power-domains = <&sysc R8A779A0_PD 123 power-domains = <&sysc R8A779A0_PD_A3ISP01>; 124 resets = <&cpg 613>; 124 resets = <&cpg 613>; 125 125 126 ports { 126 ports { 127 #address-cells = <1>; 127 #address-cells = <1>; 128 #size-cells = <0>; 128 #size-cells = <0>; 129 129 130 port@0 { 130 port@0 { 131 #address-cells = < 131 #address-cells = <1>; 132 #size-cells = <0>; 132 #size-cells = <0>; 133 133 134 reg = <0>; 134 reg = <0>; 135 isp1csi41: endpoin 135 isp1csi41: endpoint@1 { 136 reg = <1>; 136 reg = <1>; 137 remote-end 137 remote-endpoint = <&csi41isp1>; 138 }; 138 }; 139 }; 139 }; 140 140 141 port@1 { 141 port@1 { 142 reg = <1>; 142 reg = <1>; 143 isp1vin08: endpoin 143 isp1vin08: endpoint { 144 remote-end 144 remote-endpoint = <&vin08isp1>; 145 }; 145 }; 146 }; 146 }; 147 147 148 port@2 { 148 port@2 { 149 reg = <2>; 149 reg = <2>; 150 isp1vin09: endpoin 150 isp1vin09: endpoint { 151 remote-end 151 remote-endpoint = <&vin09isp1>; 152 }; 152 }; 153 }; 153 }; 154 154 155 port@3 { 155 port@3 { 156 reg = <3>; 156 reg = <3>; 157 isp1vin10: endpoin 157 isp1vin10: endpoint { 158 remote-end 158 remote-endpoint = <&vin10isp1>; 159 }; 159 }; 160 }; 160 }; 161 161 162 port@4 { 162 port@4 { 163 reg = <4>; 163 reg = <4>; 164 isp1vin11: endpoin 164 isp1vin11: endpoint { 165 remote-end 165 remote-endpoint = <&vin11isp1>; 166 }; 166 }; 167 }; 167 }; 168 168 169 port@5 { 169 port@5 { 170 reg = <5>; 170 reg = <5>; 171 isp1vin12: endpoin 171 isp1vin12: endpoint { 172 remote-end 172 remote-endpoint = <&vin12isp1>; 173 }; 173 }; 174 }; 174 }; 175 175 176 port@6 { 176 port@6 { 177 reg = <6>; 177 reg = <6>; 178 isp1vin13: endpoin 178 isp1vin13: endpoint { 179 remote-end 179 remote-endpoint = <&vin13isp1>; 180 }; 180 }; 181 }; 181 }; 182 182 183 port@7 { 183 port@7 { 184 reg = <7>; 184 reg = <7>; 185 isp1vin14: endpoin 185 isp1vin14: endpoint { 186 remote-end 186 remote-endpoint = <&vin14isp1>; 187 }; 187 }; 188 }; 188 }; 189 189 190 port@8 { 190 port@8 { 191 reg = <8>; 191 reg = <8>; 192 isp1vin15: endpoin 192 isp1vin15: endpoint { 193 remote-end 193 remote-endpoint = <&vin15isp1>; 194 }; 194 }; 195 }; 195 }; 196 }; 196 }; 197 }; 197 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.