Skip to contentSkip to conversation

usb: kbd: Set a default polling mechanism for USB keyboard

PATCH New Bin Meng 3 participants 6 messages Sep 13, 2017

Subsystems (2)
lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 usb: kbd: Set a default polling mechanism for USB keyboard

The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL.

Fixes ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot")

---

 configs/Cyrus_P5020_defconfig           | 1 -
 configs/Cyrus_P5040_defconfig           | 1 -
 configs/MPC8610HPCD_defconfig           | 1 -
 configs/MPC8641HPCN_36BIT_defconfig     | 1 -
 configs/MPC8641HPCN_defconfig           | 1 -
 configs/apalis_imx6_defconfig           | 1 -
 configs/apalis_imx6_nospl_com_defconfig | 1 -
 configs/apalis_imx6_nospl_it_defconfig  | 1 -
 configs/colibri_imx6_defconfig          | 1 -
 configs/colibri_imx6_nospl_defconfig    | 1 -
 configs/firefly-rk3288_defconfig        | 1 -
 configs/mx6cuboxi_defconfig             | 1 -
 configs/rpi_2_defconfig                 | 1 -
 configs/rpi_3_32b_defconfig             | 1 -
 configs/rpi_3_defconfig                 | 1 -
 configs/rpi_defconfig                   | 1 -
 configs/sandbox_defconfig               | 1 -
 configs/sandbox_flattree_defconfig      | 1 -
 configs/sandbox_noblk_defconfig         | 1 -
 configs/sandbox_spl_defconfig           | 1 -
 configs/seaboard_defconfig              | 1 -
 configs/ventana_defconfig               | 1 -
 drivers/usb/Kconfig                     | 2 +-
 23 files changed, 1 insertion(+), 23 deletions(-)
configs/Cyrus_P5020_defconfig +0 -1
index 82da854..37f78a4 100644
@@ -34,5 +34,4 @@ CONFIG_FSL_ESPI=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/Cyrus_P5040_defconfig +0 -1
index 0fc9a07..d33b514 100644
@@ -34,5 +34,4 @@ CONFIG_FSL_ESPI=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/MPC8610HPCD_defconfig +0 -1
index fde837c..c71d5b1 100644
@@ -22,5 +22,4 @@ CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/MPC8641HPCN_36BIT_defconfig +0 -1
index 7318e72..9949e8b 100644
@@ -21,5 +21,4 @@ CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/MPC8641HPCN_defconfig +0 -1
index def36e4..c8440d2 100644
@@ -21,5 +21,4 @@ CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/apalis_imx6_defconfig +0 -1
index b2284ac..13f2a3b 100644
@@ -54,7 +54,6 @@ CONFIG_NETDEVICES=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/apalis_imx6_nospl_com_defconfig +0 -1
index 239605d..7165749 100644
@@ -43,7 +43,6 @@ CONFIG_NETDEVICES=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/apalis_imx6_nospl_it_defconfig +0 -1
index 1bc05d7..0ad7674 100644
@@ -43,7 +43,6 @@ CONFIG_NETDEVICES=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/colibri_imx6_defconfig +0 -1
index 7d1e709..7e10086 100644
@@ -52,7 +52,6 @@ CONFIG_PHY_MICREL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/colibri_imx6_nospl_defconfig +0 -1
index 6877993..ba4b2dd 100644
@@ -41,7 +41,6 @@ CONFIG_PHY_MICREL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/firefly-rk3288_defconfig +0 -1
index 82da601..178c879 100644
@@ -73,7 +73,6 @@ CONFIG_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/mx6cuboxi_defconfig +0 -1
index 5490e35..27171fb 100644
@@ -34,6 +34,5 @@ CONFIG_DM_THERMAL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 # CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_OF_LIBFDT=y
configs/rpi_2_defconfig +0 -1
index 2345697..0370597 100644
@@ -26,7 +26,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
configs/rpi_3_32b_defconfig +0 -1
index bb56a9e..31d67cc 100644
@@ -28,7 +28,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
configs/rpi_3_defconfig +0 -1
index 6edacd6..1ac3a96 100644
@@ -28,7 +28,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
configs/rpi_defconfig +0 -1
index 2e81966..87e8822 100644
@@ -26,7 +26,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
configs/sandbox_defconfig +0 -1
index 4c4e480..c0fabb3 100644
@@ -175,7 +175,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_DM_VIDEO=y
 CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
