aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-01-03 16:16:58 +0530
committerSamuel Ortiz <sameo@linux.intel.com>2013-02-14 00:22:44 +0100
commit60c185f059c88ad4b9b170b1f9322e3adcccca07 (patch)
tree413128ca84526604a04527605e6ed2b9f8a8f192 /drivers/gpio
parenta36516b016f52f0f6e5284025e3487f63b4be33b (diff)
mfd: palmas: Add APIs to access the Palmas' registers
Palmas register set is divided into different blocks (base and offset) and hence different i2c addresses. The i2c address offsets are derived from base address of block of registers. Add inline APIs to access the Palma's registers which takes the base of register block and register offset. The i2c address offset is derived from the base address of register blocks. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions