projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b879001
)
rockchip: puma-rk3399: add button support
author
Quentin Schulz
<quentin.schulz@cherry.de>
Fri, 14 Jun 2024 11:04:56 +0000
(13:04 +0200)
committer
Kever Yang
<kever.yang@rock-chips.com>
Wed, 17 Jul 2024 03:54:23 +0000
(11:54 +0800)
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>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/puma-rk3399_defconfig
patch
|
blob
|
history
diff --git
a/configs/puma-rk3399_defconfig
b/configs/puma-rk3399_defconfig
index 5319239f9891e74c2553202a92608dde40b0135c..bc9a79107e040783333ee78d397bb2503591da9f 100644
(file)
--- 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