31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
|
From 9ca055ad33ac3fadf7b15d9a4fffaec52148cf9c Mon Sep 17 00:00:00 2001
|
||
|
From: Samuel Holland <samuel@sholland.org>
|
||
|
Date: Wed, 23 Sep 2020 00:13:54 -0500
|
||
|
Subject: [PATCH 098/391] arm64: dts: sun50i-a64-pinephone: Enable internal
|
||
|
HMIC bias
|
||
|
|
||
|
Revisions 1.0 and 1.1 of the PinePhone mainboard do not have an external
|
||
|
resistor connecting HBIAS to MIC2. Enable the internal resistor to
|
||
|
provide the appropriate mic bias.
|
||
|
|
||
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
||
|
---
|
||
|
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts
|
||
|
index ff01e2be2..8f6ea6b06 100644
|
||
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts
|
||
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts
|
||
|
@@ -126,3 +126,7 @@ &sgm3140 {
|
||
|
enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
|
||
|
flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
|
||
|
};
|
||
|
+
|
||
|
+&codec_analog {
|
||
|
+ allwinner,internal-bias-resistor;
|
||
|
+};
|
||
|
--
|
||
|
2.35.3
|
||
|
|