Skip to content

Commit e7a4141

Browse files
inochisalinusw
authored andcommitted
pinctrl: sophgo: add support for SG2002 SoC
Add pin definition driver of SG2002. Signed-off-by: Inochi Amaoto <[email protected]> Link: https://lore.kernel.org/IA1PR20MB4953110EF4EAFA65EA2272E3BBB32@IA1PR20MB4953.namprd20.prod.outlook.com Signed-off-by: Linus Walleij <[email protected]>
1 parent 5e91a19 commit e7a4141

File tree

3 files changed

+554
-0
lines changed

3 files changed

+554
-0
lines changed

drivers/pinctrl/sophgo/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,14 @@ config PINCTRL_SOPHGO_SG2000
4141
This pin controller allows selecting the mux function for
4242
each pin. This driver can also be built as a module called
4343
pinctrl-sg2000.
44+
45+
config PINCTRL_SOPHGO_SG2002
46+
tristate "Sophgo SG2000 SoC Pinctrl driver"
47+
depends on ARCH_SOPHGO || COMPILE_TEST
48+
depends on OF
49+
select PINCTRL_SOPHGO_CV18XX
50+
help
51+
Say Y to select the pinctrl driver for SG2002 SoC.
52+
This pin controller allows selecting the mux function for
53+
each pin. This driver can also be built as a module called
54+
pinctrl-sg2002.

drivers/pinctrl/sophgo/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ obj-$(CONFIG_PINCTRL_SOPHGO_CV18XX) += pinctrl-cv18xx.o
44
obj-$(CONFIG_PINCTRL_SOPHGO_CV1800B) += pinctrl-cv1800b.o
55
obj-$(CONFIG_PINCTRL_SOPHGO_CV1812H) += pinctrl-cv1812h.o
66
obj-$(CONFIG_PINCTRL_SOPHGO_SG2000) += pinctrl-sg2000.o
7+
obj-$(CONFIG_PINCTRL_SOPHGO_SG2002) += pinctrl-sg2002.o

0 commit comments

Comments
 (0)