From f37476a856ee67e75e3b9c9a24b6ba97350e26bc Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Wed, 27 May 2026 10:38:50 +1000 Subject: [PATCH] rockchip: enable maskrom button for NanoPi R5C/R5S The MASKROM button was added to the device tree for FriendlyELEC NanoPi R5C/R5S in Linux 6.17 in 07e04c071a35 ("arm64: dts: rockchip: Add maskrom button to NanoPi R5S + R5C"). Now that rockchip target has switched to 6.18 in 67740e311b8e ("rockchip: switch to kernel 6.18"), add `kmod-button-hotplug` and `kmod-input-adc-keys` to the default packages for NanoPi R5C/R5S Signed-off-by: Ryan Leung Link: https://github.com/openwrt/openwrt/pull/23558 Signed-off-by: Jonas Jelonek --- target/linux/rockchip/image/armv8.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk index a9d8551b31..5e99eec835 100644 --- a/target/linux/rockchip/image/armv8.mk +++ b/target/linux/rockchip/image/armv8.mk @@ -151,7 +151,7 @@ define Device/friendlyarm_nanopi-r5c $(Device/rk3568) DEVICE_VENDOR := FriendlyARM DEVICE_MODEL := NanoPi R5C - DEVICE_PACKAGES := kmod-r8169 kmod-rtw88-8822ce rtl8822ce-firmware wpad-basic-mbedtls + DEVICE_PACKAGES := kmod-button-hotplug kmod-input-adc-keys kmod-r8169 kmod-rtw88-8822ce rtl8822ce-firmware wpad-basic-mbedtls endef TARGET_DEVICES += friendlyarm_nanopi-r5c @@ -159,7 +159,7 @@ define Device/friendlyarm_nanopi-r5s $(Device/rk3568) DEVICE_VENDOR := FriendlyARM DEVICE_MODEL := NanoPi R5S - DEVICE_PACKAGES := kmod-r8169 + DEVICE_PACKAGES := kmod-button-hotplug kmod-input-adc-keys kmod-r8169 endef TARGET_DEVICES += friendlyarm_nanopi-r5s