~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/renesas,rzg2l-cru.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 # Copyright (C) 2022 Renesas Electronics Corp.
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/media/renesas,rzg2l-cru.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: Renesas RZ/G2L (and alike SoC's) Camera Data Receiving Unit (CRU) Image processing
  9 
 10 maintainers:
 11   - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
 12 
 13 description:
 14   The CRU image processing module is a data conversion module equipped with pixel
 15   color space conversion, LUT, pixel format conversion, etc. An MIPI CSI-2 input and
 16   parallel (including ITU-R BT.656) input are provided as the image sensor interface.
 17 
 18 properties:
 19   compatible:
 20     items:
 21       - enum:
 22           - renesas,r9a07g043-cru       # RZ/G2UL
 23           - renesas,r9a07g044-cru       # RZ/G2{L,LC}
 24           - renesas,r9a07g054-cru       # RZ/V2L
 25       - const: renesas,rzg2l-cru
 26 
 27   reg:
 28     maxItems: 1
 29 
 30   interrupts:
 31     maxItems: 3
 32 
 33   interrupt-names:
 34     items:
 35       - const: image_conv
 36       - const: image_conv_err
 37       - const: axi_mst_err
 38 
 39   clocks:
 40     items:
 41       - description: CRU Main clock
 42       - description: CRU Register access clock
 43       - description: CRU image transfer clock
 44 
 45   clock-names:
 46     items:
 47       - const: video
 48       - const: apb
 49       - const: axi
 50 
 51   power-domains:
 52     maxItems: 1
 53 
 54   resets:
 55     items:
 56       - description: CRU_PRESETN reset terminal
 57       - description: CRU_ARESETN reset terminal
 58 
 59   reset-names:
 60     items:
 61       - const: presetn
 62       - const: aresetn
 63 
 64   ports:
 65     $ref: /schemas/graph.yaml#/properties/ports
 66 
 67     properties:
 68       port@0:
 69         $ref: /schemas/graph.yaml#/$defs/port-base
 70         unevaluatedProperties: false
 71         description:
 72           Input port node, single endpoint describing a parallel input source.
 73 
 74         properties:
 75           endpoint:
 76             $ref: video-interfaces.yaml#
 77             unevaluatedProperties: false
 78 
 79             properties:
 80               hsync-active: true
 81               vsync-active: true
 82               bus-width: true
 83               data-shift: true
 84 
 85       port@1:
 86         $ref: /schemas/graph.yaml#/properties/port
 87         description:
 88           Input port node, describing the Image Processing module connected to the
 89           CSI-2 receiver.
 90 
 91 required:
 92   - compatible
 93   - reg
 94   - interrupts
 95   - interrupt-names
 96   - clocks
 97   - clock-names
 98   - resets
 99   - reset-names
100   - power-domains
101 
102 allOf:
103   - if:
104       properties:
105         compatible:
106           contains:
107             enum:
108               - renesas,r9a07g044-cru
109               - renesas,r9a07g054-cru
110     then:
111       properties:
112         ports:
113           required:
114             - port@0
115             - port@1
116 
117   - if:
118       properties:
119         compatible:
120           contains:
121             enum:
122               - renesas,r9a07g043-cru
123     then:
124       properties:
125         ports:
126           properties:
127             port@0: false
128 
129           required:
130             - port@1
131 
132 additionalProperties: false
133 
134 examples:
135   # Device node example with CSI-2
136   - |
137     #include <dt-bindings/clock/r9a07g044-cpg.h>
138     #include <dt-bindings/interrupt-controller/arm-gic.h>
139 
140     cru: video@10830000 {
141         compatible = "renesas,r9a07g044-cru", "renesas,rzg2l-cru";
142         reg = <0x10830000 0x400>;
143         interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
144                      <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
145                      <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
146         interrupt-names = "image_conv", "image_conv_err", "axi_mst_err";
147         clocks = <&cpg CPG_MOD R9A07G044_CRU_VCLK>,
148                  <&cpg CPG_MOD R9A07G044_CRU_PCLK>,
149                  <&cpg CPG_MOD R9A07G044_CRU_ACLK>;
150         clock-names = "video", "apb", "axi";
151         power-domains = <&cpg>;
152         resets = <&cpg R9A07G044_CRU_PRESETN>,
153                  <&cpg R9A07G044_CRU_ARESETN>;
154         reset-names = "presetn", "aresetn";
155 
156         ports {
157             #address-cells = <1>;
158             #size-cells = <0>;
159 
160             port@0 {
161                 #address-cells = <1>;
162                 #size-cells = <0>;
163                 reg = <0>;
164 
165                 cru_parallel_in: endpoint@0 {
166                     reg = <0>;
167                     remote-endpoint = <&ov5642>;
168                     hsync-active = <1>;
169                     vsync-active = <1>;
170                 };
171             };
172 
173             port@1 {
174                 #address-cells = <1>;
175                 #size-cells = <0>;
176                 reg = <1>;
177 
178                 cru_csi_in: endpoint@0 {
179                     reg = <0>;
180                     remote-endpoint = <&csi_cru_in>;
181                 };
182             };
183         };
184     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php