216-v6.3-pinctrl-mediatek-add-missing-options-to-PINCTRL_MT79.patch 1.0 KB

123456789101112131415161718192021222324252627282930
  1. From c0ad453e94e5c404efbcf668648d07eaa1a71ed7 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= <[email protected]>
  3. Date: Sat, 18 Feb 2023 09:51:06 +0300
  4. Subject: [PATCH] pinctrl: mediatek: add missing options to PINCTRL_MT7981
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. There are options missing from PINCTRL_MT7981 whilst being on every other
  9. pin controller. Add them.
  10. Signed-off-by: Arınç ÜNAL <[email protected]>
  11. Acked-by: Daniel Golle <[email protected]>
  12. Link: https://lore.kernel.org/r/[email protected]
  13. Signed-off-by: Linus Walleij <[email protected]>
  14. ---
  15. drivers/pinctrl/mediatek/Kconfig | 2 ++
  16. 1 file changed, 2 insertions(+)
  17. --- a/drivers/pinctrl/mediatek/Kconfig
  18. +++ b/drivers/pinctrl/mediatek/Kconfig
  19. @@ -130,6 +130,8 @@ config PINCTRL_MT7622
  20. config PINCTRL_MT7981
  21. bool "Mediatek MT7981 pin control"
  22. depends on OF
  23. + depends on ARM64 || COMPILE_TEST
  24. + default ARM64 && ARCH_MEDIATEK
  25. select PINCTRL_MTK_MOORE
  26. config PINCTRL_MT7986