Input: adp5588-keys - add support for fw properties
authorNuno Sá <nuno.sa@analog.com>
Wed, 31 Aug 2022 04:00:14 +0000 (21:00 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 31 Aug 2022 04:16:06 +0000 (21:16 -0700)
commit6704a86283b7e79ff7ae36d388466428f6672962
tree6365d02b136611e2b67c764db09b84c08874414a
parente960309ce31865713051854d38740575a6bc0a60
Input: adp5588-keys - add support for fw properties

Use firmware properties (eg: OF) to get the device specific
configuration. This change just replaces the platform data since there
was no platform using it and so, it makes no sense having both.

Special note to the PULL-UP disable setting that is now supported as
part of the gpio subsystem (using 'set_config()' callback).

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220829131553.690063-5-nuno.sa@analog.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/Kconfig
drivers/input/keyboard/adp5588-keys.c
include/linux/platform_data/adp5588.h [deleted file]