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

From: Lee Jones

Date: Thu Apr 09 2026 - 09:31:53 EST


On Fri, 27 Mar 2026, Bartosz Golaszewski wrote:

> 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@xxxxxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxxx
>
> 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@xxxxxxxxxxxxxxxx

Note to self: take as an IB after -rc1

--
Lee Jones [李琼斯]