Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. config PINCTRL_MTK_COMMON
  2. bool "pinctrl mtk common"
  3. default n
  4. select PINMUX
  5. select GENERIC_PINCONF
  6. select GPIOLIB
  7. select OF_GPIO
  8. config PINCTRL_MT6735
  9. bool "pinctrl mt6735"
  10. default n
  11. def_bool MACH_MT6735
  12. select PINCTRL_MTK_COMMON
  13. config PINCTRL_MT6580
  14. bool "pinctrl mt6580"
  15. default n
  16. def_bool MACH_MT6580
  17. select PINCTRL_MTK_COMMON
  18. config PINCTRL_MT6755
  19. bool "Mediatek MT6755"
  20. default n
  21. def_bool MACH_MT6755
  22. select PINCTRL_MTK_COMMON
  23. config PINCTRL_MT2701
  24. bool "Mediatek MT2701 pin control" if COMPILE_TEST && !MACH_MT2701
  25. depends on OF
  26. default MACH_MT2701
  27. select PINCTRL_MTK_COMMON
  28. config PINCTRL_MT8127
  29. bool "Mediatek MT8127 pin control" if COMPILE_TEST && !ARCH_MT8127
  30. depends on OF
  31. default ARCH_MT8127
  32. select PINCTRL_MTK_COMMON
  33. config PINCTRL_MT8163
  34. bool "Mediatek MT8163 pin control" if COMPILE_TEST && !ARCH_MT8163
  35. depends on OF
  36. default ARCH_MT8163
  37. select PINCTRL_MTK_COMMON
  38. config PINCTRL_MT8173
  39. bool "Mediatek MT8173 pin control" if COMPILE_TEST && !ARCH_MT8173
  40. depends on OF
  41. default ARCH_MT8173
  42. select PINCTRL_MTK_COMMON
  43. config PINCTRL_MT6397
  44. bool "Mediatek MT6397 pin control" if COMPILE_TEST && !MFD_MT6397
  45. depends on OF
  46. default MFD_MT6397
  47. select PINCTRL_MTK_COMMON
  48. config PINCTRL_MT6797
  49. bool "pinctrl mt6797"
  50. default n
  51. def_bool MACH_MT6797
  52. select PINCTRL_MTK_COMMON