Kconfig 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. if ARCH_MEDIATEK || COMPILE_TEST
  2. config PINCTRL_MTK
  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_MT2701
  11. bool "Mediatek MT2701 pin control"
  12. depends on MACH_MT2701 || COMPILE_TEST
  13. depends on OF
  14. default MACH_MT2701
  15. select PINCTRL_MTK
  16. config PINCTRL_MT7623
  17. bool "Mediatek MT7623 pin control"
  18. depends on MACH_MT7623 || COMPILE_TEST
  19. depends on OF
  20. default MACH_MT7623
  21. select PINCTRL_MTK_COMMON
  22. config PINCTRL_MT8135
  23. bool "Mediatek MT8135 pin control"
  24. depends on MACH_MT8135 || COMPILE_TEST
  25. depends on OF
  26. default MACH_MT8135
  27. select PINCTRL_MTK
  28. config PINCTRL_MT8127
  29. bool "Mediatek MT8127 pin control"
  30. depends on MACH_MT8127 || COMPILE_TEST
  31. depends on OF
  32. default MACH_MT8127
  33. select PINCTRL_MTK
  34. # For ARMv8 SoCs
  35. config PINCTRL_MT8173
  36. bool "Mediatek MT8173 pin control"
  37. depends on OF
  38. depends on ARM64 || COMPILE_TEST
  39. default ARM64 && ARCH_MEDIATEK
  40. select PINCTRL_MTK
  41. # For PMIC
  42. config PINCTRL_MT6397
  43. bool "Mediatek MT6397 pin control"
  44. depends on MFD_MT6397 || COMPILE_TEST
  45. depends on OF
  46. default MFD_MT6397
  47. select PINCTRL_MTK
  48. endif