Path: blob/master/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml
54021 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.1516allOf:17- $ref: /schemas/display/dsi-controller.yaml#1819properties:20compatible:21enum:22- renesas,r8a779a0-dsi-csi2-tx # for V3U23- renesas,r8a779g0-dsi-csi2-tx # for V4H24- renesas,r8a779h0-dsi-csi2-tx # for V4M2526reg:27maxItems: 12829clocks:30items:31- description: Functional clock32- description: DSI (and CSI-2) functional clock33- description: PLL reference clock3435clock-names:36items:37- const: fck38- const: dsi39- const: pll4041power-domains:42maxItems: 14344resets:45maxItems: 14647ports:48$ref: /schemas/graph.yaml#/properties/ports4950properties:51port@0:52$ref: /schemas/graph.yaml#/properties/port53description: Parallel input port5455port@1:56$ref: /schemas/graph.yaml#/$defs/port-base57unevaluatedProperties: false58description: DSI/CSI-2 output port5960properties:61endpoint:62$ref: /schemas/media/video-interfaces.yaml#63unevaluatedProperties: false6465properties:66data-lanes:67minItems: 168maxItems: 46970required:71- data-lanes7273required:74- port@075- port@17677required:78- compatible79- reg80- clocks81- power-domains82- resets83- ports8485unevaluatedProperties: false8687examples:88- |89#include <dt-bindings/clock/r8a779a0-cpg-mssr.h>90#include <dt-bindings/power/r8a779a0-sysc.h>9192dsi@fed80000 {93compatible = "renesas,r8a779a0-dsi-csi2-tx";94reg = <0xfed80000 0x10000>;95power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;96clocks = <&cpg CPG_MOD 415>,97<&cpg CPG_CORE R8A779A0_CLK_DSI>,98<&cpg CPG_CORE R8A779A0_CLK_CP>;99clock-names = "fck", "dsi", "pll";100resets = <&cpg 415>;101102ports {103#address-cells = <1>;104#size-cells = <0>;105106port@0 {107reg = <0>;108dsi0_in: endpoint {109remote-endpoint = <&du_out_dsi0>;110};111};112113port@1 {114reg = <1>;115dsi0_out: endpoint {116data-lanes = <1 2>;117remote-endpoint = <&sn65dsi86_in>;118};119};120};121};122123- |124#include <dt-bindings/clock/r8a779g0-cpg-mssr.h>125#include <dt-bindings/power/r8a779g0-sysc.h>126127dsi@fed80000 {128#address-cells = <1>;129#size-cells = <0>;130compatible = "renesas,r8a779g0-dsi-csi2-tx";131reg = <0xfed80000 0x10000>;132clocks = <&cpg CPG_MOD 415>,133<&cpg CPG_CORE R8A779G0_CLK_DSIEXT>,134<&cpg CPG_CORE R8A779G0_CLK_DSIREF>;135clock-names = "fck", "dsi", "pll";136power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;137resets = <&cpg 415>;138139ports {140#address-cells = <1>;141#size-cells = <0>;142143port@0 {144reg = <0>;145};146147port@1 {148reg = <1>;149150dsi0port1_out: endpoint {151remote-endpoint = <&panel_in>;152data-lanes = <1 2>;153};154};155};156157panel@0 {158reg = <0>;159compatible = "raspberrypi,dsi-7inch", "ilitek,ili9881c";160power-supply = <&vcc_lcd_reg>;161162port {163panel_in: endpoint {164remote-endpoint = <&dsi0port1_out>;165};166};167};168};169...170171172