Re: [PATCH] pinctrl: renesas: rzg2l: Validate pins before setting mux function
From: Geert Uytterhoeven
Date: Thu Jun 19 2025 - 08:43:57 EST
On Mon, 16 Jun 2025 at 15:27, Prabhakar <prabhakar.csengg@xxxxxxxxx> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
>
> Ensure only valid pins are configured by validating pin mappings before
> setting the mux function.
>
> Rename rzg2l_validate_gpio_pin() to rzg2l_validate_pin() to reflect its
> broader purpose validating both GPIO pins and muxed pins. This helps
> avoid invalid configurations.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
i.e. will queue in renesas-pinctrl for v6.17.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds