summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/Kconfig
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2018-01-08 11:20:59 +0100
committerMark Brown <broonie@kernel.org>2018-01-08 12:27:18 +0100
commit7c22ce6e218403fc8746f7915b5a391d8227f7e1 (patch)
tree6082066e21fbf68e529e5d2664cc8fa5ba0cc377 /drivers/base/regmap/Kconfig
parentregmap: Add one flag to indicate if a hwlock should be used (diff)
downloadlinux-7c22ce6e218403fc8746f7915b5a391d8227f7e1.tar.xz
linux-7c22ce6e218403fc8746f7915b5a391d8227f7e1.zip
regmap: Add SoundWire bus support
SoundWire bus provides sdw_read() and sdw_write() APIs for Slave devices to program the registers. Provide support in regmap for SoundWire bus. Signed-off-by: Hardik T Shah <hardik.t.shah@intel.com> Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/regmap/Kconfig')
-rw-r--r--drivers/base/regmap/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index 0368fd7b3a41..067073e4beb1 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -37,3 +37,7 @@ config REGMAP_MMIO
config REGMAP_IRQ
bool
+
+config REGMAP_SOUNDWIRE
+ tristate
+ depends on SOUNDWIRE_BUS