Searched hist:"2051 aefe71b646b14220c52e85c42b26be1e7cad" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc.c | diff 2051aefe71b646b14220c52e85c42b26be1e7cad Tue Oct 11 02:08:43 CDT 2016 Peng Fan <peng.fan@nxp.com> mmc: introduce mmc_power_init
In device tree, there is vmmc-supply property for SD/MMC. Introduce mmc_power_init function to handle vmmc-supply.
mmc_power_init will first invoke board_mmc_power_init to avoid break boards which already implement board_mmc_power_init.
If DM_MMC and DM_REGULATOR is defined, the regulator will be enabled to power up the device.
Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Jaehoon Chung <jh80.chung@samsung.com>
|