47 lines
1.6 KiB
Diff
47 lines
1.6 KiB
Diff
From 07d71a8b35fe9fd14e51972b56470a5a9e9d3d22 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Wed, 23 Sep 2020 00:13:54 -0500
|
|
Subject: [PATCH 205/478] arm64: dts: allwinner: 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 ++++
|
|
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts | 4 ++++
|
|
2 files changed, 8 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 7789bcb30eb6..a21c6d78a0ef 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
|
|
@@ -122,3 +122,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;
|
|
+};
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts
|
|
index b93753d163f3..d67f31ef529e 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts
|
|
@@ -43,6 +43,10 @@ &backlight {
|
|
default-brightness-level = <400>;
|
|
};
|
|
|
|
+&codec_analog {
|
|
+ allwinner,internal-bias-resistor;
|
|
+};
|
|
+
|
|
&i2c0 {
|
|
hdmi-bridge@28 {
|
|
compatible = "analogix,anx7688";
|
|
--
|
|
2.35.3
|
|
|