mfd: da9053: Addition of extra registers for GPIOs 8-13
authorSteve Twiss <stwiss.opensource@diasemi.com>
Thu, 8 Oct 2015 15:17:51 +0000 (16:17 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:19:49 +0000 (17:19 +0000)
commit0386af30d3d99d942dd68a8c64beb4f03958e74f
treecb1d24f7695a0e7730bce158e5fc3f36a0f2cca3
parent5c41f11c625e6860b00e58c237dd03a89a8beccc
mfd: da9053: Addition of extra registers for GPIOs 8-13

Definitions for GPIO registers 8, 9, 10, 11, 12 and 13 are added into
the register header file.

- DA9052_GPIO_8_9_REG    25
- DA9052_GPIO_10_11_REG  26
- DA9052_GPIO_12_13_REG  27

A modification is also made to the MFD core code to define these registers
as readable and writable. The functions for da9052_reg_readable() and
da9052_reg_writeable() have had their case statements altered to include
these new registers.

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9052-core.c
include/linux/mfd/da9052/reg.h