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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/renesas,rzg2l-csi2.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-csi2.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: Renesas RZ/G2L (and alike SoC's) MIPI CSI-2 receiver
  9 
 10 maintainers:
 11   - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
 12 
 13 description:
 14   The CSI-2 receiver device provides MIPI CSI-2 capabilities for the Renesas RZ/G2L
 15   (and alike SoCs). MIPI CSI-2 is part of the CRU block which is used in conjunction
 16   with the Image Processing module, which provides the video capture capabilities.
 17 
 18 properties:
 19   compatible:
 20     items:
 21       - enum:
 22           - renesas,r9a07g043-csi2       # RZ/G2UL
 23           - renesas,r9a07g044-csi2       # RZ/G2{L,LC}
 24           - renesas,r9a07g054-csi2       # RZ/V2L
 25       - const: renesas,rzg2l-csi2
 26 
 27   reg:
 28     maxItems: 1
 29 
 30   interrupts:
 31     maxItems: 1
 32 
 33   clocks:
 34     items:
 35       - description: Internal clock for connecting CRU and MIPI
 36       - description: CRU Main clock
 37       - description: CRU Register access clock
 38 
 39   clock-names:
 40     items:
 41       - const: system
 42       - const: video
 43       - const: apb
 44 
 45   power-domains:
 46     maxItems: 1
 47 
 48   resets:
 49     items:
 50       - description: CRU_PRESETN reset terminal
 51       - description: CRU_CMN_RSTB reset terminal
 52 
 53   reset-names:
 54     items:
 55       - const: presetn
 56       - const: cmn-rstb
 57 
 58   ports:
 59     $ref: /schemas/graph.yaml#/properties/ports
 60 
 61     properties:
 62       port@0:
 63         $ref: /schemas/graph.yaml#/$defs/port-base
 64         unevaluatedProperties: false
 65         description:
 66           Input port node, single endpoint describing the CSI-2 transmitter.
 67 
 68         properties:
 69           endpoint:
 70             $ref: video-interfaces.yaml#
 71             unevaluatedProperties: false
 72 
 73             properties:
 74               data-lanes:
 75                 minItems: 1
 76                 maxItems: 4
 77                 items:
 78                   maximum: 4
 79 
 80             required:
 81               - clock-lanes
 82               - data-lanes
 83 
 84       port@1:
 85         $ref: /schemas/graph.yaml#/properties/port
 86         description:
 87           Output port node, Image Processing block connected to the CSI-2 receiver.
 88 
 89     required:
 90       - port@0
 91       - port@1
 92 
 93 required:
 94   - compatible
 95   - reg
 96   - interrupts
 97   - clocks
 98   - clock-names
 99   - power-domains
100   - resets
101   - reset-names
102   - ports
103 
104 additionalProperties: false
105 
106 examples:
107   - |
108     #include <dt-bindings/clock/r9a07g044-cpg.h>
109     #include <dt-bindings/interrupt-controller/arm-gic.h>
110 
111     csi: csi@10830400 {
112         compatible = "renesas,r9a07g044-csi2", "renesas,rzg2l-csi2";
113         reg = <0x10830400 0xfc00>;
114         interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
115         clocks = <&cpg CPG_MOD R9A07G044_CRU_SYSCLK>,
116                  <&cpg CPG_MOD R9A07G044_CRU_VCLK>,
117                  <&cpg CPG_MOD R9A07G044_CRU_PCLK>;
118         clock-names = "system", "video", "apb";
119         power-domains = <&cpg>;
120         resets = <&cpg R9A07G044_CRU_PRESETN>,
121                  <&cpg R9A07G044_CRU_CMN_RSTB>;
122         reset-names = "presetn", "cmn-rstb";
123 
124         ports {
125             #address-cells = <1>;
126             #size-cells = <0>;
127 
128             port@0 {
129                 reg = <0>;
130 
131                 csi2_in: endpoint {
132                     clock-lanes = <0>;
133                     data-lanes = <1 2>;
134                     remote-endpoint = <&ov5645_ep>;
135                 };
136             };
137 
138             port@1 {
139                 #address-cells = <1>;
140                 #size-cells = <0>;
141 
142                 reg = <1>;
143 
144                 csi2cru: endpoint@0 {
145                     reg = <0>;
146                     remote-endpoint = <&crucsi2>;
147                 };
148             };
149         };
150     };

~ [ 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