From b4a237d25b94da596769bf1669e8e8017a0d2145 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Wed, 23 Sep 2020 00:13:54 -0500 Subject: 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.35.3