Re: [U-Boot] [PATCH V2] mmc: introduce mmc_power_init

2016-10-20 Thread Jaehoon Chung
Hi, On 10/11/2016 04:08 PM, Peng Fan wrote: > 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. > >

[U-Boot] [PATCH V2] mmc: introduce mmc_power_init

2016-10-11 Thread Peng Fan
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