OSDN Git Service

ASoC: tas2562: Add voltage sense slot configuration
authorDan Murphy <dmurphy@ti.com>
Fri, 26 Jun 2020 15:41:42 +0000 (10:41 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 29 Jun 2020 17:48:54 +0000 (18:48 +0100)
commit09ed395b05feb7d0f77ab52c48d2f77c1b44d2ab
treef952bd27e4b2acca3ed1aa7899993d0c5b4b7032
parentd7bd40ae55ce339a3c9be7fc2087c671d3d80894
ASoC: tas2562: Add voltage sense slot configuration

Add Vsense slot configuration based on the device tree.  Adding this
property enables the slot programming to be moved to the tdm_set_slot
callback.  This in affect sets the slots for the Isense and Vsense and
enabling this these modes are now based on whether these features were
powered on or not.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200626154143.20351-3-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2562.c