Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit c4c4637

Browse files
prabhakarladgeertu
authored andcommitted
pinctrl: renesas: Add RZ/G2L pin and gpio controller driver
Add support for pin and gpio controller driver for RZ/G2L SoC. Based on a patch in the BSP by Hien Huynh <[email protected]>. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 7958f88 commit c4c4637

File tree

3 files changed

+1187
-0
lines changed

3 files changed

+1187
-0
lines changed

drivers/pinctrl/renesas/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ config PINCTRL_RENESAS
3737
select PINCTRL_PFC_R8A77990 if ARCH_R8A77990
3838
select PINCTRL_PFC_R8A77995 if ARCH_R8A77995
3939
select PINCTRL_PFC_R8A779A0 if ARCH_R8A779A0
40+
select PINCTRL_RZG2L if ARCH_R9A07G044
4041
select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
4142
select PINCTRL_PFC_SH7264 if CPU_SUBTYPE_SH7264
4243
select PINCTRL_PFC_SH7269 if CPU_SUBTYPE_SH7269
@@ -176,6 +177,16 @@ config PINCTRL_RZA2
176177
help
177178
This selects GPIO and pinctrl driver for Renesas RZ/A2 platforms.
178179

180+
config PINCTRL_RZG2L
181+
bool "pin control support for RZ/G2L" if COMPILE_TEST
182+
depends on OF
183+
select GPIOLIB
184+
select GENERIC_PINCTRL_GROUPS
185+
select GENERIC_PINMUX_FUNCTIONS
186+
select GENERIC_PINCONF
187+
help
188+
This selects GPIO and pinctrl driver for Renesas RZ/G2L platforms.
189+
179190
config PINCTRL_PFC_R8A77470
180191
bool "pin control support for RZ/G1C" if COMPILE_TEST
181192
select PINCTRL_SH_PFC

drivers/pinctrl/renesas/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ obj-$(CONFIG_PINCTRL_PFC_SHX3) += pfc-shx3.o
4646

4747
obj-$(CONFIG_PINCTRL_RZA1) += pinctrl-rza1.o
4848
obj-$(CONFIG_PINCTRL_RZA2) += pinctrl-rza2.o
49+
obj-$(CONFIG_PINCTRL_RZG2L) += pinctrl-rzg2l.o
4950
obj-$(CONFIG_PINCTRL_RZN1) += pinctrl-rzn1.o
5051

5152
ifeq ($(CONFIG_COMPILE_TEST),y)

0 commit comments

Comments
 (0)