summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-02-21 18:21:34 +0530
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-06 18:46:50 +0100
commitdc9913a050f1898c6a77f4f5606bc194d530aafd (patch)
tree777acac138bc643b7eebe9d3b0203ba331e36022 /drivers/mfd/Kconfig
parent2853378b6eafd8b9e2f0e39ab599c93ce518b04d (diff)
downloadlinux-dc9913a050f1898c6a77f4f5606bc194d530aafd.tar.gz
linux-dc9913a050f1898c6a77f4f5606bc194d530aafd.tar.xz
linux-dc9913a050f1898c6a77f4f5606bc194d530aafd.zip
mfd: Use regmap for tps65910 register access.
Using regmap apis for accessing the device registers and using RBTREE caching mechanims for caching registers. Enabling caching of the registers which is used for voltage controls. By doing this, the modify_bits operation is faster as it does not involve the i2c register read from device, just read from cache. This results faster set voltage operation. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index d92bea2c468f..16178e1d2ab4 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -177,6 +177,7 @@ config MFD_TPS65910
depends on I2C=y && GPIOLIB
select MFD_CORE
select GPIO_TPS65910
+ select REGMAP_I2C
help
if you say yes here you get support for the TPS65910 series of
Power Management chips.