]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: add driver for the input part of qnap-mcu devices
authorHeiko Stuebner <heiko@sntech.de>
Thu, 7 Nov 2024 11:47:09 +0000 (12:47 +0100)
committerLee Jones <lee@kernel.org>
Tue, 17 Dec 2024 13:14:42 +0000 (13:14 +0000)
commitbb7e361191564cbd77f5cfc0f49213d9e799ff10
tree56ca6596e08ce8906d47db914470849b601316ed
parent2ec8bb475743c6f1890cf3245e59cc516b70bf2b
Input: add driver for the input part of qnap-mcu devices

The MCU controls the power-button and beeper, so expose them as input
device. There is of course no interrupt line, so the status of the
power-button needs to be polled. To generate an event the power-button
also needs to be held for 1-2 seconds, so the polling interval does
not need to be overly fast.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20241107114712.538976-7-heiko@sntech.de
Signed-off-by: Lee Jones <lee@kernel.org>
MAINTAINERS
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/qnap-mcu-input.c [new file with mode: 0644]