configs/sandbox_flattree_defconfig +0 -1
index 325f4ff..77cca3d 100644
@@ -161,7 +161,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_DM_VIDEO=y
 CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
configs/sandbox_noblk_defconfig +0 -1
index e152917..53c2fb8 100644
@@ -169,7 +169,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_DM_VIDEO=y
 CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
configs/sandbox_spl_defconfig +0 -1
index be4a85d..0f1da0b 100644
@@ -179,7 +179,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_DM_VIDEO=y
 CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
configs/seaboard_defconfig +0 -1
index ea4546b..810cfaa 100644
@@ -36,7 +36,6 @@ CONFIG_USB_ULPI_VIEWPORT=y
 CONFIG_USB_ULPI=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_DM_VIDEO=y
configs/ventana_defconfig +0 -1
index 42353f0..b11dab1 100644
@@ -34,7 +34,6 @@ CONFIG_USB_ULPI_VIEWPORT=y
 CONFIG_USB_ULPI=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_DM_VIDEO=y
drivers/usb/Kconfig +1 -1
index 62126aa..e7658b4 100644
@@ -75,7 +75,7 @@ if USB_KEYBOARD
 
 choice
 	prompt "USB keyboard polling"
-	optional
+	default SYS_USB_EVENT_POLL
 	---help---
 	  Enable a polling mechanism for USB keyboard.
 
Signature · 1 line
2.9.2
author
#1 lore raw

PATCH 1/1 usb: kbd: Set a default polling mechanism for USB keyboard

Hi Marek, Tom,

Quoted 24 lines · Bin Meng

The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL.

Fixes ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot")

---

 configs/Cyrus_P5020_defconfig           | 1 -
 configs/Cyrus_P5040_defconfig           | 1 -
 configs/MPC8610HPCD_defconfig           | 1 -
 configs/MPC8641HPCN_36BIT_defconfig     | 1 -
 configs/MPC8641HPCN_defconfig           | 1 -
 configs/apalis_imx6_defconfig           | 1 -
 configs/apalis_imx6_nospl_com_defconfig | 1 -
 configs/apalis_imx6_nospl_it_defconfig  | 1 -
 configs/colibri_imx6_defconfig          | 1 -
 configs/colibri_imx6_nospl_defconfig    | 1 -
 configs/firefly-rk3288_defconfig        | 1 -
 configs/mx6cuboxi_defconfig             | 1 -
 configs/rpi_2_defconfig                 | 1 -
 configs/rpi_3_32b_defconfig             | 1 -
 configs/rpi_3_defconfig                 | 1 -
 configs/rpi_defconfig                   | 1 -
Quoted 9 lines
 configs/sandbox_defconfig               | 1 -
 configs/sandbox_flattree_defconfig      | 1 -
 configs/sandbox_noblk_defconfig         | 1 -
 configs/sandbox_spl_defconfig           | 1 -
 configs/seaboard_defconfig              | 1 -
 configs/ventana_defconfig               | 1 -
 drivers/usb/Kconfig                     | 2 +-
 23 files changed, 1 insertion(+), 23 deletions(-)

So far the USB stack is broken on several areas. Can we get this patch, as well as
http://patchwork.ozlabs.org/project/uboot/list/?series=1998 applied as soon as possible?

Regards,
Bin

#2 lore raw

PATCH 1/1 usb: kbd: Set a default polling mechanism for USB keyboard

Quoted 37 lines · Bin Meng

Hi Marek, Tom,

Quoted 24 lines · Bin Meng

The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL.

Fixes ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot")

