On Fri, Dec 1, 2023 at 10:23 AM Nam Cao namcao@linutronix.de 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@vger.kernel.org Signed-off-by: Nam Cao namcao@linutronix.de
Patch applied for fixes.
If there is some doubts about the saneness of this patch, seek input from the devicetree maintainers.
Yours, Linus Walleij