[PATCH 0/5] Decrease the usage of global GPIO numbers for LEDs
Gregory CLEMENT
gregory.clement at bootlin.com
Sun May 5 09:19:25 PDT 2024
Linus Walleij <linus.walleij at linaro.org> writes:
> Fix up the orion boards to use GPIO descriptor tables
> instead of hardcoded GPIO numbers in all board files.
>
> git grep 'struct gpio_led_platform_data' gives a list of
> suspects. We wade through them and root out the use of
> global GPIO numbers in favor of descriptors.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
All patches applied on mvebu/arm
Thanks,
Gregory
> ---
> Linus Walleij (5):
> ARM: orion5x: Convert D2Net board to GPIO descriptors for LEDs
> ARM: orion5x: Convert DNS323 board to GPIO descriptors for LEDs
> ARM: orion5x: Convert MV2120 board to GPIO descriptors for LEDs
> ARM: orion5x: Convert Net2big board to GPIO descriptors for LEDs
> ARM: orion5x: Convert TS409 board to GPIO descriptors for LEDs
>
> arch/arm/mach-orion5x/board-d2net.c | 16 +++++++--
> arch/arm/mach-orion5x/dns323-setup.c | 63 ++++++++++++++++++++++++++---------
> arch/arm/mach-orion5x/mv2120-setup.c | 29 +++++++++++-----
> arch/arm/mach-orion5x/net2big-setup.c | 21 +++++++++---
> arch/arm/mach-orion5x/ts409-setup.c | 25 +++++++++-----
> 5 files changed, 116 insertions(+), 38 deletions(-)
> ---
> base-commit: 4cece764965020c22cff7665b18a012006359095
> change-id: 20240423-gpio-leds-9d584c9a8659
>
> Best regards,
> --
> Linus Walleij <linus.walleij at linaro.org>
More information about the linux-arm-kernel
mailing list