diff mbox series

[v4,2/2] sun50i: a64: A64-Teres-I board detect builtin keyboard

Message ID 20200719135632.681954-2-dr@jones.dk
State Superseded
Delegated to: Tom Rini
Headers show
Series [v4,1/2] arm: move CONFIG_PREBOOT="usb start" to KConfig | expand

Commit Message

Jonas Smedegaard July 19, 2020, 1:56 p.m. UTC
A64-Teres-I board is a laptop which comes with a builtin keyboard.
The keyboard+trackpad controller pauses for 2 seconds at a firmware
prompt before loading its HID interface.

U-Boot needs to wait equally long to reliably enable the keyboard.

Signed-off-by: Jonas Smedegaard <dr@jones.dk>
Series-Cc: Jagan Teki <jagan@amarulasolutions.com>
Series-Cc: Lukasz Majewski <lukma@denx.de>
Series-Cc: Andre Przywara <andre.przywara@arm.com>

---

(no changes since v1)


Changes in v4:
- (none)
Changes in v3:
- (none)
Changes in v2:
- (none)

---
 configs/teres_i_defconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/configs/teres_i_defconfig b/configs/teres_i_defconfig
index 1eba20e5f5..036068e639 100644
--- a/configs/teres_i_defconfig
+++ b/configs/teres_i_defconfig
@@ -7,6 +7,7 @@  CONFIG_DRAM_ZQ=3881949
 CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 CONFIG_USB1_VBUS_PIN="PL7"
 CONFIG_I2C0_ENABLE=y
+CONFIG_PREBOOT="setenv usb_pgood_delay 2000; usb reset"
 CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-teres-i"
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y