提交 53f325be 编写于 作者: L Lee Jones

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: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 7f8c5e14
...@@ -1065,6 +1065,10 @@ static struct mfd_cell ab8500_devs[] = { ...@@ -1065,6 +1065,10 @@ static struct mfd_cell ab8500_devs[] = {
.name = "ab8500-sysctrl", .name = "ab8500-sysctrl",
.of_compatible = "stericsson,ab8500-sysctrl", .of_compatible = "stericsson,ab8500-sysctrl",
}, },
{
.name = "ab8500-ext-regulator",
.of_compatible = "stericsson,ab8500-ext-regulator",
},
{ {
.name = "ab8500-regulator", .name = "ab8500-regulator",
.of_compatible = "stericsson,ab8500-regulator", .of_compatible = "stericsson,ab8500-regulator",
...@@ -1150,6 +1154,9 @@ static struct mfd_cell ab9540_devs[] = { ...@@ -1150,6 +1154,9 @@ static struct mfd_cell ab9540_devs[] = {
{ {
.name = "ab8500-sysctrl", .name = "ab8500-sysctrl",
}, },
{
.name = "ab8500-ext-regulator",
},
{ {
.name = "ab8500-regulator", .name = "ab8500-regulator",
}, },
...@@ -1279,6 +1286,9 @@ static struct mfd_cell ab8540_devs[] = { ...@@ -1279,6 +1286,9 @@ static struct mfd_cell ab8540_devs[] = {
{ {
.name = "ab8500-sysctrl", .name = "ab8500-sysctrl",
}, },
{
.name = "ab8500-ext-regulator",
},
{ {
.name = "ab8500-regulator", .name = "ab8500-regulator",
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册