]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: dts: sun8i-a23: q8-tablet: Enable internal audio codec
authorChen-Yu Tsai <wens@csie.org>
Fri, 25 Nov 2016 12:34:39 +0000 (20:34 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 10 Jan 2017 17:52:52 +0000 (18:52 +0100)
commitbd85e90c66bfa0a60b6610e647a2c9871146da53
treefded5afb0af935c29662a7e63da1d20391d0b301
parentad2151c5427f36e556af6db551d387cf1d5787db
ARM: dts: sun8i-a23: q8-tablet: Enable internal audio codec

The A23 Q8 tablets have an internal mono speaker w/ external amp
which has a shutdown control tied to a GPIO pin. Both the speaker
amp and the headphone jack are tied to the HP output pins. While
the speaker is mono, the headset jack is stereo. Unfortunately
the driver does not support automatic switching of this.

In addition, the headset is DC coupled, or "direct drive" enabled.
The headset's microphone is tied to MIC2 with HBIAS providing power.
A separate internal microphone is tied to MIC1 with MBIAS providing
power.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a23-q8-tablet.dts