]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mpc85xx: use gpio-button-hotplug as input subsystem
authorShine <4c.fce2@proton.me>
Thu, 19 Mar 2026 07:38:40 +0000 (08:38 +0100)
committerRobert Marko <robimarko@gmail.com>
Fri, 5 Jun 2026 10:44:29 +0000 (12:44 +0200)
This replaces the standard Linux input subsystem with the
gpio-button-hotplug driver, which is already used with most other
targets for over a decade. While reducing overhead and resource
pressure especially for resource-constrained devices, this will
also allow for configuring things like flip-switches, in addition
to standard pushbuttons.

Will be required for a following commit.

Signed-off-by: Shine <4c.fce2@proton.me>
Tested-by: Edward Chow <equu@openmail.cc>
Link: https://github.com/openwrt/openwrt/pull/22494
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mpc85xx/Makefile

index 3b1685a19ea63942d906d0ee23230ee127d12f50..021510b7f185529627de3e19515f1c773787ff85 100644 (file)
@@ -19,8 +19,7 @@ KERNELNAME:=zImage
 include $(INCLUDE_DIR)/target.mk
 
 DEFAULT_PACKAGES += \
-       kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \
-       kmod-leds-gpio kmod-ath9k wpad-basic-mbedtls kmod-usb2 \
-       uboot-envtools kmod-crypto-hw-talitos
+       kmod-gpio-button-hotplug kmod-leds-gpio kmod-ath9k wpad-basic-mbedtls \
+       kmod-usb2 uboot-envtools kmod-crypto-hw-talitos
 
 $(eval $(call BuildTarget))