>> + >> +static struct fixed_voltage_config sdio_power = { >> + .supply_name = "vmmc", >> + .microvolts = 3000000, >> + .gpio = mfp_to_gpio(MFP_PIN_GPIO57), >> + .enable_high = 1, >> + .enabled_at_boot = 0, >> + .init_data = &sdio_power_data, >> +}; >> + > > ldo7 is the power source. The 8787 is the consumer and the code should reflect this. > GPIO57 is an on/off switch to the 8787. > > Instead of LDO7, 8787 is powered with V_SD2, V_BATT, and VLDO12 on brownstone. Use PDn to control 8787 power is recommended method. 1. Some LDO is shared and can not be cut down. 2. Control LDO is much slower, some time is needed for voltage to decay, and the time is not accurate to control. 3. With LDO powered, 8787 is under control and 8787 could put itself to the lowest state. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html