[PATCH v5 2/2] arm64: dts: qcom: shikra-iqs-evk: Add CC orientation-gpios for usb1 port

From: Akash Kumar

Date: Thu Nov 26 2026 - 05:42:20 EST


The CYPD6229 PD controller has no HPI register exposing CC polarity,
so the usb1 (usb_1/QMP-SS-connected) Type-C port on IQS has no way to
report orientation through typec_set_orientation() from UCSI status
alone. Since this is the SuperSpeed-capable port, correct orientation
reporting matters for lane polarity, so IQS wires a board-level
CC-sense line for it to TLMM GPIO90.

CQM and CQS get CC orientation from their TPMS instead, so they don't
need this property.

Add orientation-gpios to the typec@40 node, using the ucsi_ccg
CC-orientation-sensing support added by:
https://lore.kernel.org/all/20261124-ucsi-ccg-cc-orientation-v3-0-73cd114e5393@xxxxxxxxxxxxxxxx/

typec@40 has two connectors on IQS; the orientation-gpios list is
ordered by connector reg, so the entry for connector@0 (usb0,
HS-only) is left as <0> since that port has no sense line wired.

Signed-off-by: Akash Kumar <akash.kumar@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/shikra-iqs-evk.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/shikra-iqs-evk.dts b/arch/arm64/boot/dts/qcom/shikra-iqs-evk.dts
index 0e770dafa9d9..fc0bdb20c7a9 100644
--- a/arch/arm64/boot/dts/qcom/shikra-iqs-evk.dts
+++ b/arch/arm64/boot/dts/qcom/shikra-iqs-evk.dts
@@ -46,6 +46,7 @@ typec@40 {
pinctrl-0 = <&usb0_intr_state>;
pinctrl-names = "default";
wakeup-source;
+ orientation-gpios = <0>, <&tlmm 90 GPIO_ACTIVE_HIGH>;

#address-cells = <1>;
#size-cells = <0>;
--
2.43.0