[PATCH 14/14] ARM: s3c: crag6410 - convert GPIO lookup tables to property entries

Krzysztof Kozlowski krzk at kernel.org
Thu Aug 22 08:49:14 PDT 2024


On Sun, Aug 18, 2024 at 09:58:11PM -0700, Dmitry Torokhov wrote:
> Static property entries support defining GPIOs and are more similar to
> device tree properties and are not prone to losing link between device
> and a lookup table because of changes in device name. Convert the board
> to use them.
> 
> This also fixes issue with recent conversion to GPIO descriptors
> where GPIO lookup tables were specifying incorrect GPIO chip name
> ("GPIO<N>" vs "GP<N>").
> 
> Fixes: 10a366f36e2a ("ASoC: wm1250-ev1: Convert to GPIO descriptors")
> Fixes: a45cf3cc72dd ("spi: s3c64xx: Convert to use GPIO descriptors")
> Fixes: 9a5ed0bac86e ("regulator: wm831x: Convert to use GPIO descriptors")
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
> ---
>  arch/arm/mach-s3c/devs.c          |  35 ----------
>  arch/arm/mach-s3c/devs.h          |   1 -
>  arch/arm/mach-s3c/mach-crag6410.c | 108 ++++++++++++++++++------------
>  3 files changed, 67 insertions(+), 77 deletions(-)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list