diff mbox series

[v3,3/3] arm64: dts: ti: k3-am625: Use interrupt line for Type-C chip

Message ID 20230330084954.49763-4-rogerq@kernel.org
State New
Headers show
Series [v3,1/3] arm64: dts: ti: k3-am625-sk: Add ti,vbus-divider property to usbss1 | expand

Commit Message

Roger Quadros March 30, 2023, 8:49 a.m. UTC
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@kernel.org>
---
 arch/arm64/boot/dts/ti/k3-am625-sk.dts | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

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@3fc0000 {
 		};
 	};
 };
+
+&typec_pd0 {
+	interrupt-parent = <&exp1>;
+	interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
+	interrupt-names = "irq";
+};