Path: blob/main/sys/contrib/device-tree/Bindings/display/bridge/renesas,dsi-csi2-tx.yaml
48406 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/bridge/renesas,dsi-csi2-tx.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Renesas R-Car MIPI DSI/CSI-2 Encoder78maintainers:9- Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>1011description: |12This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas13R-Car Gen4 SoCs. The encoder can operate in either DSI or CSI-2 mode, with up14to four data lanes.1516properties:17compatible:18enum:19- renesas,r8a779a0-dsi-csi2-tx # for V3U20- renesas,r8a779g0-dsi-csi2-tx # for V4H2122reg:23maxItems: 12425clocks:26items:27- description: Functional clock28- description: DSI (and CSI-2) functional clock29- description: PLL reference clock3031clock-names:32items:33- const: fck34- const: dsi35- const: pll3637power-domains:38maxItems: 13940resets:41maxItems: 14243ports:44$ref: /schemas/graph.yaml#/properties/ports4546properties:47port@0:48$ref: /schemas/graph.yaml#/properties/port49description: Parallel input port5051port@1:52$ref: /schemas/graph.yaml#/$defs/port-base53unevaluatedProperties: false54description: DSI/CSI-2 output port5556properties:57endpoint:58$ref: /schemas/media/video-interfaces.yaml#59unevaluatedProperties: false6061properties:62data-lanes:63minItems: 164maxItems: 46566required:67- data-lanes6869required:70- port@071- port@17273required:74- compatible75- reg76- clocks77- power-domains78- resets79- ports8081additionalProperties: false8283examples:84- |85#include <dt-bindings/clock/r8a779a0-cpg-mssr.h>86#include <dt-bindings/power/r8a779a0-sysc.h>8788dsi0: dsi-encoder@fed80000 {89compatible = "renesas,r8a779a0-dsi-csi2-tx";90reg = <0xfed80000 0x10000>;91power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;92clocks = <&cpg CPG_MOD 415>,93<&cpg CPG_CORE R8A779A0_CLK_DSI>,94<&cpg CPG_CORE R8A779A0_CLK_CP>;95clock-names = "fck", "dsi", "pll";96resets = <&cpg 415>;9798ports {99#address-cells = <1>;100#size-cells = <0>;101102port@0 {103reg = <0>;104dsi0_in: endpoint {105remote-endpoint = <&du_out_dsi0>;106};107};108109port@1 {110reg = <1>;111dsi0_out: endpoint {112data-lanes = <1 2>;113remote-endpoint = <&sn65dsi86_in>;114};115};116};117};118...119120121