mfd: AB3100 register access change to abx500 API
authorMattias Wallin <mattias.wallin@stericsson.com>
Sat, 1 May 2010 16:26:20 +0000 (18:26 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 27 May 2010 23:37:45 +0000 (01:37 +0200)
commitfa661258a27aa74aaf741882053d195291cefb75
tree73b6e0c7156088f660de465555ee13226ac78242
parent812f9e9d424dde9ccb35975c0281edb6f8543735
mfd: AB3100 register access change to abx500 API

The interface for the AB3100 is changed to make way for the
ABX500 family of chips: AB3550, AB5500 and future ST-Ericsson
Analog Baseband chips. The register access functions are moved
out to a separate struct abx500_ops. In this way the interface
is moved from the implementation and the sub functionality drivers
can keep their interface intact when chip infrastructure and
communication mechanisms changes. We also define the AB3550
device IDs and the AB3550 platform data struct and convert
the catenated 32bit event to an array of 3 x 8bits.

Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/ab3100-core.c
drivers/mfd/ab3100-otp.c
drivers/mfd/abx500-core.c [new file with mode: 0644]
drivers/regulator/ab3100.c
drivers/rtc/rtc-ab3100.c
include/linux/mfd/abx500.h