---

 configs/Cyrus_P5020_defconfig           | 1 -
 configs/Cyrus_P5040_defconfig           | 1 -
 configs/MPC8610HPCD_defconfig           | 1 -
 configs/MPC8641HPCN_36BIT_defconfig     | 1 -
 configs/MPC8641HPCN_defconfig           | 1 -
 configs/apalis_imx6_defconfig           | 1 -
 configs/apalis_imx6_nospl_com_defconfig | 1 -
 configs/apalis_imx6_nospl_it_defconfig  | 1 -
 configs/colibri_imx6_defconfig          | 1 -
 configs/colibri_imx6_nospl_defconfig    | 1 -
 configs/firefly-rk3288_defconfig        | 1 -
 configs/mx6cuboxi_defconfig             | 1 -
 configs/rpi_2_defconfig                 | 1 -
 configs/rpi_3_32b_defconfig             | 1 -
 configs/rpi_3_defconfig                 | 1 -
 configs/rpi_defconfig                   | 1 -
Quoted 9 lines
 configs/sandbox_defconfig               | 1 -
 configs/sandbox_flattree_defconfig      | 1 -
 configs/sandbox_noblk_defconfig         | 1 -
 configs/sandbox_spl_defconfig           | 1 -
 configs/seaboard_defconfig              | 1 -
 configs/ventana_defconfig               | 1 -
 drivers/usb/Kconfig                     | 2 +-
 23 files changed, 1 insertion(+), 23 deletions(-)
Quoted 4 lines

So far the USB stack is broken on several areas. Can we get this patch, as well as
http://patchwork.ozlabs.org/project/uboot/list/?series=1998 applied as soon as possible?

Yes

Signature · 2 lines
Best regards,
Marek Vasut
#3 lore raw

PATCH 1/1 usb: kbd: Set a default polling mechanism for USB keyboard

Quoted 38 lines · Marek Vasut
Quoted 37 lines · Bin Meng

Hi Marek, Tom,

Quoted 33 lines · Bin Meng

The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL.

Fixes ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot")

---

 configs/Cyrus_P5020_defconfig           | 1 -
 configs/Cyrus_P5040_defconfig           | 1 -
 configs/MPC8610HPCD_defconfig           | 1 -
 configs/MPC8641HPCN_36BIT_defconfig     | 1 -
 configs/MPC8641HPCN_defconfig           | 1 -
 configs/apalis_imx6_defconfig           | 1 -
 configs/apalis_imx6_nospl_com_defconfig | 1 -
 configs/apalis_imx6_nospl_it_defconfig  | 1 -
 configs/colibri_imx6_defconfig          | 1 -
 configs/colibri_imx6_nospl_defconfig    | 1 -
 configs/firefly-rk3288_defconfig        | 1 -
 configs/mx6cuboxi_defconfig             | 1 -
 configs/rpi_2_defconfig                 | 1 -
 configs/rpi_3_32b_defconfig             | 1 -
 configs/rpi_3_defconfig                 | 1 -
 configs/rpi_defconfig                   | 1 -
 configs/sandbox_defconfig               | 1 -
 configs/sandbox_flattree_defconfig      | 1 -
 configs/sandbox_noblk_defconfig         | 1 -
 configs/sandbox_spl_defconfig           | 1 -
 configs/seaboard_defconfig              | 1 -
 configs/ventana_defconfig               | 1 -
 drivers/usb/Kconfig                     | 2 +-
 23 files changed, 1 insertion(+), 23 deletions(-)
Quoted 6 lines
Quoted 4 lines

So far the USB stack is broken on several areas. Can we get this patch, as well as
http://patchwork.ozlabs.org/project/uboot/list/?series=1998 applied as soon as possible?

Yes

Since you'll be doing a PR to me anyhow Marek, can you also please grab this patch here? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170913/8c9597a9/attachment.sig>
#4 lore raw

PATCH 1/1 usb: kbd: Set a default polling mechanism for USB keyboard

Quoted 44 lines · Tom Rini
Quoted 43 lines · Marek Vasut
Quoted 41 lines · Bin Meng

