[PATCH v7 5/6] Input: Add tps65219 interrupt driven powerbutton

Lee Jones lee at kernel.org
Thu Nov 17 03:53:05 PST 2022


On Fri, 04 Nov 2022, Jerome Neanne wrote:

> From: Markus Schneider-Pargmann <msp at baylibre.com>
> 
> TPS65219 has different interrupts compared to other TPS6521* chips.
> TPS65219 defines two interrupts for the powerbutton one for push and one
> for release.
> 
> This driver is very simple in that it maps the push interrupt to a key
> input and the release interrupt to a key release.
> 
> Signed-off-by: Markus Schneider-Pargmann <msp at baylibre.com>
> Signed-off-by: Jerome Neanne <jneanne at baylibre.com>
> 
> Acked-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
> 
> Please feel free to merge through MFD tree.
> ---
>  drivers/input/misc/Kconfig              |  10 ++
>  drivers/input/misc/Makefile             |   1 +
>  drivers/input/misc/tps65219-pwrbutton.c | 148 ++++++++++++++++++++++++
>  3 files changed, 159 insertions(+)
>  create mode 100644 drivers/input/misc/tps65219-pwrbutton.c

Applied, thanks.

-- 
Lee Jones [李琼斯]



More information about the linux-arm-kernel mailing list