linux-stable/drivers/pinctrl/starfive
Nam Cao 6e827b1821 pinctrl: starfive: jh7100: ignore disabled device tree nodes
commit 5c584f175d upstream.

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: ec648f6b76 ("pinctrl: starfive: Add pinctrl driver for StarFive SoCs")
Cc:  <stable@vger.kernel.org>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/fe4c15dcc3074412326b8dc296b0cbccf79c49bf.1701422582.git.namcao@linutronix.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-01 12:42:45 +00:00
..
Kconfig pinctrl: starfive: Add StarFive JH7110 aon controller driver 2023-02-10 23:44:07 +01:00
Makefile pinctrl: starfive: Add StarFive JH7110 aon controller driver 2023-02-10 23:44:07 +01:00
pinctrl-starfive-jh7100.c pinctrl: starfive: jh7100: ignore disabled device tree nodes 2024-01-01 12:42:45 +00:00
pinctrl-starfive-jh7110-aon.c pinctrl: starfive: jh7110: Add system pm ops to save and restore context 2023-09-12 10:09:40 +02:00
pinctrl-starfive-jh7110-sys.c pinctrl: starfive: jh7110: Add system pm ops to save and restore context 2023-09-12 10:09:40 +02:00
pinctrl-starfive-jh7110.c pinctrl: starfive: jh7110: ignore disabled device tree nodes 2024-01-01 12:42:45 +00:00
pinctrl-starfive-jh7110.h pinctrl: starfive: jh7110: Add system pm ops to save and restore context 2023-09-12 10:09:40 +02:00