]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: sun4i-codec: Add support for A31 analog microphone inputs
authorChen-Yu Tsai <wens@csie.org>
Thu, 3 Nov 2016 07:55:51 +0000 (15:55 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 4 Nov 2016 20:37:14 +0000 (14:37 -0600)
commitecd5cdb4fd818b1cec55863d5de3683dad1c2f53
tree7a5ce2c758b77fe3ceeade693ab9a47ac7220afc
parent0f909f98d7cbabc3641a45da9c6891444b929a92
ASoC: sun4i-codec: Add support for A31 analog microphone inputs

The A31 internal codec has 3 microphone outputs, of which MIC2 and MIC3
are muxed internally. The resulting two microphone inputs have separate
gain controls and mixer inputs.

The codec also has 2 microphone bias pins. HBIAS is specifically for the
headphone jack, which also supports headphone detection and control
buttons. These extra functions are not supported yet. The other, MBIAS,
is for all other analog microphones.

There is also mention of digital microphone support, but documentation
is scarce, and no hardware with it is available.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c