regulator: ab8500: Provide supply names for the AUX regulators
authorLee Jones <lee.jones@linaro.org>
Fri, 7 Jun 2013 16:11:28 +0000 (17:11 +0100)
committerMark Brown <broonielinaro.org>
Tue, 11 Jun 2013 11:50:00 +0000 (12:50 +0100)
On some platforms the AUX[1|2|3] regulators are supplied voltage by
a separate regulator. For example on Snowball these are provided by
the EXT3. If we list them here, we can supply voltage to them by
simply listing them in as a consumer of EXT3 in the Snowball case.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonielinaro.org>
drivers/regulator/ab8500.c

index dfc790196b34ae744ffd76ba78750fa2ab111423..bb02108c95e16a766418eef1e1371608da6dead5 100644 (file)
@@ -719,6 +719,7 @@ static struct ab8500_regulator_info
                        .n_voltages     = ARRAY_SIZE(ldo_vauxn_voltages),
                        .volt_table     = ldo_vauxn_voltages,
                        .enable_time    = 200,
+                       .supply_name    = "vin",
                },
                .load_lp_uA             = 5000,
                .update_bank            = 0x04,
@@ -741,6 +742,7 @@ static struct ab8500_regulator_info
                        .n_voltages     = ARRAY_SIZE(ldo_vauxn_voltages),
                        .volt_table     = ldo_vauxn_voltages,
                        .enable_time    = 200,
+                       .supply_name    = "vin",
                },
                .load_lp_uA             = 5000,
                .update_bank            = 0x04,
@@ -763,6 +765,7 @@ static struct ab8500_regulator_info
                        .n_voltages     = ARRAY_SIZE(ldo_vaux3_voltages),
                        .volt_table     = ldo_vaux3_voltages,
                        .enable_time    = 450,
+                       .supply_name    = "vin",
                },
                .load_lp_uA             = 5000,
                .update_bank            = 0x04,