| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# Sophgo SoC PINCTRL drivers |
| 4 |
# |
| 5 |
|
| 6 |
config PINCTRL_SOPHGO_COMMON |
| 7 |
tristate |
| 8 |
select GENERIC_PINCTRL_GROUPS |
| 9 |
select GENERIC_PINMUX_FUNCTIONS |
| 10 |
select GENERIC_PINCONF |
| 11 |
|
| 12 |
config PINCTRL_SOPHGO_CV18XX_OPS |
| 13 |
bool |
| 14 |
|
| 15 |
config PINCTRL_SOPHGO_CV1800B |
| 16 |
tristate "Sophgo CV1800B SoC Pinctrl driver" |
| 17 |
depends on ARCH_SOPHGO || COMPILE_TEST |
| 18 |
depends on OF |
| 19 |
select PINCTRL_SOPHGO_COMMON |
| 20 |
select PINCTRL_SOPHGO_CV18XX_OPS |
| 21 |
help |
| 22 |
Say Y to select the pinctrl driver for CV1800B SoC. |
| 23 |
This pin controller allows selecting the mux function for |
| 24 |
each pin. This driver can also be built as a module called |
| 25 |
pinctrl-cv1800b. |
| 26 |
|
| 27 |
config PINCTRL_SOPHGO_CV1812H |
| 28 |
tristate "Sophgo CV1812H SoC Pinctrl driver" |
| 29 |
depends on ARCH_SOPHGO || COMPILE_TEST |
| 30 |
depends on OF |
| 31 |
select PINCTRL_SOPHGO_COMMON |
| 32 |
select PINCTRL_SOPHGO_CV18XX_OPS |
| 33 |
help |
| 34 |
Say Y to select the pinctrl driver for CV1812H SoC. |
| 35 |
This pin controller allows selecting the mux function for |
| 36 |
each pin. This driver can also be built as a module called |
| 37 |
pinctrl-cv1812h. |
| 38 |
|
| 39 |
config PINCTRL_SOPHGO_SG2000 |
| 40 |
tristate "Sophgo SG2000 SoC Pinctrl driver" |
| 41 |
depends on ARCH_SOPHGO || COMPILE_TEST |
| 42 |
depends on OF |
| 43 |
select PINCTRL_SOPHGO_COMMON |
| 44 |
select PINCTRL_SOPHGO_CV18XX_OPS |
| 45 |
help |
| 46 |
Say Y to select the pinctrl driver for SG2000 SoC. |
| 47 |
This pin controller allows selecting the mux function for |
| 48 |
each pin. This driver can also be built as a module called |
| 49 |
pinctrl-sg2000. |
| 50 |
|
| 51 |
config PINCTRL_SOPHGO_SG2002 |
| 52 |
tristate "Sophgo SG2002 SoC Pinctrl driver" |
| 53 |
depends on ARCH_SOPHGO || COMPILE_TEST |
| 54 |
depends on OF |
| 55 |
select PINCTRL_SOPHGO_COMMON |
| 56 |
select PINCTRL_SOPHGO_CV18XX_OPS |
| 57 |
help |
| 58 |
Say Y to select the pinctrl driver for SG2002 SoC. |
| 59 |
This pin controller allows selecting the mux function for |
| 60 |
each pin. This driver can also be built as a module called |
| 61 |
pinctrl-sg2002. |
| 62 |
|
| 63 |
config PINCTRL_SOPHGO_SG2042_OPS |
| 64 |
bool |
| 65 |
|
| 66 |
config PINCTRL_SOPHGO_SG2042 |
| 67 |
tristate "Sophgo SG2042 SoC Pinctrl driver" |
| 68 |
depends on ARCH_SOPHGO || COMPILE_TEST |
| 69 |
depends on OF |
| 70 |
select PINCTRL_SOPHGO_COMMON |
| 71 |
select PINCTRL_SOPHGO_SG2042_OPS |
| 72 |
help |
| 73 |
Say Y to select the pinctrl driver for SG2042 SoC. |
| 74 |
This pin controller allows selecting the mux function for |
| 75 |
each pin. This driver can also be built as a module called |
| 76 |
pinctrl-sg2042. |
| 77 |
|
| 78 |
config PINCTRL_SOPHGO_SG2044 |
| 79 |
tristate "Sophgo SG2044 SoC Pinctrl driver" |
| 80 |
depends on ARCH_SOPHGO || COMPILE_TEST |
| 81 |
depends on OF |
| 82 |
select PINCTRL_SOPHGO_COMMON |
| 83 |
select PINCTRL_SOPHGO_SG2042_OPS |
| 84 |
help |
| 85 |
Say Y to select the pinctrl driver for SG2044 SoC. |
| 86 |
This pin controller allows selecting the mux function for |
| 87 |
each pin. This driver can also be built as a module called |
| 88 |
pinctrl-sg2044. |