1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only 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/ti,sn65dsi83.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: SN65DSI83 and SN65DSI84 DSI to LVDS bri 7 title: SN65DSI83 and SN65DSI84 DSI to LVDS bridge chip 8 8 9 maintainers: 9 maintainers: 10 - Marek Vasut <marex@denx.de> 10 - Marek Vasut <marex@denx.de> 11 11 12 description: | 12 description: | 13 Texas Instruments SN65DSI83 1x Single-link M 13 Texas Instruments SN65DSI83 1x Single-link MIPI DSI 14 to 1x Single-link LVDS 14 to 1x Single-link LVDS 15 https://www.ti.com/lit/gpn/sn65dsi83 15 https://www.ti.com/lit/gpn/sn65dsi83 16 Texas Instruments SN65DSI84 1x Single-link M 16 Texas Instruments SN65DSI84 1x Single-link MIPI DSI 17 to 1x Dual-link or 2x Single-link LVDS 17 to 1x Dual-link or 2x Single-link LVDS 18 https://www.ti.com/lit/gpn/sn65dsi84 18 https://www.ti.com/lit/gpn/sn65dsi84 19 19 20 properties: 20 properties: 21 compatible: 21 compatible: 22 enum: 22 enum: 23 - ti,sn65dsi83 23 - ti,sn65dsi83 24 - ti,sn65dsi84 24 - ti,sn65dsi84 25 25 26 reg: 26 reg: 27 enum: 27 enum: 28 - 0x2c 28 - 0x2c 29 - 0x2d 29 - 0x2d 30 30 31 enable-gpios: 31 enable-gpios: 32 maxItems: 1 32 maxItems: 1 33 description: GPIO specifier for bridge_en 33 description: GPIO specifier for bridge_en pin (active high). 34 34 35 vcc-supply: 35 vcc-supply: 36 description: A 1.8V power supply (see regu 36 description: A 1.8V power supply (see regulator/regulator.yaml). 37 37 38 ports: 38 ports: 39 $ref: /schemas/graph.yaml#/properties/port 39 $ref: /schemas/graph.yaml#/properties/ports 40 40 41 properties: 41 properties: 42 port@0: 42 port@0: 43 $ref: /schemas/graph.yaml#/$defs/port- 43 $ref: /schemas/graph.yaml#/$defs/port-base 44 unevaluatedProperties: false 44 unevaluatedProperties: false 45 description: Video port for MIPI DSI C 45 description: Video port for MIPI DSI Channel-A input 46 46 47 properties: 47 properties: 48 endpoint: 48 endpoint: 49 $ref: /schemas/media/video-interfa 49 $ref: /schemas/media/video-interfaces.yaml# 50 unevaluatedProperties: false 50 unevaluatedProperties: false 51 51 52 properties: 52 properties: 53 data-lanes: 53 data-lanes: 54 description: array of physical 54 description: array of physical DSI data lane indexes. 55 minItems: 1 55 minItems: 1 56 items: 56 items: 57 - const: 1 57 - const: 1 58 - const: 2 58 - const: 2 59 - const: 3 59 - const: 3 60 - const: 4 60 - const: 4 61 61 62 port@1: 62 port@1: 63 $ref: /schemas/graph.yaml#/$defs/port- 63 $ref: /schemas/graph.yaml#/$defs/port-base 64 unevaluatedProperties: false 64 unevaluatedProperties: false 65 description: Video port for MIPI DSI C 65 description: Video port for MIPI DSI Channel-B input 66 66 67 properties: 67 properties: 68 endpoint: 68 endpoint: 69 $ref: /schemas/media/video-interfa 69 $ref: /schemas/media/video-interfaces.yaml# 70 unevaluatedProperties: false 70 unevaluatedProperties: false 71 71 72 properties: 72 properties: 73 data-lanes: 73 data-lanes: 74 description: array of physical 74 description: array of physical DSI data lane indexes. 75 minItems: 1 75 minItems: 1 76 items: 76 items: 77 - const: 1 77 - const: 1 78 - const: 2 78 - const: 2 79 - const: 3 79 - const: 3 80 - const: 4 80 - const: 4 81 81 82 port@2: 82 port@2: 83 $ref: /schemas/graph.yaml#/properties/ 83 $ref: /schemas/graph.yaml#/properties/port 84 description: Video port for LVDS Chann 84 description: Video port for LVDS Channel-A output (panel or bridge). 85 85 86 port@3: 86 port@3: 87 $ref: /schemas/graph.yaml#/properties/ 87 $ref: /schemas/graph.yaml#/properties/port 88 description: Video port for LVDS Chann 88 description: Video port for LVDS Channel-B output (panel or bridge). 89 89 90 required: 90 required: 91 - port@0 91 - port@0 92 - port@2 92 - port@2 93 93 94 required: 94 required: 95 - compatible 95 - compatible 96 - reg 96 - reg 97 - ports 97 - ports 98 98 99 allOf: 99 allOf: 100 - if: 100 - if: 101 properties: 101 properties: 102 compatible: 102 compatible: 103 contains: 103 contains: 104 const: ti,sn65dsi83 104 const: ti,sn65dsi83 105 then: 105 then: 106 properties: 106 properties: 107 ports: 107 ports: 108 properties: 108 properties: 109 port@1: false 109 port@1: false 110 port@3: false 110 port@3: false 111 111 112 - if: 112 - if: 113 properties: 113 properties: 114 compatible: 114 compatible: 115 contains: 115 contains: 116 const: ti,sn65dsi84 116 const: ti,sn65dsi84 117 then: 117 then: 118 properties: 118 properties: 119 ports: 119 ports: 120 properties: 120 properties: 121 port@1: false 121 port@1: false 122 122 123 additionalProperties: false 123 additionalProperties: false 124 124 125 examples: 125 examples: 126 - | 126 - | 127 #include <dt-bindings/gpio/gpio.h> 127 #include <dt-bindings/gpio/gpio.h> 128 128 129 i2c { 129 i2c { 130 #address-cells = <1>; 130 #address-cells = <1>; 131 #size-cells = <0>; 131 #size-cells = <0>; 132 132 133 bridge@2d { 133 bridge@2d { 134 compatible = "ti,sn65dsi83"; 134 compatible = "ti,sn65dsi83"; 135 reg = <0x2d>; 135 reg = <0x2d>; 136 136 137 enable-gpios = <&gpio2 1 GPIO_ACTI 137 enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; 138 vcc-supply = <®_sn65dsi83_1v8>; 138 vcc-supply = <®_sn65dsi83_1v8>; 139 139 140 ports { 140 ports { 141 #address-cells = <1>; 141 #address-cells = <1>; 142 #size-cells = <0>; 142 #size-cells = <0>; 143 143 144 port@0 { 144 port@0 { 145 reg = <0>; 145 reg = <0>; 146 146 147 endpoint { 147 endpoint { 148 remote-endpoint = <&ds 148 remote-endpoint = <&dsi0_out>; 149 data-lanes = <1 2 3 4> 149 data-lanes = <1 2 3 4>; 150 }; 150 }; 151 }; 151 }; 152 152 153 port@2 { 153 port@2 { 154 reg = <2>; 154 reg = <2>; 155 155 156 endpoint { 156 endpoint { 157 remote-endpoint = <&pa 157 remote-endpoint = <&panel_in_lvds>; 158 }; 158 }; 159 }; 159 }; 160 }; 160 }; 161 }; 161 }; 162 }; 162 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.