]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: cht_bsw_rt5645: Analog Mic support
authorHans de Goede <hdegoede@redhat.com>
Tue, 2 Jan 2018 18:53:14 +0000 (19:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 3 Jan 2018 11:35:47 +0000 (11:35 +0000)
commit80ff7a6412ca0fc9f9e02eeab97c1a0b81a6197f
tree39ca4623d5ec7be231878accb3ee5efb02fe4537
parentd366059a2f60306256a0f1cfe6d084a871960dda
ASoC: Intel: cht_bsw_rt5645: Analog Mic support

Various Cherry Trail boards with a rt5645 codec have an analog mic
connected to IN2P + IN2N. The mic on this boards also needs micbias to
be enabled, on some boards micbias1 is used and on others micbias2, so
we enable both.

This commit adds a new "Int Analog Mic" DAPM widget for this, so that we
do not end up enabling micbias on boards with a digital mic which uses
the already present "Int Mic" widget. Some existing UCM files already
refer to "Int Mic" for their "Internal Analog Microphones" SectionDevice,
but these don't work anyways since they enable the RECMIX BST1 Switch
instead of the BST2 switch.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_rt5645.c