-
Notifications
You must be signed in to change notification settings - Fork 1
/
enable-jack-detection-pinetab.patch
38 lines (31 loc) · 1.12 KB
/
enable-jack-detection-pinetab.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From 7dd3866d9c2bef4bb73a781861aeeec595510509 Mon Sep 17 00:00:00 2001
From: Arnaud Ferraris <[email protected]>
Date: Fri, 3 Apr 2020 17:13:55 +0200
Subject: [PATCH] arm64: dts: allwinner: pinetab: enable jack detection
---
arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
index a87790df9..a72c2ec8c 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
@@ -117,11 +117,13 @@ wifi_pwrseq: wifi_pwrseq {
};
&codec {
+ allwinner,inverted-jack-detection;
status = "okay";
};
&codec_analog {
cpvdd-supply = <®_eldo1>;
+ allwinner,internal-bias-resistor;
status = "okay";
};
@@ -448,6 +450,7 @@ ®_rtc_ldo {
&sound {
status = "okay";
+ simple-audio-card,name = "PineTab";
simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>;
simple-audio-card,widgets = "Microphone", "Internal Microphone Left",
"Microphone", "Internal Microphone Right",
--
2.28.0