1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/bri 4 $id: http://devicetree.org/schemas/display/bridge/cdns,dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Cadence DSI bridge 7 title: Cadence DSI bridge 8 8 9 maintainers: 9 maintainers: 10 - Boris Brezillon <boris.brezillon@bootlin.co 10 - Boris Brezillon <boris.brezillon@bootlin.com> 11 11 12 description: | 12 description: | 13 CDNS DSI is a bridge device which converts 13 CDNS DSI is a bridge device which converts DPI to DSI 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - cdns,dsi 18 - cdns,dsi 19 - ti,j721e-dsi 19 - ti,j721e-dsi 20 20 21 reg: 21 reg: 22 minItems: 1 22 minItems: 1 23 items: 23 items: 24 - description: 24 - description: 25 Register block for controller's regi 25 Register block for controller's registers. 26 - description: 26 - description: 27 Register block for wrapper settings 27 Register block for wrapper settings registers in case of TI J7 SoCs. 28 28 29 clocks: 29 clocks: 30 items: 30 items: 31 - description: PSM clock, used by the IP 31 - description: PSM clock, used by the IP 32 - description: sys clock, used by the IP 32 - description: sys clock, used by the IP 33 33 34 clock-names: 34 clock-names: 35 items: 35 items: 36 - const: dsi_p_clk 36 - const: dsi_p_clk 37 - const: dsi_sys_clk 37 - const: dsi_sys_clk 38 38 39 phys: 39 phys: 40 maxItems: 1 40 maxItems: 1 41 41 42 phy-names: 42 phy-names: 43 const: dphy 43 const: dphy 44 44 45 interrupts: 45 interrupts: 46 maxItems: 1 46 maxItems: 1 47 47 48 resets: 48 resets: 49 maxItems: 1 49 maxItems: 1 50 50 51 reset-names: 51 reset-names: 52 const: dsi_p_rst 52 const: dsi_p_rst 53 53 54 ports: 54 ports: 55 $ref: /schemas/graph.yaml#/properties/port 55 $ref: /schemas/graph.yaml#/properties/ports 56 56 57 properties: 57 properties: 58 port@0: 58 port@0: 59 $ref: /schemas/graph.yaml#/properties/ 59 $ref: /schemas/graph.yaml#/properties/port 60 description: 60 description: 61 Output port representing the DSI out 61 Output port representing the DSI output. It can have 62 at most 4 endpoints. The endpoint nu 62 at most 4 endpoints. The endpoint number is directly encoding 63 the DSI virtual channel used by this 63 the DSI virtual channel used by this device. 64 64 65 port@1: 65 port@1: 66 $ref: /schemas/graph.yaml#/properties/ 66 $ref: /schemas/graph.yaml#/properties/port 67 description: 67 description: 68 Input port representing the DPI inpu 68 Input port representing the DPI input. 69 69 70 required: 70 required: 71 - port@1 71 - port@1 72 72 73 allOf: 73 allOf: 74 - $ref: ../dsi-controller.yaml# 74 - $ref: ../dsi-controller.yaml# 75 75 76 - if: 76 - if: 77 properties: 77 properties: 78 compatible: 78 compatible: 79 contains: 79 contains: 80 const: ti,j721e-dsi 80 const: ti,j721e-dsi 81 then: 81 then: 82 properties: 82 properties: 83 reg: 83 reg: 84 minItems: 2 84 minItems: 2 85 maxItems: 2 85 maxItems: 2 86 power-domains: 86 power-domains: 87 maxItems: 1 87 maxItems: 1 88 else: 88 else: 89 properties: 89 properties: 90 reg: 90 reg: 91 maxItems: 1 91 maxItems: 1 92 92 93 required: 93 required: 94 - compatible 94 - compatible 95 - reg 95 - reg 96 - interrupts 96 - interrupts 97 - clocks 97 - clocks 98 - clock-names 98 - clock-names 99 - phys 99 - phys 100 - phy-names 100 - phy-names 101 - ports 101 - ports 102 102 103 unevaluatedProperties: false 103 unevaluatedProperties: false 104 104 105 examples: 105 examples: 106 - | 106 - | 107 bus { 107 bus { 108 #address-cells = <2>; 108 #address-cells = <2>; 109 #size-cells = <2>; 109 #size-cells = <2>; 110 110 111 dsi@fd0c0000 { 111 dsi@fd0c0000 { 112 compatible = "cdns,dsi"; 112 compatible = "cdns,dsi"; 113 reg = <0x0 0xfd0c0000 0x0 0x1000>; 113 reg = <0x0 0xfd0c0000 0x0 0x1000>; 114 clocks = <&pclk>, <&sysclk>; 114 clocks = <&pclk>, <&sysclk>; 115 clock-names = "dsi_p_clk", "dsi_sy 115 clock-names = "dsi_p_clk", "dsi_sys_clk"; 116 interrupts = <1>; 116 interrupts = <1>; 117 phys = <&dphy0>; 117 phys = <&dphy0>; 118 phy-names = "dphy"; 118 phy-names = "dphy"; 119 119 120 #address-cells = <1>; 120 #address-cells = <1>; 121 #size-cells = <0>; 121 #size-cells = <0>; 122 122 123 ports { 123 ports { 124 #address-cells = <1>; 124 #address-cells = <1>; 125 #size-cells = <0>; 125 #size-cells = <0>; 126 126 127 port@1 { 127 port@1 { 128 reg = <1>; 128 reg = <1>; 129 endpoint { 129 endpoint { 130 remote-endpoint = <&xx 130 remote-endpoint = <&xxx_dpi_output>; 131 }; 131 }; 132 }; 132 }; 133 }; 133 }; 134 134 135 panel@0 { 135 panel@0 { 136 compatible = "panasonic,vvx10f 136 compatible = "panasonic,vvx10f034n00"; 137 reg = <0>; 137 reg = <0>; 138 power-supply = <&vcc_lcd_reg>; 138 power-supply = <&vcc_lcd_reg>; 139 }; 139 }; 140 }; 140 }; 141 }; 141 }; 142 142 143 - | 143 - | 144 bus { 144 bus { 145 #address-cells = <2>; 145 #address-cells = <2>; 146 #size-cells = <2>; 146 #size-cells = <2>; 147 147 148 dsi@fd0c0000 { 148 dsi@fd0c0000 { 149 compatible = "cdns,dsi"; 149 compatible = "cdns,dsi"; 150 reg = <0x0 0xfd0c0000 0x0 0x1000>; 150 reg = <0x0 0xfd0c0000 0x0 0x1000>; 151 clocks = <&pclk>, <&sysclk>; 151 clocks = <&pclk>, <&sysclk>; 152 clock-names = "dsi_p_clk", "dsi_sy 152 clock-names = "dsi_p_clk", "dsi_sys_clk"; 153 interrupts = <1>; 153 interrupts = <1>; 154 phys = <&dphy1>; 154 phys = <&dphy1>; 155 phy-names = "dphy"; 155 phy-names = "dphy"; 156 156 157 ports { 157 ports { 158 #address-cells = <1>; 158 #address-cells = <1>; 159 #size-cells = <0>; 159 #size-cells = <0>; 160 160 161 port@0 { 161 port@0 { 162 reg = <0>; 162 reg = <0>; 163 #address-cells = <1>; 163 #address-cells = <1>; 164 #size-cells = <0>; 164 #size-cells = <0>; 165 165 166 endpoint@0 { 166 endpoint@0 { 167 reg = <0>; 167 reg = <0>; 168 remote-endpoint = <&ds 168 remote-endpoint = <&dsi_panel_input>; 169 }; 169 }; 170 }; 170 }; 171 171 172 port@1 { 172 port@1 { 173 reg = <1>; 173 reg = <1>; 174 endpoint { 174 endpoint { 175 remote-endpoint = <&xx 175 remote-endpoint = <&xxx_dpi_output>; 176 }; 176 }; 177 }; 177 }; 178 }; 178 }; 179 }; 179 }; 180 }; 180 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.