aboutsummaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2017-08-21 12:50:50 +0530
committerTom Rini <trini@konsulko.com>2017-09-11 16:19:37 -0400
commitdb4fce8fcd87ba139a8c4fb0d9c57f3d70b6116c (patch)
tree211c5992c8343158dd4a1167997cb00d473aa2ca /board/ti
parent91d3e90668009a9d0175f03fe0daf5285b78c6ba (diff)
downloadu-boot-db4fce8fcd87ba139a8c4fb0d9c57f3d70b6116c.zip
u-boot-db4fce8fcd87ba139a8c4fb0d9c57f3d70b6116c.tar.gz
u-boot-db4fce8fcd87ba139a8c4fb0d9c57f3d70b6116c.tar.bz2
palmas: Add support for powering different ldos
It is not necessary that ldo1 is used to power on mmc. So, add support for passing ldo registers for powering on mmc. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/dra7xx/evm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 6767fd2..1c0a1eb 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -720,7 +720,7 @@ void board_mmc_poweron_ldo(uint voltage)
voltage = 0xa;
lp873x_mmc1_poweron_ldo(voltage);
} else {
- palmas_mmc1_poweron_ldo(voltage);
+ palmas_mmc1_poweron_ldo(LDO1_VOLTAGE, LDO1_CTRL, voltage);
}
}
#endif