Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: drm/bridge: anx7625: describe Type-C connector

ANX7625 can be used to mux converted video stream with the USB signals
on a Type-C connector. Describe the optional connector subnode, make it
exclusive with the AUX bus and port@1 as it is impossible to have both
eDP panel and USB-C connector.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260121-anx7625-typec-v2-1-d14f31256a17@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

+97 -1
+97 -1
Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
··· 85 85 aux-bus: 86 86 $ref: /schemas/display/dp-aux-bus.yaml# 87 87 88 + connector: 89 + type: object 90 + $ref: /schemas/connector/usb-connector.yaml# 91 + unevaluatedProperties: false 92 + 88 93 ports: 89 94 $ref: /schemas/graph.yaml#/properties/ports 90 95 ··· 122 117 123 118 required: 124 119 - port@0 125 - - port@1 126 120 127 121 required: 128 122 - compatible ··· 130 126 - vdd18-supply 131 127 - vdd33-supply 132 128 - ports 129 + 130 + allOf: 131 + - if: 132 + required: 133 + - aux-bus 134 + - connector 135 + then: 136 + false 137 + 138 + - if: 139 + required: 140 + - connector 141 + then: 142 + properties: 143 + ports: 144 + properties: 145 + port@1: false 146 + else: 147 + properties: 148 + ports: 149 + required: 150 + - port@1 133 151 134 152 additionalProperties: false 135 153 ··· 206 180 panel_in: endpoint { 207 181 remote-endpoint = <&anx7625_out>; 208 182 }; 183 + }; 184 + }; 185 + }; 186 + }; 187 + }; 188 + - | 189 + #include <dt-bindings/gpio/gpio.h> 190 + 191 + i2c { 192 + #address-cells = <1>; 193 + #size-cells = <0>; 194 + 195 + encoder@58 { 196 + compatible = "analogix,anx7625"; 197 + reg = <0x58>; 198 + enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; 199 + reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; 200 + vdd10-supply = <&pp1000_mipibrdg>; 201 + vdd18-supply = <&pp1800_mipibrdg>; 202 + vdd33-supply = <&pp3300_mipibrdg>; 203 + analogix,audio-enable; 204 + analogix,lane0-swing = /bits/ 8 <0x14 0x54 0x64 0x74>; 205 + analogix,lane1-swing = /bits/ 8 <0x14 0x54 0x64 0x74>; 206 + 207 + connector { 208 + compatible = "usb-c-connector"; 209 + power-role = "dual"; 210 + data-role = "dual"; 211 + vbus-supply = <&vbus_reg>; 212 + 213 + ports { 214 + #address-cells = <1>; 215 + #size-cells = <0>; 216 + 217 + port@0 { 218 + reg = <0>; 219 + 220 + endpoint { 221 + remote-endpoint = <&usb_hs>; 222 + }; 223 + }; 224 + 225 + port@1 { 226 + reg = <1>; 227 + 228 + endpoint { 229 + remote-endpoint = <&usb_ss>; 230 + }; 231 + }; 232 + 233 + port@2 { 234 + reg = <2>; 235 + 236 + endpoint { 237 + remote-endpoint = <&usb_sbu>; 238 + }; 239 + }; 240 + }; 241 + }; 242 + 243 + ports { 244 + #address-cells = <1>; 245 + #size-cells = <0>; 246 + 247 + port@0 { 248 + reg = <0>; 249 + endpoint { 250 + remote-endpoint = <&mipi_dsi>; 251 + bus-type = <7>; 252 + data-lanes = <0 1 2 3>; 209 253 }; 210 254 }; 211 255 };