From ed8e79073bb141a1f5a5b5f2b891e3c9be8079c8 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Tue, 14 May 2024 10:47:05 +0200 Subject: arm64: dts: sun50-a64-pinephone: Define jack pins in DT To restore pre v6.8 behavior of the sound card. Signed-off-by: Ondrej Jirman --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index f0f1367c5868..d502c1392b8e 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -999,6 +999,10 @@ &sound { "MIC1", "Internal Microphone", "Headset Microphone", "HBIAS", "MIC2", "Headset Microphone"; + simple-audio-card,jack-pins = + "1c22e00.codec", "Headphone Jack", + "1c22e00.codec", "Headset Microphone"; + simple-audio-card,jack-pins-mask = <1>, <2>; simple-audio-card,dai-link@1 { format = "dsp_a"; -- 2.35.3