rockchip: Change keyboard input from CrOS EC keyboard to a USB keyboard
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 2 Mar 2020 07:57:55 +0000 (07:57 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 26 Mar 2020 14:58:46 +0000 (22:58 +0800)
These boards aren't ChromeOS devices so won't have a cros-ec-keyb
input as it's the keyboard available via the ChromeOS Embedded
Controller. Update them to use a USB keyboard which would actually
be available. Also enable the usb keyboard option for those devices
that don't have it enabled already.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/miqi-rk3288_defconfig
configs/roc-pc-rk3399_defconfig
configs/rock2_defconfig
configs/tinker-rk3288_defconfig
configs/tinker-s-rk3288_defconfig
include/configs/miqi_rk3288.h
include/configs/roc-pc-rk3399.h
include/configs/rock2.h
include/configs/tinker_rk3288.h
include/configs/vyasa-rk3288.h

index edba9da31b2c27b3f65fb025201b3d73bc0da3ca..e3e205fd54ac6f70e921785d9dd5df83d306c38b 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_SMSC95XX=y
+CONFIG_USB_KEYBOARD=y
 CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 CONFIG_DISPLAY=y
index 659c67a0336889635a73cd5de16aab63902e76d0..d540a17aebe7794bd67d8e791ae08968e5c6628e 100644 (file)
@@ -56,5 +56,6 @@ CONFIG_USB_ETHER_ASIX88179=y
 CONFIG_USB_ETHER_MCS7830=y
 CONFIG_USB_ETHER_RTL8152=y
 CONFIG_USB_ETHER_SMSC95XX=y
+CONFIG_USB_KEYBOARD=y
 CONFIG_SPL_TINY_MEMSET=y
 CONFIG_ERRNO_STR=y
index bb12b32a215b6da3f7fb6d1b623aced744b1a051..cf71c8592794f3fa8906d484ad5e98008f70642a 100644 (file)
@@ -74,6 +74,7 @@ CONFIG_USB_DWC2=y
 CONFIG_ROCKCHIP_USB2_PHY=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_KEYBOARD=y
 CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 CONFIG_DISPLAY=y
index 50820ba08ea63ab689821da376909e966ec8ffff..034d28ea2d8df662dcb139a3dff55884ef3a1693 100644 (file)
@@ -80,6 +80,7 @@ CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_SMSC95XX=y
+CONFIG_USB_KEYBOARD=y
 CONFIG_DM_VIDEO=y
 CONFIG_DISPLAY=y
 CONFIG_VIDEO_ROCKCHIP=y
index ab192cf4e4c75cc48cac3ce3874d333ad959edac..06c5d9b507044a75b3d9ea59ec300ed3df0b7685 100644 (file)
@@ -80,6 +80,7 @@ CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_SMSC95XX=y
+CONFIG_USB_KEYBOARD=y
 CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_BPP8 is not set
 CONFIG_DISPLAY=y
index c9691a0392def2ac3698503628c8230c3edc41ae..e19fa90212839f96809f34f47c0edd7ebcf0db34 100644 (file)
@@ -7,7 +7,7 @@
 #define __CONFIG_H
 
 #define ROCKCHIP_DEVICE_SETTINGS \
-               "stdin=serial,cros-ec-keyb\0" \
+               "stdin=serial,usbkbd\0" \
                "stdout=serial,vidconsole\0" \
                "stderr=serial,vidconsole\0"
 
index 3fd10625426b34a1d6f8dd194008ccd33fbeb7dd..d4cbc3532e1eac3d0e960e4117683cfdb9fe1593 100644 (file)
@@ -7,7 +7,7 @@
 #define __ROC_PC_RK3399_H
 
 #define ROCKCHIP_DEVICE_SETTINGS \
-               "stdin=serial,cros-ec-keyb\0" \
+               "stdin=serial,usbkbd\0" \
                "stdout=serial,vidconsole\0" \
                "stderr=serial,vidconsole\0"
 
index 917caf4d53a502879b1732e7a1709192e3c7eb81..9e4a66902b50f9a28ccabce9e79b211511adbb7c 100644 (file)
@@ -7,7 +7,7 @@
 #define __CONFIG_H
 
 #define ROCKCHIP_DEVICE_SETTINGS \
-               "stdin=serial,cros-ec-keyb\0" \
+               "stdin=serial,usbkbd\0" \
                "stdout=serial,vidconsole\0" \
                "stderr=serial,vidconsole\0"
 
index f1095ccd0e17a2f56455a801d6a43b2eef46c6d0..d239e3beb1cfa6aefbf1b0bb889b4b194f2f5998 100644 (file)
@@ -7,7 +7,7 @@
 #define __CONFIG_H
 
 #define ROCKCHIP_DEVICE_SETTINGS \
-               "stdin=serial,cros-ec-keyb\0" \
+               "stdin=serial,usbkbd\0" \
                "stdout=serial,vidconsole\0" \
                "stderr=serial,vidconsole\0"
 
index e31dc777200c9c72819bf5467b371676fd1b1a5a..c3521cac419417657d01c5250d208ec0d05f867f 100644 (file)
@@ -9,7 +9,7 @@
 #define __CONFIG_H
 
 #define ROCKCHIP_DEVICE_SETTINGS \
-               "stdin=serial,cros-ec-keyb\0" \
+               "stdin=serial,usbkbd\0" \
                "stdout=serial,vidconsole\0" \
                "stderr=serial,vidconsole\0"