Re: [PATCH 2/2] pinctrl: starfive: jh7100: ignore disabled device tree nodes

From: Linus Walleij
Date: Mon Dec 04 2023 - 05:14:29 EST


On Fri, Dec 1, 2023 at 10:23 AM Nam Cao <namcao@xxxxxxxxxxxxx> wrote:

> The driver always registers pin configurations in device tree. This can
> cause some inconvenience to users, as pin configurations in the base
> device tree cannot be disabled in the device tree overlay, even when the
> relevant devices are not used.
>
> Ignore disabled pin configuration nodes in device tree.
>
> Fixes: ec648f6b7686 ("pinctrl: starfive: Add pinctrl driver for StarFive SoCs")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Nam Cao <namcao@xxxxxxxxxxxxx>

Patch applied for fixes.

If there is some doubts about the saneness of this patch, seek input
from the devicetree maintainers.

Yours,
Linus Walleij