Skip to contentSkip to conversation

board: ti: dra71x-evm: Hook LDO1 of LP8733 to EN_PIN

PATCH In review Keerthy 2 participants 3 messages Oct 12, 2017 – Nov 17, 2017

lore
Share & tools
lore

Keerthy

author
#0 lore raw

PATCH 1/1 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.

---
 board/ti/dra7xx/evm.c | 7 +++++++
 1 file changed, 7 insertions(+)
board/ti/dra7xx/evm.c +7 -0
index 25ffdfb..441f14f 100644
@@ -682,6 +682,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;
 }
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 board: ti: dra71x-evm: Hook LDO1 of LP8733 to EN_PIN

Quoted 5 lines · Keerthy

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171012/beace07b/attachment.sig>
#2 lore raw
In reply to Keerthy
Quoted 6 lines · Keerthy

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171117/25d6ee70/attachment.sig>