[PATCH 0/5] Remove support for platform data from matrix keypad driver

Dmitry Torokhov
2024-08-05T01:47:21Z

Hi,

This series attempts to remove support for platform data from
matrix_keypad driver, and have it use generic device properties only
for the keypad configuration. Spitz is the only board [left] that
uses platform data.

As part of the migration I am also dropping support for "clustered"
interrupt mode, as it was only available through platform data and there
are no users of it in the mainline kernel.

Additionally gpio-keys device used by Spitz converted to use device
properties instead of platform data.

I would prefer not to have the song and dance of merging first 2 patches
through the input tree, waiting, merging the spitz patches through SoC
tree, waiting, and finally merging the last patch to matrix keypad
through input again, so maybe we could merge it all through SoC?
Alternatively, I could merge everything through input. What do you
think?

Dmitry Torokhov (5):
Input: matrix_keypad - remove support for clustered interrupt
Input: matrix_keypad - switch to gpiod API and generic device
properties
ARM: spitz: Use software nodes/properties for the GPIO-driven buttons
ARM: spitz: Use software nodes/properties for the matrix keypad
Input: matrix_keypad - remove support for platform data

arch/arm/mach-pxa/spitz.c | 163 ++++++++----
drivers/input/keyboard/matrix_keypad.c | 334 ++++++++++---------------
include/linux/input/matrix_keypad.h | 48 ----
3 files changed, 248 insertions(+), 297 deletions(-)

Thanks.

--
Dmitry