From 3eaa6aabbb8758f9309a73287cfaaf9005a6979e Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Fri, 23 Feb 2024 01:53:14 +0100 Subject: arm64: dts: sun50i-a64-pinephone: Use newer jack detection implementaion Signed-off-by: Ondrej Jirman --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index aeb282eba4b5..e7e90e5baff4 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -476,6 +476,7 @@ keyboard-power { &codec { pinctrl-names = "default"; pinctrl-0 = <&aif2_pins>, <&aif3_pins>; + jack-type = "headset"; status = "okay"; }; @@ -971,7 +972,7 @@ reboot_mode: reboot-mode@4 { &sound { status = "okay"; simple-audio-card,name = "PinePhone"; - simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>; + simple-audio-card,aux-devs = <&codec_analog>, <&codec>, <&speaker_amp>; simple-audio-card,widgets = "Microphone", "Headset Microphone", "Microphone", "Internal Microphone", "Headphone", "Headphone Jack", -- 2.35.3