diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2017-08-21 10:20:57 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-11 23:19:43 +0300 |
commit | cd43b51600918a03216146c1bb4a73f4d7f04901 (patch) | |
tree | 08f1c5bc839ee8ac01691077006527b7272b4a5c /board | |
parent | 9120ef079c0f4ea3732bd19f3df169380b26a1e2 (diff) | |
download | u-boot-cd43b51600918a03216146c1bb4a73f4d7f04901.tar.xz |
board: ti: dra76-evm: Add support for powering on mmc ldo
ldo4 is used to poweron mmc on dra76-evm. Enable it.
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/ti/dra7xx/evm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index ad63abd759..87b7403070 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -837,6 +837,8 @@ void board_mmc_poweron_ldo(uint voltage) else if (voltage == LDO_VOLT_1V8) voltage = 0xa; lp873x_mmc1_poweron_ldo(voltage); + } else if (board_is_dra76x_evm()) { + palmas_mmc1_poweron_ldo(LDO4_VOLTAGE, LDO4_CTRL, voltage); } else { palmas_mmc1_poweron_ldo(LDO1_VOLTAGE, LDO1_CTRL, voltage); } |