OSDN Git Service

sof-soundwire: add support for dmics
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 21 Jan 2021 20:44:05 +0000 (14:44 -0600)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 Jan 2021 11:07:35 +0000 (12:07 +0100)
commit889c5b9809f1635005d77871bb9abc09df6a3cc3
tree038994d25a152bfcd6b08eb4408cb0662ee09d1b
parent3bea51c3188257c5bc0eaaed922d1f714e3508c7
sof-soundwire: add support for dmics

the pinmux allows for SoundWire to be used on e.g. link0 and link1,
and the rest of the pins can be assigned for dmic usages.

We currently don't track this capability which means users don't see a
capture device, e.g. on HP Spectre x360.

The sof_sdw machine driver was modified to report the cfg-dmics
string, possible values are 0..4.

BugLink: https://github.com/thesofproject/linux/issues/2700
BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/75
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/dmic.conf [new file with mode: 0644]
ucm2/sof-soundwire/sof-soundwire.conf