Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. if ARCH_STM32 || COMPILE_TEST
  3. config PINCTRL_STM32
  4. bool
  5. depends on OF
  6. select PINMUX
  7. select GENERIC_PINCONF
  8. select GPIOLIB
  9. select IRQ_DOMAIN_HIERARCHY
  10. select MFD_SYSCON
  11. config PINCTRL_STM32F429
  12. bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429
  13. depends on OF && HAS_IOMEM
  14. default MACH_STM32F429
  15. select PINCTRL_STM32
  16. config PINCTRL_STM32F469
  17. bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469
  18. depends on OF && HAS_IOMEM
  19. default MACH_STM32F469
  20. select PINCTRL_STM32
  21. config PINCTRL_STM32F746
  22. bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746
  23. depends on OF && HAS_IOMEM
  24. default MACH_STM32F746
  25. select PINCTRL_STM32
  26. config PINCTRL_STM32F769
  27. bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769
  28. depends on OF && HAS_IOMEM
  29. default MACH_STM32F769
  30. select PINCTRL_STM32
  31. config PINCTRL_STM32H743
  32. bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743
  33. depends on OF && HAS_IOMEM
  34. default MACH_STM32H743
  35. select PINCTRL_STM32
  36. config PINCTRL_STM32MP157
  37. bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
  38. depends on OF && HAS_IOMEM
  39. default MACH_STM32MP157
  40. select PINCTRL_STM32
  41. endif