Hi Marek, Tom,

Quoted 24 lines · Bin Meng

The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL.

Fixes ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot")

---

 configs/Cyrus_P5020_defconfig           | 1 -
 configs/Cyrus_P5040_defconfig           | 1 -
 configs/MPC8610HPCD_defconfig           | 1 -
 configs/MPC8641HPCN_36BIT_defconfig     | 1 -
 configs/MPC8641HPCN_defconfig           | 1 -
 configs/apalis_imx6_defconfig           | 1 -
 configs/apalis_imx6_nospl_com_defconfig | 1 -
 configs/apalis_imx6_nospl_it_defconfig  | 1 -
 configs/colibri_imx6_defconfig          | 1 -
 configs/colibri_imx6_nospl_defconfig    | 1 -
 configs/firefly-rk3288_defconfig        | 1 -
 configs/mx6cuboxi_defconfig             | 1 -
 configs/rpi_2_defconfig                 | 1 -
 configs/rpi_3_32b_defconfig             | 1 -
 configs/rpi_3_defconfig                 | 1 -
 configs/rpi_defconfig                   | 1 -
Quoted 9 lines
 configs/sandbox_defconfig               | 1 -
 configs/sandbox_flattree_defconfig      | 1 -
 configs/sandbox_noblk_defconfig         | 1 -
 configs/sandbox_spl_defconfig           | 1 -
 configs/seaboard_defconfig              | 1 -
 configs/ventana_defconfig               | 1 -
 drivers/usb/Kconfig                     | 2 +-
 23 files changed, 1 insertion(+), 23 deletions(-)

So far the USB stack is broken on several areas. Can we get this patch, as well as
http://patchwork.ozlabs.org/project/uboot/list/?series=1998 applied as soon as possible?

Quoted 5 lines
Quoted 1 line

Yes

Since you'll be doing a PR to me anyhow Marek, can you also please grab this patch here? Thanks!

Fine

Signature · 2 lines
Best regards,
Marek Vasut
#5 lore raw

PATCH 1/1 usb: kbd: Set a default polling mechanism for USB keyboard

In reply to Bin Meng
Quoted 6 lines · Bin Meng

The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL.

Fixes ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot")

Not really a usb patch, so should be applied directly to master asap.

Quoted 294 lines

---

 configs/Cyrus_P5020_defconfig           | 1 -
 configs/Cyrus_P5040_defconfig           | 1 -
 configs/MPC8610HPCD_defconfig           | 1 -
 configs/MPC8641HPCN_36BIT_defconfig     | 1 -
 configs/MPC8641HPCN_defconfig           | 1 -
 configs/apalis_imx6_defconfig           | 1 -
 configs/apalis_imx6_nospl_com_defconfig | 1 -
 configs/apalis_imx6_nospl_it_defconfig  | 1 -
 configs/colibri_imx6_defconfig          | 1 -
 configs/colibri_imx6_nospl_defconfig    | 1 -
 configs/firefly-rk3288_defconfig        | 1 -
 configs/mx6cuboxi_defconfig             | 1 -
 configs/rpi_2_defconfig                 | 1 -
 configs/rpi_3_32b_defconfig             | 1 -
 configs/rpi_3_defconfig                 | 1 -
 configs/rpi_defconfig                   | 1 -
 configs/sandbox_defconfig               | 1 -
 configs/sandbox_flattree_defconfig      | 1 -
 configs/sandbox_noblk_defconfig         | 1 -
 configs/sandbox_spl_defconfig           | 1 -
 configs/seaboard_defconfig              | 1 -
 configs/ventana_defconfig               | 1 -
 drivers/usb/Kconfig                     | 2 +-
 23 files changed, 1 insertion(+), 23 deletions(-)
