soundwire: intel: handle disabled links
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 21 Aug 2019 18:58:21 +0000 (13:58 -0500)
committerVinod Koul <vkoul@kernel.org>
Fri, 23 Aug 2019 06:32:56 +0000 (12:02 +0530)
commit395713d8ca434967808670000e6baa3505e8e947
tree4a43fbc4a30f28f3fd1e3adddd9a709698974309
parent79ee6631264075f85dc22191dad801108fc35c15
soundwire: intel: handle disabled links

On most hardware platforms, SoundWire interfaces are pin-muxed with
other interfaces (typically DMIC or I2S) and the status of each link
needs to be checked at boot time.

For Intel platforms, the BIOS provides a menu to enable/disable the
links separately, and the information is provided to the OS with an
Intel-specific _DSD property. The same capability will be added to
revisions of the MIPI DisCo specification.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190821185821.12690-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c
include/linux/soundwire/sdw.h