Skip to contentSkip to conversation

sun50i: a64: A64-Teres-I board detect builtin keyboard

PATCH New Jonas Smedegaard 1 participant 1 message Aug 5, 2020

lore
Share & tools
lore
#0 lore raw

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

Series-Cc: Jagan Teki <[email protected]>
Series-Cc: Lukasz Majewski <[email protected]>
Series-Cc: Andre Przywara <[email protected]>

---

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(+)
configs/teres_i_defconfig +1 -0
index 1eba20e5f5..ee07f86f64 100644
@@ -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
Signature · 1 line
2.28.0