soundwire: enable optional clock registers for SoundWire 1.2 devices
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 18 Nov 2022 02:58:07 +0000 (10:58 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 9 Jan 2023 16:07:40 +0000 (21:37 +0530)
commitffa1726589a7cc4bd96a7f19f43cecdb7342478f
tree4fd45768cfb290fdb4dff694037e72609fdca151
parentbe505ba8fe90068868bc084cad2079a38486b2d5
soundwire: enable optional clock registers for SoundWire 1.2 devices

The bus supports the mandatory clock registers for SDCA devices, these
registers can also be optionally supported by SoundWire 1.2 devices
that don't follow the SDCA class specification.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221118025807.534863-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c
include/linux/soundwire/sdw.h