Re: [PATCH v2] pinctrl: amlogic: a4: Allow functions without groups

From: Linus Walleij

Date: Wed Nov 18 2026 - 13:19:05 EST


On Tue, Nov 10, 2026 at 6:09 AM Xianwei Zhao via B4 Relay
<devnull+xianwei.zhao.amlogic.com@xxxxxxxxxx> wrote:

> From: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>
>
> Allow function nodes without child groups during device tree
> parsing instead of returning an error.
>
> Only count and parse nodes with the "func-" prefix as pinctrl
> functions, ignoring other non-GPIO child nodes.
>
> This allows the driver to support function nodes without
> groups and avoid treating unrelated device tree nodes as
> pinctrl functions.
>
> Signed-off-by: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>
> ---
> Add debugging information for error dts and Error pinctrl config not affect normal pin work.
> ---
> Changes in v2:

Dropped v1 and applied this instead.

Yours,
Linus Walleij