diff options
author | Valentin Caron <valentin.caron@foss.st.com> | 2024-07-22 18:00:20 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-08-14 11:37:07 +0200 |
commit | 16ad2bc09efbcb9cb24f8d879ac218421cbef690 (patch) | |
tree | d7afa553acec7d0ef8ab4dca2f25497859645ce6 /drivers/rtc/Kconfig | |
parent | dt-bindings: rtc: stm32: describe pinmux nodes (diff) | |
download | linux-16ad2bc09efbcb9cb24f8d879ac218421cbef690.tar.xz linux-16ad2bc09efbcb9cb24f8d879ac218421cbef690.zip |
rtc: stm32: add pinctrl and pinmux interfaces
STM32 RTC is capable to handle 3 specific pins of the soc.
"out1, out2 and out2_rmp". To handle this, we use pinctrl framework.
There is a single pin per group.
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240722160022.454226-3-valentin.caron@foss.st.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 2a95b05982ad..4b1a87027a3d 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1923,6 +1923,11 @@ config RTC_DRV_STM32 tristate "STM32 RTC" select REGMAP_MMIO depends on ARCH_STM32 || COMPILE_TEST + depends on OF + depends on PINCTRL + select PINMUX + select PINCONF + select GENERIC_PINCONF help If you say yes here you get support for the STM32 On-Chip Real Time Clock. |