[PATCH v3 3/3] arm64: dts: ti: k3-am625: Use interrupt line for Type-C chip
Roger Quadros
rogerq at kernel.org
Thu Mar 30 01:49:54 PDT 2023
Since revision 1.3 the Type-C chip's interrupt line
is available. This will break Type-C role swap on
older boards, and it will remain in Peripheral mode.
Signed-off-by: Roger Quadros <rogerq at kernel.org>
---
arch/arm64/boot/dts/ti/k3-am625-sk.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index 467e17e28916..5d899b56aed6 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -256,3 +256,9 @@ partition at 3fc0000 {
};
};
};
+
+&typec_pd0 {
+ interrupt-parent = <&exp1>;
+ interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
+ interrupt-names = "irq";
+};
--
2.34.1
More information about the linux-arm-kernel
mailing list