Skip to contentSkip to conversation

imx: ventana: add delay before reading EEPROM

PATCH New Tim Harvey 2 participants 4 messages Apr 16, 2021 – May 2, 2021

Subsystems (2)
lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/2 imx: ventana: add delay before reading EEPROM

Fixes d863d054397a ("imx: ventana: convert U-Boot to OF_CONTROL using FIT image")
---
 board/gateworks/gw_ventana/eeprom.c | 1 +
 1 file changed, 1 insertion(+)
board/gateworks/gw_ventana/eeprom.c +1 -0
index a5a151d85b..b9862c7dfc 100644
@@ -42,6 +42,7 @@ read_eeprom(int bus, struct ventana_board_info *info)
 	}
 
 	/* read eeprom config section */
+	mdelay(10);
 	if (gsc_i2c_read(GSC_EEPROM_ADDR, 0x00, 1, buf, sizeof(*info))) {
 		puts("EEPROM: Failed to read EEPROM\n");
 		return GW_UNKNOWN;
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 arm: dts: imx6qdl-gw552x.dtsi: fix VBUS supply

Remove the invalid 'regulator-always-on' property to resolve:
starting USB...
Bus usb at 2184000: Error enabling VBUS supply (ret=-13) probe failed, error -13
Bus usb at 2184200: USB EHCI 1.00

---
 arch/arm/dts/imx6qdl-gw552x.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/dts/imx6qdl-gw552x.dtsi +0 -1
index 5462907f12..7935b10eab 100644
@@ -120,7 +120,6 @@
 		regulator-name = "5P0V";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		regulator-always-on;
 	};
 };
 
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 arm: dts: imx6qdl-gw552x.dtsi: fix VBUS supply

Quoted 6 lines

Remove the invalid 'regulator-always-on' property to resolve:
starting USB...
Bus usb at 2184000: Error enabling VBUS supply (ret=-13) probe failed, error -13
Bus usb at 2184200: USB EHCI 1.00

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#3 lore raw

PATCH 1/2 imx: ventana: add delay before reading EEPROM

In reply to Tim Harvey
Quoted 2 lines
Fixes d863d054397a ("imx: ventana: convert U-Boot to OF_CONTROL using FIT image")

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================