Re: [PATCH v2 4/5] pinctrl: renesas: gpio: support software nodes for function GPIOs

Bartosz Golaszewski <[email protected]>
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.kernel,gmane.linux.kernel.renesas-soc,gmane.linux.kernel.gpio
Message-ID <CAMRc=Mc=vRLNyWwzmERjXNuFmi-LFfwLJd7aG6ZM2RTi=Sr03A@mail.gmail.com>
On Thu, 21 May 2026 07:13:20 +0200, Dmitry Torokhov
<[email protected]> said:
> This patch extends the sh-pfc GPIO driver to support software-node-based
> configuration for the secondary 'function' GPIO chip.
>
> While the primary GPIO chip typically uses the firmware node attached to
> the parent platform device, the secondary chip should target a specific
> child node to avoid ambiguity when defining GPIO hogs or properties.
>
> Update gpio_function_setup() to look for a child node named 'functions',
> but only when the parent is a software node. This ensures the behavior
> is restricted to legacy platforms being migrated to software nodes.
>
> Assisted-by: Gemini:gemini-3.1-pro
> Signed-off-by: Dmitry Torokhov <[email protected]>
> ---

Reviewed-by: Bartosz Golaszewski <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.