From e036a8d78f6f222937e999b51bc06feeeb7f6d06 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Wed, 23 Sep 2020 00:13:54 -0500 Subject: [PATCH 096/464] 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 --- 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 ff01e2be26e7..8f6ea6b06aa9 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.34.1