Skip to content

Commit d359de4

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

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
@@ -19,3 +19,14 @@ config PINCTRL_SOPHGO_CV1800B
1919
This pin controller allows selecting the mux function for
2020
each pin. This driver can also be built as a module called
2121
pinctrl-cv1800b.
22+
23+
config PINCTRL_SOPHGO_CV1812H
24+
tristate "Sophgo CV1812H SoC Pinctrl driver"
25+
depends on ARCH_SOPHGO || COMPILE_TEST
26+
depends on OF
27+
select PINCTRL_SOPHGO_CV18XX
28+
help
29+
Say Y to select the pinctrl driver for CV1812H SoC.
30+
This pin controller allows selecting the mux function for
31+
each pin. This driver can also be built as a module called
32+
pinctrl-cv1812h.

drivers/pinctrl/sophgo/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
obj-$(CONFIG_PINCTRL_SOPHGO_CV18XX) += pinctrl-cv18xx.o
44
obj-$(CONFIG_PINCTRL_SOPHGO_CV1800B) += pinctrl-cv1800b.o
5+
obj-$(CONFIG_PINCTRL_SOPHGO_CV1812H) += pinctrl-cv1812h.o

0 commit comments

Comments
 (0)