Skip to content

Commit 3bad7fe

Browse files
superna9999vinodkoul
authored andcommitted
dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp: Reference usb-switch.yaml to allow mode-switch
The QMP USB3/DP Combo PHY can work in 3 modes: - DisplayPort Only - USB3 Only - USB3 + DisplayPort Combo mode In order to switch between those modes, the PHY needs to receive Type-C events, allow marking to the phy with the mode-switch property in order to allow the PHY to Type-C events. Reference usb-switch.yaml as a simpler way to allow the mode-switch property instead of duplicating the property definition. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on Lenovo Thinkpad T14S Link: https://lore.kernel.org/r/20250807-topic-4ln_dp_respin-v4-1-43272d6eca92@oss.qualcomm.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent a8f9de9 commit 3bad7fe

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,8 @@ properties:
7373
description:
7474
See include/dt-bindings/phy/phy-qcom-qmp.h
7575

76-
orientation-switch:
77-
description:
78-
Flag the PHY as possible handler of USB Type-C orientation switching
79-
type: boolean
76+
mode-switch: true
77+
orientation-switch: true
8078

8179
ports:
8280
$ref: /schemas/graph.yaml#/properties/ports
@@ -106,6 +104,7 @@ required:
106104
- "#phy-cells"
107105

108106
allOf:
107+
- $ref: /schemas/usb/usb-switch.yaml#
109108
- if:
110109
properties:
111110
compatible:

0 commit comments

Comments
 (0)