]> 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)
commitf29a647174782e7902a757f8d5715bc5f771d6d0
tree6365d02b136611e2b67c764db09b84c08874414a
parentbff0ac40b89052e2ee9a86022528687756b2315d
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]