mirror of https://github.com/hak5/openwrt-owl.git
mach_gta02: Add some missing always_on regulator constraints and declare regulator constraints to be fully specified.
SVN-Revision: 16859owl
parent
16ed97de1f
commit
a4f397c5a5
|
@ -573,6 +573,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
|
||||||
.max_uV = 3300000,
|
.max_uV = 3300000,
|
||||||
.valid_modes_mask = REGULATOR_MODE_NORMAL,
|
.valid_modes_mask = REGULATOR_MODE_NORMAL,
|
||||||
.boot_on = 1,
|
.boot_on = 1,
|
||||||
|
.always_on = 1,
|
||||||
.apply_uV = 1,
|
.apply_uV = 1,
|
||||||
.state_mem = {
|
.state_mem = {
|
||||||
.enabled = 1,
|
.enabled = 1,
|
||||||
|
@ -587,6 +588,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
|
||||||
.max_uV = 1600000,
|
.max_uV = 1600000,
|
||||||
.valid_modes_mask = REGULATOR_MODE_NORMAL,
|
.valid_modes_mask = REGULATOR_MODE_NORMAL,
|
||||||
.boot_on = 1,
|
.boot_on = 1,
|
||||||
|
.always_on = 1,
|
||||||
.apply_uV = 1,
|
.apply_uV = 1,
|
||||||
},
|
},
|
||||||
.num_consumer_supplies = 0,
|
.num_consumer_supplies = 0,
|
||||||
|
@ -599,6 +601,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
|
||||||
.valid_modes_mask = REGULATOR_MODE_NORMAL,
|
.valid_modes_mask = REGULATOR_MODE_NORMAL,
|
||||||
.apply_uV = 1,
|
.apply_uV = 1,
|
||||||
.boot_on = 1,
|
.boot_on = 1,
|
||||||
|
.always_on = 1,
|
||||||
.state_mem = {
|
.state_mem = {
|
||||||
.enabled = 1,
|
.enabled = 1,
|
||||||
},
|
},
|
||||||
|
@ -676,6 +679,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
|
||||||
.name = "LCM_3V",
|
.name = "LCM_3V",
|
||||||
.min_uV = 0,
|
.min_uV = 0,
|
||||||
.max_uV = 3300000,
|
.max_uV = 3300000,
|
||||||
|
.always_on = 1,
|
||||||
.valid_modes_mask = REGULATOR_MODE_NORMAL,
|
.valid_modes_mask = REGULATOR_MODE_NORMAL,
|
||||||
},
|
},
|
||||||
.num_consumer_supplies = 0,
|
.num_consumer_supplies = 0,
|
||||||
|
@ -1587,7 +1591,7 @@ static void gta02_pmu_attach_child_devices(struct pcf50633 *pcf)
|
||||||
platform_add_devices(gta02_devices_pmu_children,
|
platform_add_devices(gta02_devices_pmu_children,
|
||||||
ARRAY_SIZE(gta02_devices_pmu_children));
|
ARRAY_SIZE(gta02_devices_pmu_children));
|
||||||
|
|
||||||
/* regulator_has_full_constraints();*/
|
regulator_has_full_constraints();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gta02_poweroff(void)
|
static void gta02_poweroff(void)
|
||||||
|
|
Loading…
Reference in New Issue