Path: blob/master/Documentation/devicetree/bindings/display/bridge/cdns,dsi.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/bridge/cdns,dsi.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Cadence DSI bridge78maintainers:9- Boris Brezillon <boris.brezillon@bootlin.com>1011description: |12CDNS DSI is a bridge device which converts DPI to DSI1314properties:15compatible:16enum:17- cdns,dsi18- ti,j721e-dsi1920reg:21minItems: 122items:23- description:24Register block for controller's registers.25- description:26Register block for wrapper settings registers in case of TI J7 SoCs.2728clocks:29items:30- description: PSM clock, used by the IP31- description: sys clock, used by the IP3233clock-names:34items:35- const: dsi_p_clk36- const: dsi_sys_clk3738phys:39maxItems: 14041phy-names:42const: dphy4344interrupts:45maxItems: 14647resets:48maxItems: 14950reset-names:51const: dsi_p_rst5253ports:54$ref: /schemas/graph.yaml#/properties/ports5556properties:57port@0:58$ref: /schemas/graph.yaml#/properties/port59description:60Output port representing the DSI output. It can have61at most 4 endpoints. The endpoint number is directly encoding62the DSI virtual channel used by this device.6364port@1:65$ref: /schemas/graph.yaml#/properties/port66description:67Input port representing the DPI input.6869required:70- port@17172allOf:73- $ref: ../dsi-controller.yaml#7475- if:76properties:77compatible:78contains:79const: ti,j721e-dsi80then:81properties:82reg:83minItems: 284maxItems: 285power-domains:86maxItems: 187else:88properties:89reg:90maxItems: 19192required:93- compatible94- reg95- interrupts96- clocks97- clock-names98- phys99- phy-names100- ports101102unevaluatedProperties: false103104examples:105- |106bus {107#address-cells = <2>;108#size-cells = <2>;109110dsi@fd0c0000 {111compatible = "cdns,dsi";112reg = <0x0 0xfd0c0000 0x0 0x1000>;113clocks = <&pclk>, <&sysclk>;114clock-names = "dsi_p_clk", "dsi_sys_clk";115interrupts = <1>;116phys = <&dphy0>;117phy-names = "dphy";118119#address-cells = <1>;120#size-cells = <0>;121122ports {123#address-cells = <1>;124#size-cells = <0>;125126port@1 {127reg = <1>;128endpoint {129remote-endpoint = <&xxx_dpi_output>;130};131};132};133134panel@0 {135compatible = "panasonic,vvx10f034n00";136reg = <0>;137power-supply = <&vcc_lcd_reg>;138};139};140};141142- |143bus {144#address-cells = <2>;145#size-cells = <2>;146147dsi@fd0c0000 {148compatible = "cdns,dsi";149reg = <0x0 0xfd0c0000 0x0 0x1000>;150clocks = <&pclk>, <&sysclk>;151clock-names = "dsi_p_clk", "dsi_sys_clk";152interrupts = <1>;153phys = <&dphy1>;154phy-names = "dphy";155156ports {157#address-cells = <1>;158#size-cells = <0>;159160port@0 {161reg = <0>;162#address-cells = <1>;163#size-cells = <0>;164165endpoint@0 {166reg = <0>;167remote-endpoint = <&dsi_panel_input>;168};169};170171port@1 {172reg = <1>;173endpoint {174remote-endpoint = <&xxx_dpi_output>;175};176};177};178};179};180181182