Kconfig 831 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. if ARCH_MEDIATEK || COMPILE_TEST
  2. config PINCTRL_MTK_COMMON
  3. bool
  4. depends on OF
  5. select PINMUX
  6. select GENERIC_PINCONF
  7. select GPIOLIB
  8. select OF_GPIO
  9. # For ARMv7 SoCs
  10. config PINCTRL_MT8135
  11. bool "Mediatek MT8135 pin control" if COMPILE_TEST && !MACH_MT8135
  12. depends on OF
  13. default MACH_MT8135
  14. select PINCTRL_MTK_COMMON
  15. config PINCTRL_MT8127
  16. bool "Mediatek MT8127 pin control" if COMPILE_TEST && !MACH_MT8127
  17. depends on OF
  18. default MACH_MT8127
  19. select PINCTRL_MTK_COMMON
  20. # For ARMv8 SoCs
  21. config PINCTRL_MT8173
  22. bool "Mediatek MT8173 pin control"
  23. depends on OF
  24. depends on ARM64 || COMPILE_TEST
  25. default ARM64 && ARCH_MEDIATEK
  26. select PINCTRL_MTK_COMMON
  27. # For PMIC
  28. config PINCTRL_MT6397
  29. bool "Mediatek MT6397 pin control" if COMPILE_TEST && !MFD_MT6397
  30. depends on OF
  31. default MFD_MT6397
  32. select PINCTRL_MTK_COMMON
  33. endif