From: Jonas Smedegaard Date: Wed, 5 Aug 2020 23:09:12 +0000 (+0200) Subject: [PATCH] sun50i: a64: A64-Teres-I board detect builtin keyboard X-Git-Tag: archive/raspbian/2021.01+dfsg-4+rpi1~1^2^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=38cfa6313f247d27904787b213e7fb19f9b7cf39;p=u-boot.git [PATCH] sun50i: a64: A64-Teres-I board detect builtin keyboard 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 Reviewed-by: Tom Rini Series-Cc: Jagan Teki Series-Cc: Lukasz Majewski Series-Cc: Andre Przywara Gbp-Pq: Topic teres-i Gbp-Pq: Name 0001-sun50i-a64-A64-Teres-I-board-detect-builtin-keyboard.patch --- diff --git a/configs/teres_i_defconfig b/configs/teres_i_defconfig index 1eba20e5f..ee07f86f6 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 start" CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-teres-i" CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y