[RFC PATCH 2/3] ARM: dts: motorola-mapphone: add interrupt for headphone detection

Carl Philipp Klemm philipp at uvos.xyz
Tue Dec 28 19:11:04 CET 2021


Signed-off-by: Carl Philipp Klemm <philipp at uvos.xyz>
---
 arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
index 0aff0d306d06..e164169bf820 100644
--- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
+++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
@@ -72,6 +72,9 @@ cpcap_audio: audio-codec {
 			#address-cells = <1>;
 			#size-cells = <0>;
 
+			interrupts-extended = <&cpcap 9 0>;
+			interrupt-names = "hpplugged";
+
 			port at 0 {
 				reg = <0>;
 				cpcap_audio_codec0: endpoint {
-- 
2.34.1


More information about the Alsa-devel mailing list