From: David Bauer Date: Mon, 13 Jul 2020 15:44:07 +0000 (+0200) Subject: rockchip: use downstream GPIO button implementation X-Git-Tag: v21.02.0-rc1~2207 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=875a04478c177808e86a6a615f0ae0cfe541f2c2;p=openwrt%2Fstaging%2Fchunkeey.git rockchip: use downstream GPIO button implementation Use the OpenWrt netlink GPIO button implementation to forward button presses to procd. This is necessary to make failsafe-mode access using a button possible. Signed-off-by: David Bauer --- diff --git a/target/linux/rockchip/Makefile b/target/linux/rockchip/Makefile index 41f0560bac..8daaad34a7 100644 --- a/target/linux/rockchip/Makefile +++ b/target/linux/rockchip/Makefile @@ -17,7 +17,7 @@ endef include $(INCLUDE_DIR)/target.mk -DEFAULT_PACKAGES += uboot-envtools partx-utils e2fsprogs mkf2fs +DEFAULT_PACKAGES += uboot-envtools partx-utils e2fsprogs mkf2fs kmod-gpio-button-hotplug KERNELNAME:=Image dtbs diff --git a/target/linux/rockchip/armv8/config-5.4 b/target/linux/rockchip/armv8/config-5.4 index 48b05b432b..2d2342e34f 100644 --- a/target/linux/rockchip/armv8/config-5.4 +++ b/target/linux/rockchip/armv8/config-5.4 @@ -221,7 +221,6 @@ CONFIG_KALLSYMS=y CONFIG_KEXEC_CORE=y CONFIG_KEXEC_FILE=y # CONFIG_KEXEC_SIG is not set -CONFIG_KEYBOARD_GPIO=y CONFIG_KSM=y # CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set CONFIG_LEDS_GPIO=y