]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Use regmap for tps65910 register access.
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 21 Feb 2012 12:51:34 +0000 (18:21 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:50 +0000 (18:46 +0100)
commitb34a38561ba90dbd8c8678897a33b8b3d4f7aa5a
tree777acac138bc643b7eebe9d3b0203ba331e36022
parent4b13b50da13e047aaeab3e581db88186b852d3d8
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>
drivers/mfd/Kconfig
drivers/mfd/tps65910.c
include/linux/mfd/tps65910.h