Kconfig 2.6 KB

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