[PATCH] input: Correct dependencies for BUTTON_KEYBOARD
Casey Connolly
casey.connolly at linaro.org
Thu Mar 19 20:52:08 CET 2026
On 17/03/2026 02:24, Tom Rini wrote:
> As exposed by "make randconfig", we have an issue with the dependencies
> for BUTTON_KEYBOARD. This needs to also depend on DM_GPIO, and then
> select BUTTON as well as BUTTON_GPIO, in order to meet all its
> requirements.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Casey Connolly <casey.connolly at linaro.org>
> ---
> Cc: Casey Connolly <casey.connolly at linaro.org>
> ---
> drivers/input/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
> index 47ce0ea690fd..5bf122c55051 100644
> --- a/drivers/input/Kconfig
> +++ b/drivers/input/Kconfig
> @@ -48,7 +48,8 @@ config APPLE_SPI_KEYB
>
> config BUTTON_KEYBOARD
> bool "Buttons as keyboard"
> - depends on DM_KEYBOARD
> + depends on DM_KEYBOARD && DM_GPIO
> + select BUTTON
> select BUTTON_GPIO
> help
> Enable support for mapping buttons to keycode events. Use linux,code button driver
--
// Casey (she/her)
More information about the U-Boot
mailing list