X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH v2 00/11] x86-android-tablets: convert to use GPIO references
@ 2025-08-11  2:22 Dmitry Torokhov
  2025-08-11  2:22 ` [PATCH v2 01/11] platform/x86: x86-android-tablets: convert Goodix devices to " Dmitry Torokhov
                   ` (12 more replies)
  0 siblings, 13 replies; 20+ messages in thread
From: Dmitry Torokhov @ 2025-08-11  2:22 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Ilpo Järvinen, Arnd Bergmann, Andy Shevchenko,
	platform-driver-x86, linux-kernel

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.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
Changes in v2:
- Reworked on top of the current linux-next
- Link to v1: https://lore.kernel.org/r/20230512001815.591817-1-dmitry.torokhov@gmail.com

---
Dmitry Torokhov (11):
      platform/x86: x86-android-tablets: convert Goodix devices to GPIO references
      platform/x86: x86-android-tablets: convert Wacom devices to GPIO references
      platform/x86: x86-android-tablets: convert HiDeep devices to GPIO references
      platform/x86: x86-android-tablets: convert Novatek devices to GPIO references
      platform/x86: x86-android-tablets: convert EDT 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 HID-I2C devices to GPIO references
      platform/x86: x86-android-tablets: convert Yoga Tab2 fast charger to GPIO references
      platform/x86: x86-android-tablets: remove support for GPIO lookup tables
      platform/x86: x86-android-tablets: convert gpio_keys devices to GPIO references

 drivers/platform/x86/x86-android-tablets/asus.c    | 102 ++++----
 drivers/platform/x86/x86-android-tablets/core.c    | 109 +++++---
 drivers/platform/x86/x86-android-tablets/lenovo.c  | 279 +++++++++++---------
 drivers/platform/x86/x86-android-tablets/other.c   | 289 ++++++++++-----------
 .../x86/x86-android-tablets/shared-psy-info.c      |  20 --
 .../x86/x86-android-tablets/shared-psy-info.h      |   5 -
 .../x86/x86-android-tablets/x86-android-tablets.h  |  23 +-
 7 files changed, 436 insertions(+), 391 deletions(-)
---
base-commit: b1549501188cc9eba732c25b033df7a53ccc341f
change-id: 20250810-x86-andoroid-tablet-df93908b426b

Best regards,
--  
Dmitry


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2025-09-20 12:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11  2:22 [PATCH v2 00/11] x86-android-tablets: convert to use GPIO references Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 01/11] platform/x86: x86-android-tablets: convert Goodix devices to " Dmitry Torokhov
2025-08-11 10:09   ` Hans de Goede
2025-08-11 16:01     ` Dmitry Torokhov
2025-08-11 17:45       ` Hans de Goede
2025-08-11  2:22 ` [PATCH v2 02/11] platform/x86: x86-android-tablets: convert Wacom " Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 03/11] platform/x86: x86-android-tablets: convert HiDeep " Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 04/11] platform/x86: x86-android-tablets: convert Novatek " Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 05/11] platform/x86: x86-android-tablets: convert EDT " Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 06/11] platform/x86: x86-android-tablets: convert int3496 " Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 07/11] platform/x86: x86-android-tablets: convert wm1502 " Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 08/11] platform/x86: x86-android-tablets: convert HID-I2C " Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 09/11] platform/x86: x86-android-tablets: convert Yoga Tab2 fast charger " Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 10/11] platform/x86: x86-android-tablets: remove support for GPIO lookup tables Dmitry Torokhov
2025-08-11  2:22 ` [PATCH v2 11/11] platform/x86: x86-android-tablets: convert gpio_keys devices to GPIO references Dmitry Torokhov
2025-08-11  9:41 ` [PATCH v2 00/11] x86-android-tablets: convert to use " Hans de Goede
2025-08-11 16:03   ` Dmitry Torokhov
2025-09-19 19:53 ` Hans de Goede
2025-09-19 21:21   ` Dmitry Torokhov
2025-09-20 12:53     ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox