]> git.baikalelectronics.ru Git - kernel.git/commitdiff
pinctrl: renesas: rzn1: Enable missing PINMUX
authorRalph Siemsen <ralph.siemsen@linaro.org>
Wed, 4 Oct 2023 20:00:08 +0000 (16:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Oct 2023 21:08:54 +0000 (23:08 +0200)
[ Upstream commit f055ff23c331f28aa4ace4b72dc56f63b9a726c8 ]

Enable pin muxing (eg. programmable function), so that the RZ/N1 GPIO
pins will be configured as specified by the pinmux in the DTS.

This used to be enabled implicitly via CONFIG_GENERIC_PINMUX_FUNCTIONS,
however that was removed, since the RZ/N1 driver does not call any of
the generic pinmux functions.

Fixes: 1308fb4e4eae14e6 ("pinctrl: rzn1: Do not select GENERIC_PIN{CTRL_GROUPS,MUX_FUNCTIONS}")
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231004200008.1306798-1-ralph.siemsen@linaro.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/renesas/Kconfig

index 0903a0a4183198d21f829542c97edab74ecbad29..1ef8759802618d2a6c343fc4f0d02b3d0f0552d9 100644 (file)
@@ -240,6 +240,7 @@ config PINCTRL_RZN1
        depends on OF
        depends on ARCH_RZN1 || COMPILE_TEST
        select GENERIC_PINCONF
+       select PINMUX
        help
          This selects pinctrl driver for Renesas RZ/N1 devices.