|
@@ -578,17 +578,21 @@ static const struct mfd_cell early_devs[] = {
|
|
|
};
|
|
|
|
|
|
static const char *wm5102_supplies[] = {
|
|
|
+ "MICVDD",
|
|
|
"DBVDD2",
|
|
|
"DBVDD3",
|
|
|
"CPVDD",
|
|
|
"SPKVDDL",
|
|
|
"SPKVDDR",
|
|
|
- "MICVDD",
|
|
|
};
|
|
|
|
|
|
static const struct mfd_cell wm5102_devs[] = {
|
|
|
{ .name = "arizona-micsupp" },
|
|
|
- { .name = "arizona-extcon" },
|
|
|
+ {
|
|
|
+ .name = "arizona-extcon",
|
|
|
+ .parent_supplies = wm5102_supplies,
|
|
|
+ .num_parent_supplies = 1, /* We only need MICVDD */
|
|
|
+ },
|
|
|
{ .name = "arizona-gpio" },
|
|
|
{ .name = "arizona-haptics" },
|
|
|
{ .name = "arizona-pwm" },
|
|
@@ -601,7 +605,11 @@ static const struct mfd_cell wm5102_devs[] = {
|
|
|
|
|
|
static const struct mfd_cell wm5110_devs[] = {
|
|
|
{ .name = "arizona-micsupp" },
|
|
|
- { .name = "arizona-extcon" },
|
|
|
+ {
|
|
|
+ .name = "arizona-extcon",
|
|
|
+ .parent_supplies = wm5102_supplies,
|
|
|
+ .num_parent_supplies = 1, /* We only need MICVDD */
|
|
|
+ },
|
|
|
{ .name = "arizona-gpio" },
|
|
|
{ .name = "arizona-haptics" },
|
|
|
{ .name = "arizona-pwm" },
|
|
@@ -621,7 +629,11 @@ static const char *wm8997_supplies[] = {
|
|
|
|
|
|
static const struct mfd_cell wm8997_devs[] = {
|
|
|
{ .name = "arizona-micsupp" },
|
|
|
- { .name = "arizona-extcon" },
|
|
|
+ {
|
|
|
+ .name = "arizona-extcon",
|
|
|
+ .parent_supplies = wm8997_supplies,
|
|
|
+ .num_parent_supplies = 1, /* We only need MICVDD */
|
|
|
+ },
|
|
|
{ .name = "arizona-gpio" },
|
|
|
{ .name = "arizona-haptics" },
|
|
|
{ .name = "arizona-pwm" },
|