]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82f9853e9c7d4cf01557ade2665187ac7c122efa
tree6365d02b136611e2b67c764db09b84c08874414a
parente3ea3e5713c5ff0915559f15354f33ab565abb0b
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]