power: twl6030: Device-index-specific MMC power initialization

Not every device has multiple MMC slots available, so it makes sense to enable
only the required LDOs for the available slots. Generic code in omap_hsmmc will
enable both VMMC and VAUX1, in doubt.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
This commit is contained in:
Paul Kocialkowski
2016-02-27 19:18:51 +01:00
committed by Tom Rini
parent d7b6a75497
commit a85362fb3e
3 changed files with 26 additions and 24 deletions

View File

@@ -185,6 +185,6 @@ void twl6030_start_usb_charging(void);
void twl6030_stop_usb_charging(void);
int twl6030_get_battery_voltage(void);
int twl6030_get_battery_current(void);
void twl6030_power_mmc_init(void);
void twl6030_power_mmc_init(int dev_index);
#endif /* TWL6030_H */