Give the regulator supplies names corresponding to the names their
supplies are given in the schematic, making it easier to tie the
software up with the schematic.

Signed-off-by: Mark Brown <[email protected]>
---
 arch/arm/mach-s3c2442/mach-gta02.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s3c2442/mach-gta02.c 
b/arch/arm/mach-s3c2442/mach-gta02.c
index 7214ecc..732984e 100644
--- a/arch/arm/mach-s3c2442/mach-gta02.c
+++ b/arch/arm/mach-s3c2442/mach-gta02.c
@@ -552,6 +552,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
        .reg_init_data = {
                [PCF50633_REGULATOR_AUTO] = {
                        .constraints = {
+                               .name = "IO_3V3",
                                .min_uV = 3300000,
                                .max_uV = 3300000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
@@ -565,6 +566,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
                },
                [PCF50633_REGULATOR_DOWN1] = {
                        .constraints = {
+                               .name = "CORE_1V3",
                                .min_uV = 1300000,
                                .max_uV = 1600000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
@@ -575,6 +577,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
                },
                [PCF50633_REGULATOR_DOWN2] = {
                        .constraints = {
+                               .name = "IO_1V8",
                                .min_uV = 1800000,
                                .max_uV = 1800000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
@@ -588,6 +591,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
                },
                [PCF50633_REGULATOR_HCLDO] = {
                        .constraints = {
+                               .name = "SD_3V3",
                                .min_uV = 2000000,
                                .max_uV = 3300000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
@@ -599,6 +603,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
                },
                [PCF50633_REGULATOR_LDO1] = {
                        .constraints = {
+                               .name = "GSENSOR_3V3",
                                .min_uV = 1300000,
                                .max_uV = 1300000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
@@ -608,6 +613,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
                },
                [PCF50633_REGULATOR_LDO2] = {
                        .constraints = {
+                               .name = "CODEC_3V3",
                                .min_uV = 3300000,
                                .max_uV = 3300000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
@@ -626,6 +632,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
                },
                [PCF50633_REGULATOR_LDO4] = {
                        .constraints = {
+                               .name = "BT_3V2",
                                .min_uV = 3200000,
                                .max_uV = 3200000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
@@ -636,6 +643,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
                },
                [PCF50633_REGULATOR_LDO5] = {
                        .constraints = {
+                               .name = "RF_3V",
                                .min_uV = 1500000,
                                .max_uV = 1500000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
@@ -649,6 +657,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
                },
                [PCF50633_REGULATOR_LDO6] = {
                        .constraints = {
+                               .name = "LCM_3V",
                                .min_uV = 0,
                                .max_uV = 3300000,
                                .valid_modes_mask = REGULATOR_MODE_NORMAL,
-- 
1.5.6.3


Reply via email to