diff options
author | Quentin Schulz <quentin.schulz@cherry.de> | 2024-06-14 13:04:56 +0200 |
---|---|---|
committer | Quentin Schulz <quentin.schulz@cherry.de> | 2024-07-02 11:40:57 +0200 |
commit | 29e28ea6dcf0eaad774917eb376e319ff7887504 (patch) | |
tree | 2b2caf0906cd1c9637d3158badac5b320408f541 | |
parent | d014993b8edc3bf204b89020f34708e06298f5ac (diff) |
FROMLIST: rockchip: puma-rk3399: add button support
The Haikou Devkit exposes 4 buttons over GPIO so let's enable their
support so their status can be queried from the `button` command from
the CLI.
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Relates-to: TIGR-184
Link: https://lore.kernel.org/r/20240614-ringneck-no-gadget-v1-4-d3bc6e5088de@cherry.de
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
-rw-r--r-- | configs/puma-rk3399_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index 5319239f989..bc9a79107e0 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma-rk3399_defconfig @@ -56,6 +56,8 @@ CONFIG_ENV_SPI_MAX_HZ=50000000 CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_MMC_ENV_DEV=1 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y +CONFIG_BUTTON=y +CONFIG_BUTTON_GPIO=y CONFIG_GPIO_HOG=y CONFIG_SPL_GPIO_HOG=y CONFIG_ROCKCHIP_GPIO=y |