[PATCH] sun50i: a64: A64-Teres-I board detect builtin keyboard

Jonas Smedegaard dr at jones.dk
Thu Aug 6 01:09:12 CEST 2020

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 at jones.dk>
Reviewed-by: Tom Rini <trini at konsulko.com>
Series-Cc: Jagan Teki <jagan at amarulasolutions.com>
Series-Cc: Lukasz Majewski <lukma at denx.de>
Series-Cc: Andre Przywara <andre.przywara at arm.com>


Changes in v6:
- (none - reduced to single patch, after patch 1 of 2 got applied)

Changes in v5:
- after delay do usb start (not usb reset)

Changes in v4:
- (none)

Changes in v3:
- (none)

Changes in v2:
- (none)

 configs/teres_i_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/teres_i_defconfig b/configs/teres_i_defconfig
index 1eba20e5f5..ee07f86f64 100644
--- a/configs/teres_i_defconfig
+++ b/configs/teres_i_defconfig
@@ -7,6 +7,7 @@ CONFIG_DRAM_ZQ=3881949
+CONFIG_PREBOOT="setenv usb_pgood_delay 2000; usb start"

More information about the U-Boot mailing list