Messages in this thread | | | From | Dmitry Torokhov <> | Subject | [PATCH 0/4] x86-android-tablets: convert to using GPIO references | Date | Thu, 11 May 2023 17:18:09 -0700 |
| |
Hi Hans,
This series came about because now software nodes can be used to describe GPIOs (via PROPERTY_ENTRY_GPIO() macros) and I would like to eventually get rid of gpio_keys_platform_data structure.
So while I was doing the conversions from GPIO_LOOKUP() tables for gpio_keys devices I decided to convert the rest of them as well. Maybe some time in the future we can drop support for GPIO_LOOKUP() and rely on device properties exclusively.
This is completely untested.
Thanks.
Dmitry Torokhov (4): platform/x86: x86-android-tablets: convert Goodix devices to GPIO references platform/x86: x86-android-tablets: convert int3496 devices to GPIO references platform/x86: x86-android-tablets: convert wm1502 devices to GPIO references platform/x86: x86-android-tablets: convert gpio_keys devices to GPIO references
drivers/platform/x86/x86-android-tablets.c | 355 ++++++++++++--------- 1 file changed, 201 insertions(+), 154 deletions(-)
-- Dmitry
| |