]> git.ipfire.org Git - thirdparty/openwrt.git/commit
rockchip: enable SARADC; add buttons hotplug and ADC kmods to default packages
authorRyan Leung <untilscour@protonmail.com>
Sat, 9 May 2026 00:42:39 +0000 (10:42 +1000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 14 May 2026 15:52:56 +0000 (17:52 +0200)
commite13cbab6840b2a453e731c90b58f5b312490ae30
treef3532cc1cc33765eebfc91bed435984b0ff76a4b
parent3880c7870d85f37a9426fb883741174baa260880
rockchip: enable SARADC; add buttons hotplug and ADC kmods to default packages

Select `CONFIG_ROCKCHIP_SARADC=y` to enable Rockchip SAR ADC

Add ADC Ladder Buttons driver as a kernel module as well as `kmod-button-hotplug` to the list of
default packages for Rockchip targets that have buttons connected to ADC, not including some
devices (e.g. NanoPi R76S) that have ADC buttons which are not in the device tree.

This is needed to use buttons on Rockchip devices that are connected to ADC and not GPIO

Tested on FriendlyELEC NanoPi M5

Signed-off-by: Ryan Leung <untilscour@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/23008
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/input.mk
target/linux/rockchip/armv8/config-6.12
target/linux/rockchip/armv8/config-6.18
target/linux/rockchip/image/armv8.mk