From: Hans de Goede <hansg@kernel.org>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
"Arnd Bergmann" <arnd@kernel.org>
Cc: Hans de Goede <hansg@kernel.org>, platform-driver-x86@vger.kernel.org
Subject: [PATCH v4 00/20] x86-android-tablets: convert to use GPIO references + Acer A1-840 support
Date: Sat, 20 Sep 2025 22:06:53 +0200 [thread overview]
Message-ID: <20250920200713.20193-1-hansg@kernel.org> (raw)
Hi all,
Original cover-letter from Dmitry's v2 posting:
"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."
Follow-up changes / new patches from me:
Changes in v4:
- "convert Yoga Tab2 fast charger to GPIO references" change:
Split propagating the platform-dev fwnode to the serdev and
the fwnode_handle_get() call on the serdev fwnode into 2 separate
statements
- New patch: "Simplify node-group [un]registration"
Changes in v3:
- Add missing pinctrl_put() in lenovo_yoga_tab2_830_1050_init_codec()
error-exit paths after the pinctrl_get_select() succeeds
- Adding a swnode to the yt3 spi device changes the name of the SPI/codec
device and the sound/soc/intel/boards/bytcr_wm5102.c machine driver looks
up the code by name, update the machine driver to use the new name.
- Make yoga-tab2-pro-1380-fastcharger.c propagate the fwnode set on
the platform-device to the serdev it creates to fix this.
- Fix the commit message of "platform/x86: x86-android-tablets: convert
gpio_keys devices to GPIO references" which contained a stray reference
to wm5102.
New patches in v3:
- Change sw_bat register mechanism into a generic swnode_group mechanism
- Use swnode_group mechanism to register groups needed, instead of having
init() callbacks manually do this
- Changed my email address in the driver to hansg@kernel.org
- Rebased "platform/x86: x86-android-tablets: Add support for Acer A1-840
tablet" on top, switched that to also use software-nodes for GPIOs and
added it to this series
- Some Lenovo Yoga Tab 2 support fixes
Regards,
Hans
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
Hans de Goede (9):
platform/x86: x86-android-tablets: replace bat_swnode with
swnode_group
platform/x86: x86-android-tablets: use swnode_group instead of manual
registering
platform/x86: x86-android-tablets: Simplify node-group
[un]registration
platform/x86: x86-android-tablets: Update my email address
platform/x86: x86-android-tablets: Move Acer info to its own file
platform/x86: x86-android-tablets: Add support for Acer A1-840 tablet
platform/x86: x86-android-tablets: Simplify
lenovo_yoga_tab2_830_1050_exit()
platform/x86: x86-android-tablets: Fix modules lists for Lenovo
devices
platform/x86: x86-android-tablets: Stop using EPROBE_DEFER
.../lenovo/yoga-tab2-pro-1380-fastcharger.c | 5 +
.../platform/x86/x86-android-tablets/Makefile | 2 +-
.../platform/x86/x86-android-tablets/acer.c | 247 +++++++++++++
.../platform/x86/x86-android-tablets/asus.c | 108 +++---
.../platform/x86/x86-android-tablets/core.c | 118 +++---
.../platform/x86/x86-android-tablets/dmi.c | 12 +-
.../platform/x86/x86-android-tablets/lenovo.c | 291 ++++++++-------
.../platform/x86/x86-android-tablets/other.c | 338 ++++++------------
.../x86/x86-android-tablets/shared-psy-info.c | 34 +-
.../x86/x86-android-tablets/shared-psy-info.h | 8 +-
.../x86/x86-android-tablets/vexia_atla10_ec.c | 2 +-
.../x86-android-tablets/x86-android-tablets.h | 28 +-
sound/soc/intel/boards/bytcr_wm5102.c | 2 +-
13 files changed, 714 insertions(+), 481 deletions(-)
create mode 100644 drivers/platform/x86/x86-android-tablets/acer.c
--
2.51.0
next reply other threads:[~2025-09-20 20:07 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-20 20:06 Hans de Goede [this message]
2025-09-20 20:06 ` [PATCH v4 01/20] platform/x86: x86-android-tablets: convert Goodix devices to GPIO references Hans de Goede
2026-02-08 23:32 ` Yauhen Kharuzhy
2026-02-09 8:08 ` Andy Shevchenko
2026-02-09 11:52 ` Bartosz Golaszewski
2026-02-09 14:00 ` Hans de Goede
2026-02-09 14:18 ` Hans de Goede
2026-02-09 23:13 ` Yauhen Kharuzhy
2026-02-10 10:46 ` Hans de Goede
2026-02-10 17:18 ` Yauhen Kharuzhy
2026-02-09 14:36 ` Bartosz Golaszewski
2026-02-09 14:46 ` Dmitry Torokhov
2026-02-09 16:30 ` Bartosz Golaszewski
2026-02-09 16:40 ` Dmitry Torokhov
2026-02-09 16:45 ` Bartosz Golaszewski
2026-02-09 17:25 ` Dmitry Torokhov
2026-02-09 14:41 ` Dmitry Torokhov
2026-02-09 15:13 ` Arnd Bergmann
2026-02-09 15:22 ` Andy Shevchenko
2026-02-14 0:29 ` Dmitry Torokhov
2026-02-09 15:50 ` Bartosz Golaszewski
2026-02-09 16:25 ` Bartosz Golaszewski
2026-02-09 17:23 ` Dmitry Torokhov
2026-02-09 20:24 ` Bartosz Golaszewski
2026-02-09 20:41 ` Dmitry Torokhov
2026-02-10 9:53 ` Bartosz Golaszewski
2026-02-12 3:44 ` Dmitry Torokhov
2026-02-12 10:01 ` Bartosz Golaszewski
2026-02-12 10:24 ` Bartosz Golaszewski
2026-02-12 10:28 ` Andy Shevchenko
2026-02-12 15:49 ` Dmitry Torokhov
2026-02-12 16:12 ` Andy Shevchenko
2026-02-12 16:14 ` Andy Shevchenko
2026-02-12 16:50 ` Dmitry Torokhov
2026-02-12 17:07 ` Bartosz Golaszewski
2026-02-12 17:18 ` Dmitry Torokhov
2026-02-13 13:41 ` Bartosz Golaszewski
2026-02-13 14:03 ` Arnd Bergmann
2026-02-13 16:05 ` Hans de Goede
2026-02-13 16:18 ` Bartosz Golaszewski
2026-02-12 10:25 ` Andy Shevchenko
2025-09-20 20:06 ` [PATCH v4 02/20] platform/x86: x86-android-tablets: convert Wacom " Hans de Goede
2025-09-20 20:06 ` [PATCH v4 03/20] platform/x86: x86-android-tablets: convert HiDeep " Hans de Goede
2025-09-20 20:06 ` [PATCH v4 04/20] platform/x86: x86-android-tablets: convert Novatek " Hans de Goede
2025-09-20 20:06 ` [PATCH v4 05/20] platform/x86: x86-android-tablets: convert EDT " Hans de Goede
2025-09-20 20:06 ` [PATCH v4 06/20] platform/x86: x86-android-tablets: convert int3496 " Hans de Goede
2025-09-20 20:07 ` [PATCH v4 07/20] platform/x86: x86-android-tablets: convert wm1502 " Hans de Goede
2025-09-20 20:07 ` [PATCH v4 08/20] platform/x86: x86-android-tablets: convert HID-I2C " Hans de Goede
2025-09-20 20:07 ` [PATCH v4 09/20] platform/x86: x86-android-tablets: convert Yoga Tab2 fast charger " Hans de Goede
2025-09-20 20:07 ` [PATCH v4 10/20] platform/x86: x86-android-tablets: remove support for GPIO lookup tables Hans de Goede
2025-09-20 20:07 ` [PATCH v4 11/20] platform/x86: x86-android-tablets: convert gpio_keys devices to GPIO references Hans de Goede
2025-09-20 20:07 ` [PATCH v4 12/20] platform/x86: x86-android-tablets: replace bat_swnode with swnode_group Hans de Goede
2025-09-20 20:07 ` [PATCH v4 13/20] platform/x86: x86-android-tablets: use swnode_group instead of manual registering Hans de Goede
2025-09-20 20:07 ` [PATCH v4 14/20] platform/x86: x86-android-tablets: Simplify node-group [un]registration Hans de Goede
2025-09-21 19:37 ` Andy Shevchenko
2025-09-20 20:07 ` [PATCH v4 15/20] platform/x86: x86-android-tablets: Update my email address Hans de Goede
2025-09-20 20:07 ` [PATCH v4 16/20] platform/x86: x86-android-tablets: Move Acer info to its own file Hans de Goede
2025-09-20 20:07 ` [PATCH v4 17/20] platform/x86: x86-android-tablets: Add support for Acer A1-840 tablet Hans de Goede
2025-09-20 20:07 ` [PATCH v4 18/20] platform/x86: x86-android-tablets: Simplify lenovo_yoga_tab2_830_1050_exit() Hans de Goede
2025-09-20 20:07 ` [PATCH v4 19/20] platform/x86: x86-android-tablets: Fix modules lists for Lenovo devices Hans de Goede
2025-09-20 20:07 ` [PATCH v4 20/20] platform/x86: x86-android-tablets: Stop using EPROBE_DEFER Hans de Goede
2025-09-24 12:58 ` [PATCH v4 00/20] x86-android-tablets: convert to use GPIO references + Acer A1-840 support Ilpo Järvinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250920200713.20193-1-hansg@kernel.org \
--to=hansg@kernel.org \
--cc=andy@kernel.org \
--cc=arnd@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.