[PATCH v3 0/4] gpio: timberdale: remove platform data header

Bartosz Golaszewski
2026-03-27T10:49:21Z

There are several GPIO driver header scattered directly under
include/linux/. I'd like to either remove them or move then under
include/linux/gpio/. In case of gpio-timberdale, the platform data
struct can be replaced with generic device properties. This series does
that. It can go either though the MFD tree or GPIO with an Ack from Lee.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Changes in v3:
- Replace magic values with named defines
- Move GPIO_NR_PINS into the MFD driver
- Explain the advantage of using device properties over platform data
- Link to v2: https://patch.msgid.link/20260316-gpio-timberdale-swnode-v2-0-ea0078066871@oss.qualcomm.com

Changes in v2:
- Change the property names to make them consistent with existing ones
used by intel
- Link to v1: https://patch.msgid.link/20260313-gpio-timberdale-swnode-v1-0-4df2e9b1dab5@oss.qualcomm.com

---
Bartosz Golaszewski (4):
mfd: timberdale: move GPIO_NR_PINS into the driver
mfd: timberdale: set up a software node for the GPIO cell
gpio: timberdale: use device properties
gpio: timberdale: remove platform data header

drivers/gpio/gpio-timberdale.c | 26 +++++++++++++-------------
drivers/mfd/timberdale.c | 33 ++++++++++++++++++---------------
drivers/mfd/timberdale.h | 1 -
include/linux/timb_gpio.h | 25 -------------------------
4 files changed, 31 insertions(+), 54 deletions(-)
---
base-commit: e77a5a5cfe43b4c25bd44a3818e487033287517f
change-id: 20260313-gpio-timberdale-swnode-03b1a0945359

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>