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

Linus Walleij linusw at kernel.org
Wed Nov 18 10:18:45 PST 2026


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

> From: Xianwei Zhao <xianwei.zhao at amlogic.com>
>
> 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 at amlogic.com>
> ---
> 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



More information about the linux-arm-kernel mailing list