Skip to contentSkip to conversation

About set boot_on for clk32kg regulator

PATCH Xiao Jiang 1 participant 1 message Jun 6, 2012

Subsystems (3)
lore
Share & tools
lore

Xiao Jiang

author
#0 lore raw

Hi Kevin,

For panda and blaze, wl12xx sdio card can't be found without set on label in struct omap4_clk32kg_idata, and after search maillist I found Vishal had posted patch for it.
http://marc.info/?l=linux-omap&m=132017988123957&w=2

But after more investigations, if clk32kg regulator isn't on then sdio bus can't probe wl12xx sdio card, which means it isn't possible to enable regulator in wl12xx driver. so I set boot_on as true for 32KG regulator as for power reason as follows. Is it reasonable or not? or is there other solution can fix this issue? thanks.

arch/arm/mach-omap2/twl-common.c +0 -0
index 119d5a9..843bade 100644
@@ -374,6 +374,7 @@ static struct regulator_init_data omap4_vusb_idata = {

static struct regulator_init_data omap4_clk32kg_idata = {
.constraints = {
.valid_ops_mask = REGULATOR_CHANGE_STATUS,
+ .boot_on = true,

       }, 
};

Regards,
Xiao