rpi: Enable USB keyboard support
PATCH v3 1/1 rpi: Enable USB keyboard support
This is currently disabled, so USB keyboards are not detected in U-Boot. Enable this option to fix that.
---
Changes in v3:
- Add missing review/test tags
Changes in v2:
- Fix U_Boot typo
configs/rpi_2_defconfig | 1 + configs/rpi_3_32b_defconfig | 1 + configs/rpi_3_defconfig | 1 + configs/rpi_defconfig | 1 + 4 files changed, 4 insertions(+)
configs/rpi_2_defconfig +1 -0
@@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="U-Boot> " CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y +CONFIG_DM_KEYBOARD=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y
configs/rpi_3_32b_defconfig +1 -0
@@ -16,6 +16,7 @@ CONFIG_SYS_PROMPT="U-Boot> " CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y +CONFIG_DM_KEYBOARD=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y
configs/rpi_3_defconfig +1 -0
@@ -16,6 +16,7 @@ CONFIG_SYS_PROMPT="U-Boot> " CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y +CONFIG_DM_KEYBOARD=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y
configs/rpi_defconfig +1 -0
@@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="U-Boot> " CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y +CONFIG_DM_KEYBOARD=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_BCM2835=y
Signature · 1 line
2.14.1.342.g6490525c54-goog
PATCH v3 1/1 rpi: Enable USB keyboard support
Quoted 7 lines · Simon Glass
This is currently disabled, so USB keyboards are not detected in U-Boot. Enable this option to fix that.
Signed-off-by Simon Glass <[email protected]>Tested-by Jonathan Gray <[email protected]>Reviewed-by Bin Meng <[email protected]>Tested-by Paul Barker <[email protected]>
Applied to u-boot/master, 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/20170826/64896939/attachment.sig>
PATCH v3 1/1 rpi: Enable USB keyboard support
In reply to Simon GlassQuoted 11 lines
Am 26.08.2017 um 19:43 schrieb Simon Glass <[email protected]>:
This is currently disabled, so USB keyboards are not detected in U-Boot. Enable this option to fix that.
Signed-off-by Simon Glass <[email protected]>Tested-by Jonathan Gray <[email protected]>Reviewed-by Bin Meng <[email protected]>Tested-by Paul Barker <[email protected]>
When did the default behavior on kbd usb support change? I'd be inclined to say that we should restore the exact same functionality scope as before for all affected boards, not just a few well tested ones ;).
In fact, wouldn't it make sense to imply usb kbd support in kconfig always when usb (and gfx?) is present?
That said, this patch itself is good either way, just maybe not reaching far enough ;).
Alex
PATCH v3 1/1 rpi: Enable USB keyboard support
Hi Alex,
Quoted 7 lines · Alexander Graf
Quoted 7 lines
Am 26.08.2017 um 19:43 schrieb Simon Glass <[email protected]>:
This is currently disabled, so USB keyboards are not detected in U-Boot. Enable this option to fix that.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Simon Glass <[email protected]>Tested-by Jonathan Gray <[email protected]>Reviewed-by Bin Meng <[email protected]>Tested-by Paul Barker <[email protected]>When did the default behavior on kbd usb support change? I'd be inclined to say that we should restore the exact same functionality scope as before for all affected boards, not just a few well tested ones ;).
In fact, wouldn't it make sense to imply usb kbd support in kconfig always when usb (and gfx?) is present?
Well I think it is odd to have to enable this option separately when you already have decided to use the keyboard. I'm not sure what to do in the interim, but once everything is using DM, we will drop CONFIG_DM_KEYBOARD. So this is really just an interim state.
I don't have strong views either way.
Quoted 7 lines
That said, this patch itself is good either way, just maybe not reaching far enough ;).
Alex
Regards,
Simon
PATCH v3 1/1 rpi: Enable USB keyboard support
Quoted 17 lines · Simon Glass
Hi Alex,
Quoted 14 lines · Alexander Graf
Quoted 11 lines
Am 26.08.2017 um 19:43 schrieb Simon Glass <[email protected]>:
This is currently disabled, so USB keyboards are not detected in U-Boot. Enable this option to fix that.
Signed-off-by Simon Glass <[email protected]>Tested-by Jonathan Gray <[email protected]>Reviewed-by Bin Meng <[email protected]>Tested-by Paul Barker <[email protected]>When did the default behavior on kbd usb support change? I'd be inclined to say that we should restore the exact same functionality scope as before for all affected boards, not just a few well tested ones ;).
Quoted 8 lines
Quoted 1 line
In fact, wouldn't it make sense to imply usb kbd support in kconfig always when usb (and gfx?) is present?
Well I think it is odd to have to enable this option separately when you already have decided to use the keyboard. I'm not sure what to do in the interim, but once everything is using DM, we will drop
CONFIG_DM_KEYBOARD. So this is really just an interim state.I don't have strong views either way.
If someone wants to cook up a patch to add 'imply USB_KEYBOARD' in the right places we can do it that way for now certainly.
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/20170901/3301ee98/attachment.sig>