]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: OMAP3-N900: Add microphone bias voltages
authorPavel Machek <pavel@ucw.cz>
Sun, 1 Mar 2015 19:07:08 +0000 (21:07 +0200)
committerLuis Henriques <luis.henriques@canonical.com>
Wed, 20 May 2015 12:26:03 +0000 (13:26 +0100)
commit 1819e3034ee26ffadc71880064ed8b8e7d74f52c upstream.

N900 audio recording needs that codec provides bias voltage for integrated
digital microphone and headset microphone depending which one is used.
Digital microphone uses 2 V bias and it comes from the codec A part. Codec
B part drives the headset microphone bias and that is set to 2.5 V.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
[Jarkko: Headset mic bias changed to 2 (2.5 V) as it was before commit
e2e8bfdf6157 ("ASoC: tlv320aic3x: Convert mic bias to a supply widget")]
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
arch/arm/boot/dts/omap3-n900.dts

index 1fe45d1f75ec8d52aa8dd59a1e344a931fc32576..2b061fee8a20f7b38cbc92b9514901857fe6ee8e 100644 (file)
                DRVDD-supply = <&vmmc2>;
                IOVDD-supply = <&vio>;
                DVDD-supply = <&vio>;
+
+               ai3x-micbias-vg = <1>;
        };
 
        tlv320aic3x_aux: tlv320aic3x@19 {
                DRVDD-supply = <&vmmc2>;
                IOVDD-supply = <&vio>;
                DVDD-supply = <&vio>;
+
+               ai3x-micbias-vg = <2>;
        };
 
        tsl2563: tsl2563@29 {