diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-06-07 17:07:47 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-06-13 11:52:00 +0200 |
commit | 53f325be2f99fb1e5dbbfc1f7707a9a6c97c83c2 (patch) | |
tree | 75cae09336889a7e70184c54e2928b9a74ed0aaf /drivers/mfd/ab8500-core.c | |
parent | mfd: dbx500-prcmu: Use correct names for clock management registers (diff) | |
download | linux-53f325be2f99fb1e5dbbfc1f7707a9a6c97c83c2.tar.xz linux-53f325be2f99fb1e5dbbfc1f7707a9a6c97c83c2.zip |
mfd: ab8500-core: Add AB8500 external regulators as MFD devices
The AB8500 external regulator driver is now a device in its own right,
so it requires registering and probing in the normal way. This patch
will ensure the driver is probed once registered for all devices which
support them.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r-- | drivers/mfd/ab8500-core.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index ca6bd1c8bd3f..b6c2cdc76091 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -1066,6 +1066,10 @@ static struct mfd_cell ab8500_devs[] = { .of_compatible = "stericsson,ab8500-sysctrl", }, { + .name = "ab8500-ext-regulator", + .of_compatible = "stericsson,ab8500-ext-regulator", + }, + { .name = "ab8500-regulator", .of_compatible = "stericsson,ab8500-regulator", }, @@ -1151,6 +1155,9 @@ static struct mfd_cell ab9540_devs[] = { .name = "ab8500-sysctrl", }, { + .name = "ab8500-ext-regulator", + }, + { .name = "ab8500-regulator", }, { @@ -1280,6 +1287,9 @@ static struct mfd_cell ab8540_devs[] = { .name = "ab8500-sysctrl", }, { + .name = "ab8500-ext-regulator", + }, + { .name = "ab8500-regulator", }, { |