diff options
author | Keerthy <j-keerthy@ti.com> | 2017-10-12 10:18:45 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-17 07:43:32 -0500 |
commit | 9ecdf30cfee377b7a1e4c2de67f99e593bbfa24a (patch) | |
tree | 8f59d7996f05df09161c602d15b48c0e0da94761 /board/ti/dra7xx/evm.c | |
parent | c07bf9bea7781f282944508573e38b18ec50062d (diff) |
board: ti: dra71x-evm: Hook LDO1 of LP8733 to EN_PIN
All regulators are hooked to EN_Pin at reset so that EN Pin controls
their state. Hook the LDO1 regulator to EN pin which at reset is not
hooked. This applies only to LP8733.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/dra7xx/evm.c')
-rw-r--r-- | board/ti/dra7xx/evm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 97aae016e1..6bcfa48231 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -672,6 +672,13 @@ int board_late_init(void) omap_die_id_serial(); omap_set_fastboot_vars(); + + /* + * Hook the LDO1 regulator to EN pin. This applies only to LP8733 + * Rest all regulators are hooked to EN Pin at reset. + */ + if (board_is_dra71x_evm()) + palmas_i2c_write_u8(LP873X_I2C_SLAVE_ADDR, 0x9, 0x7); #endif return 0; } |