diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2017-12-12 00:43:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 11:01:03 +0100 |
commit | 7d6f7fb053ad543da74119df3c4cd7bb46220471 (patch) | |
tree | 61d3a30916655c7b0998a686f83b92d16b3a59e5 /drivers/base/regmap/Kconfig | |
parent | slimbus: Add support for 'clock-pause' feature (diff) | |
download | linux-7d6f7fb053ad543da74119df3c4cd7bb46220471.tar.xz linux-7d6f7fb053ad543da74119df3c4cd7bb46220471.zip |
regmap: add SLIMbus support
This patch adds support to read/write SLIMbus value elements.
Currently it only supports byte read/write. Adding this support in
regmap would give codec drivers more flexibility when there are more
than 2 control interfaces like SLIMbus, i2c.
Without this patch each codec driver has to directly call SLIMbus value
element apis, and this could would get messy once we want to add i2c
interface to it.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviwed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/regmap/Kconfig')
-rw-r--r-- | drivers/base/regmap/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig index 3a1535d812d8..cc162b48c6d7 100644 --- a/drivers/base/regmap/Kconfig +++ b/drivers/base/regmap/Kconfig @@ -21,6 +21,10 @@ config REGMAP_I2C tristate depends on I2C +config REGMAP_SLIMBUS + tristate + depends on SLIMBUS + config REGMAP_SPI tristate depends on SPI |