configs/Cyrus_P5020_defconfig +0 -1
index 82da854..37f78a4 100644
@@ -34,5 +34,4 @@ CONFIG_FSL_ESPI=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/Cyrus_P5040_defconfig +0 -1
index 0fc9a07..d33b514 100644
@@ -34,5 +34,4 @@ CONFIG_FSL_ESPI=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/MPC8610HPCD_defconfig +0 -1
index fde837c..c71d5b1 100644
@@ -22,5 +22,4 @@ CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/MPC8641HPCN_36BIT_defconfig +0 -1
index 7318e72..9949e8b 100644
@@ -21,5 +21,4 @@ CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/MPC8641HPCN_defconfig +0 -1
index def36e4..c8440d2 100644
@@ -21,5 +21,4 @@ CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_OF_LIBFDT=y
configs/apalis_imx6_defconfig +0 -1
index b2284ac..13f2a3b 100644
@@ -54,7 +54,6 @@ CONFIG_NETDEVICES=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/apalis_imx6_nospl_com_defconfig +0 -1
index 239605d..7165749 100644
@@ -43,7 +43,6 @@ CONFIG_NETDEVICES=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/apalis_imx6_nospl_it_defconfig +0 -1
index 1bc05d7..0ad7674 100644
@@ -43,7 +43,6 @@ CONFIG_NETDEVICES=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/colibri_imx6_defconfig +0 -1
index 7d1e709..7e10086 100644
@@ -52,7 +52,6 @@ CONFIG_PHY_MICREL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/colibri_imx6_nospl_defconfig +0 -1
index 6877993..ba4b2dd 100644
@@ -41,7 +41,6 @@ CONFIG_PHY_MICREL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/firefly-rk3288_defconfig +0 -1
index 82da601..178c879 100644
@@ -73,7 +73,6 @@ CONFIG_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
configs/mx6cuboxi_defconfig +0 -1
index 5490e35..27171fb 100644
@@ -34,6 +34,5 @@ CONFIG_DM_THERMAL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 # CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_OF_LIBFDT=y
configs/rpi_2_defconfig +0 -1
index 2345697..0370597 100644
@@ -26,7 +26,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
configs/rpi_3_32b_defconfig +0 -1
index bb56a9e..31d67cc 100644
@@ -28,7 +28,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
configs/rpi_3_defconfig +0 -1
index 6edacd6..1ac3a96 100644
@@ -28,7 +28,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
configs/rpi_defconfig +0 -1
index 2e81966..87e8822 100644
@@ -26,7 +26,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
configs/sandbox_defconfig +0 -1
index 4c4e480..c0fabb3 100644
@@ -175,7 +175,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_DM_VIDEO=y
 CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
configs/sandbox_flattree_defconfig +0 -1
index 325f4ff..77cca3d 100644
@@ -161,7 +161,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_DM_VIDEO=y
 CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
configs/sandbox_noblk_defconfig +0 -1
index e152917..53c2fb8 100644
@@ -169,7 +169,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_DM_VIDEO=y
 CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
configs/sandbox_spl_defconfig +0 -1
index be4a85d..0f1da0b 100644
@@ -179,7 +179,6 @@ CONFIG_DM_USB=y
 CONFIG_USB_EMUL=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_DM_VIDEO=y
 CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
configs/seaboard_defconfig +0 -1
index ea4546b..810cfaa 100644
@@ -36,7 +36,6 @@ CONFIG_USB_ULPI_VIEWPORT=y
 CONFIG_USB_ULPI=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_DM_VIDEO=y
configs/ventana_defconfig +0 -1
index 42353f0..b11dab1 100644
@@ -34,7 +34,6 @@ CONFIG_USB_ULPI_VIEWPORT=y
 CONFIG_USB_ULPI=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
-CONFIG_SYS_USB_EVENT_POLL=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_DM_VIDEO=y
drivers/usb/Kconfig +1 -1
index 62126aa..e7658b4 100644
@@ -75,7 +75,7 @@ if USB_KEYBOARD
 
 choice
 	prompt "USB keyboard polling"
-	optional
+	default SYS_USB_EVENT_POLL
 	---help---
 	  Enable a polling mechanism for USB keyboard.
 
Signature · 2 lines
Best regards,
Marek Vasut