Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config PINCTRL_STARFIVE_JH7100
  3. tristate "Pinctrl and GPIO driver for the StarFive JH7100 SoC"
  4. depends on SOC_STARFIVE || COMPILE_TEST
  5. depends on OF
  6. select GENERIC_PINCTRL_GROUPS
  7. select GENERIC_PINMUX_FUNCTIONS
  8. select GENERIC_PINCONF
  9. select GPIOLIB
  10. select GPIOLIB_IRQCHIP
  11. select OF_GPIO
  12. default SOC_STARFIVE
  13. help
  14. Say yes here to support pin control on the StarFive JH7100 SoC.
  15. This also provides an interface to the GPIO pins not used by other
  16. peripherals supporting inputs, outputs, configuring pull-up/pull-down
  17. and interrupts on input changes.
  18. config PINCTRL_STARFIVE_JH7110
  19. bool
  20. select GENERIC_PINCTRL_GROUPS
  21. select GENERIC_PINMUX_FUNCTIONS
  22. select GENERIC_PINCONF
  23. select GPIOLIB
  24. select GPIOLIB_IRQCHIP
  25. select OF_GPIO
  26. config PINCTRL_STARFIVE_JH7110_SYS
  27. tristate "System pinctrl and GPIO driver for the StarFive JH7110 SoC"
  28. depends on SOC_STARFIVE || COMPILE_TEST
  29. depends on OF
  30. select PINCTRL_STARFIVE_JH7110
  31. default SOC_STARFIVE
  32. help
  33. Say yes here to support system pin control on the StarFive JH7110 SoC.
  34. This also provides an interface to the GPIO pins not used by other
  35. peripherals supporting inputs, outputs, configuring pull-up/pull-down
  36. and interrupts on input changes.
  37. config PINCTRL_STARFIVE_JH7110_AON
  38. tristate "Always-on pinctrl and GPIO driver for the StarFive JH7110 SoC"
  39. depends on SOC_STARFIVE || COMPILE_TEST
  40. depends on OF
  41. select PINCTRL_STARFIVE_JH7110
  42. default SOC_STARFIVE
  43. help
  44. Say yes here to support always-on pin control on the StarFive JH7110 SoC.
  45. This also provides an interface to the GPIO pins not used by other
  46. peripherals supporting inputs, outputs, configuring pull-up/pull-down
  47. and interrupts on input changes.