summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/renesas/Kconfig
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2022-06-24 09:48:33 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2022-07-05 09:12:36 +0200
commit92a9b825257614af19cfb538d1adedbe83408b9a (patch)
treebacfa0964ecb9654ebc3723b132e62f251d523c0 /drivers/pinctrl/renesas/Kconfig
parent34e3b69b1edc966f0f4dcdd880afba3a2dad8c09 (diff)
downloadlinux-stable-92a9b825257614af19cfb538d1adedbe83408b9a.tar.gz
linux-stable-92a9b825257614af19cfb538d1adedbe83408b9a.tar.bz2
linux-stable-92a9b825257614af19cfb538d1adedbe83408b9a.zip
pinctrl: renesas: Add RZ/V2M pin and gpio controller driver
Add support for pin and gpio controller driver for RZ/V2M SoC. Based on the RZ/G2L driver. Note that the DETDO and DETMS dedicated pins are currently not documented in the HW manual as to which pin group they are in. HW team has since said that the output level of 1.8V I/O group 4 (for MD0-7, and debugger) is the same as the 1.8V I/O group 3. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20220624084833.22605-3-phil.edworthy@renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/pinctrl/renesas/Kconfig')
-rw-r--r--drivers/pinctrl/renesas/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/pinctrl/renesas/Kconfig b/drivers/pinctrl/renesas/Kconfig
index 961007ce7b3a..d8c1aee88823 100644
--- a/drivers/pinctrl/renesas/Kconfig
+++ b/drivers/pinctrl/renesas/Kconfig
@@ -39,6 +39,7 @@ config PINCTRL_RENESAS
select PINCTRL_PFC_R8A779A0 if ARCH_R8A779A0
select PINCTRL_PFC_R8A779F0 if ARCH_R8A779F0
select PINCTRL_RZG2L if ARCH_RZG2L
+ select PINCTRL_RZV2M if ARCH_R9A09G011
select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
select PINCTRL_PFC_SH7264 if CPU_SUBTYPE_SH7264
select PINCTRL_PFC_SH7269 if CPU_SUBTYPE_SH7269
@@ -237,6 +238,18 @@ config PINCTRL_RZN1
help
This selects pinctrl driver for Renesas RZ/N1 devices.
+config PINCTRL_RZV2M
+ bool "pin control support for RZ/V2M"
+ depends on OF
+ depends on ARCH_R9A09G011 || COMPILE_TEST
+ select GPIOLIB
+ select GENERIC_PINCTRL_GROUPS
+ select GENERIC_PINMUX_FUNCTIONS
+ select GENERIC_PINCONF
+ help
+ This selects GPIO and pinctrl driver for Renesas RZ/V2M
+ platforms.
+
config PINCTRL_PFC_SH7203
bool "pin control support for SH7203" if COMPILE_TEST
select PINCTRL_SH_FUNC_GPIO