Skip to content

Commit 5e91a19

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

File tree

3 files changed

+783
-0
lines changed

3 files changed

+783
-0
lines changed

drivers/pinctrl/sophgo/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,14 @@ config PINCTRL_SOPHGO_CV1812H
3030
This pin controller allows selecting the mux function for
3131
each pin. This driver can also be built as a module called
3232
pinctrl-cv1812h.
33+
34+
config PINCTRL_SOPHGO_SG2000
35+
tristate "Sophgo SG2000 SoC Pinctrl driver"
36+
depends on ARCH_SOPHGO || COMPILE_TEST
37+
depends on OF
38+
select PINCTRL_SOPHGO_CV18XX
39+
help
40+
Say Y to select the pinctrl driver for SG2000 SoC.
41+
This pin controller allows selecting the mux function for
42+
each pin. This driver can also be built as a module called
43+
pinctrl-sg2000.

drivers/pinctrl/sophgo/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
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
6+
obj-$(CONFIG_PINCTRL_SOPHGO_SG2000) += pinctrl-sg2000.o

0 commit comments

Comments
 (0)