33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
|
|
index 086b5ebfa512..b4a71b02c474 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
|
|
@@ -304,11 +304,13 @@ &codec {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&aif2_pins>, <&aif3_pins>;
|
|
status = "okay";
|
|
+ allwinner,inverted-jack-detection;
|
|
};
|
|
|
|
&codec_analog {
|
|
cpvdd-supply = <®_eldo1>;
|
|
status = "okay";
|
|
+ allwinner,internal-bias-resistor;
|
|
};
|
|
|
|
&cpu0 {
|
|
@@ -758,11 +760,11 @@ &sound {
|
|
simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>;
|
|
simple-audio-card,widgets = "Microphone", "Headset Microphone",
|
|
"Microphone", "Internal Microphone",
|
|
- "Headphone", "Headphone Jack",
|
|
+ "Headphone", "Headphone",
|
|
"Speaker", "Internal Earpiece",
|
|
"Speaker", "Internal Speaker";
|
|
simple-audio-card,routing =
|
|
- "Headphone Jack", "HP",
|
|
+ "Headphone", "HP",
|
|
"Internal Earpiece", "EARPIECE",
|
|
"Internal Speaker", "Speaker Amp OUTL",
|
|
"Internal Speaker", "Speaker Amp OUTR",
|