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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.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-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/display/bridge/renesas,dsi-csi2-tx.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Renesas R-Car MIPI DSI/CSI-2 Encoder
  8 
  9 maintainers:
 10   - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
 11 
 12 description: |
 13   This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas
 14   R-Car Gen4 SoCs. The encoder can operate in either DSI or CSI-2 mode, with up
 15   to four data lanes.
 16 
 17 properties:
 18   compatible:
 19     enum:
 20       - renesas,r8a779a0-dsi-csi2-tx    # for V3U
 21       - renesas,r8a779g0-dsi-csi2-tx    # for V4H
 22 
 23   reg:
 24     maxItems: 1
 25 
 26   clocks:
 27     items:
 28       - description: Functional clock
 29       - description: DSI (and CSI-2) functional clock
 30       - description: PLL reference clock
 31 
 32   clock-names:
 33     items:
 34       - const: fck
 35       - const: dsi
 36       - const: pll
 37 
 38   power-domains:
 39     maxItems: 1
 40 
 41   resets:
 42     maxItems: 1
 43 
 44   ports:
 45     $ref: /schemas/graph.yaml#/properties/ports
 46 
 47     properties:
 48       port@0:
 49         $ref: /schemas/graph.yaml#/properties/port
 50         description: Parallel input port
 51 
 52       port@1:
 53         $ref: /schemas/graph.yaml#/$defs/port-base
 54         unevaluatedProperties: false
 55         description: DSI/CSI-2 output port
 56 
 57         properties:
 58           endpoint:
 59             $ref: /schemas/media/video-interfaces.yaml#
 60             unevaluatedProperties: false
 61 
 62             properties:
 63               data-lanes:
 64                 minItems: 1
 65                 maxItems: 4
 66 
 67             required:
 68               - data-lanes
 69 
 70     required:
 71       - port@0
 72       - port@1
 73 
 74 required:
 75   - compatible
 76   - reg
 77   - clocks
 78   - power-domains
 79   - resets
 80   - ports
 81 
 82 additionalProperties: false
 83 
 84 examples:
 85   - |
 86     #include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
 87     #include <dt-bindings/power/r8a779a0-sysc.h>
 88 
 89     dsi0: dsi-encoder@fed80000 {
 90         compatible = "renesas,r8a779a0-dsi-csi2-tx";
 91         reg = <0xfed80000 0x10000>;
 92         power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
 93         clocks = <&cpg CPG_MOD 415>,
 94                  <&cpg CPG_CORE R8A779A0_CLK_DSI>,
 95                  <&cpg CPG_CORE R8A779A0_CLK_CP>;
 96         clock-names = "fck", "dsi", "pll";
 97         resets = <&cpg 415>;
 98 
 99         ports {
100             #address-cells = <1>;
101             #size-cells = <0>;
102 
103             port@0 {
104                 reg = <0>;
105                 dsi0_in: endpoint {
106                     remote-endpoint = <&du_out_dsi0>;
107                 };
108             };
109 
110             port@1 {
111                 reg = <1>;
112                 dsi0_out: endpoint {
113                     data-lanes = <1 2>;
114                     remote-endpoint = <&sn65dsi86_in>;
115                 };
116             };
117         };
118     };
119 ...

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