commit | 1530596e9a7e54dacf6ef29f84eea570abd0b038 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Tue Oct 11 15:08:43 2016 +0800 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Fri Oct 28 11:02:16 2016 +0900 |
tree | 1dbcaf112322bc6651312b1a0af17c7440a7ce58 | |
parent | c4bc9a86614331d1377d06b0361f41a1b5e1fa65 [diff] |
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>