diff mbox series

pinctrl: wpcm450: select MFD_SYSCON

Message ID 20230412185049.3782842-1-j.neuschaefer@gmx.net
State New
Headers show
Series pinctrl: wpcm450: select MFD_SYSCON | expand

Commit Message

J. Neuschäfer April 12, 2023, 6:50 p.m. UTC
The pinctrl-wpcm450 driver relies on MFD_SYSCON functionality in order
to find some of its MMIO registers. Select MFD_SYSCON from
PINCTRL_WPCM450 to ensure that it's enabled.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 drivers/pinctrl/nuvoton/Kconfig | 1 +
 1 file changed, 1 insertion(+)

--
2.39.2

Comments

Linus Walleij April 21, 2023, 8:22 a.m. UTC | #1
On Wed, Apr 12, 2023 at 8:50 PM Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:

> The pinctrl-wpcm450 driver relies on MFD_SYSCON functionality in order
> to find some of its MMIO registers. Select MFD_SYSCON from
> PINCTRL_WPCM450 to ensure that it's enabled.
>
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>

Patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/nuvoton/Kconfig b/drivers/pinctrl/nuvoton/Kconfig
index 852b0d0eb08e0..8fe61b3481818 100644
--- a/drivers/pinctrl/nuvoton/Kconfig
+++ b/drivers/pinctrl/nuvoton/Kconfig
@@ -11,6 +11,7 @@  config PINCTRL_WPCM450
 	select GPIOLIB
 	select GPIO_GENERIC
 	select GPIOLIB_IRQCHIP
+	select MFD_SYSCON
 	help
 	  Say Y or M here to enable pin controller and GPIO support for
 	  the Nuvoton WPCM450 SoC. This is strongly recommended when