[PATCH 4/5] arch: arm: dts: cpcap-mapphone: Add audio-codec jack detection interrupts
From: Ivaylo Dimitrov
Date: Sat Dec 28 2024 - 06:46:38 EST
cpcap audio-codec supports headset/micrphone detect interrupts, configure
them.
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@xxxxxxxxx>
---
arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi
index 83fd58157579..f51de4f7bc11 100644
--- a/arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi
+++ b/arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi
@@ -69,6 +69,10 @@ cpcap_regulators: regulators {
cpcap_audio: audio-codec {
#sound-dai-cells = <1>;
+ interrupts-extended =
+ <&cpcap 9 0>,
+ <&cpcap 10 0>;
+ interrupt-names = "hs", "mb2";
port@0 {
cpcap_audio_codec0: endpoint {
--
2.30.2