0046-pinctrl-lantiq-2-pins-have-the-wrong-mux-list.patch 1.1 KB

12345678910111213141516171819202122232425262728
  1. From c9f294ff6584782d20b4a766901a9cff7398bb20 Mon Sep 17 00:00:00 2001
  2. From: John Crispin <blogic@openwrt.org>
  3. Date: Mon, 4 Jan 2016 22:27:57 +0100
  4. Subject: [PATCH] pinctrl: lantiq: 2 pins have the wrong mux list
  5. The latest vendor SDK contained this patch.
  6. Signed-off-by: John Crispin <blogic@openwrt.org>
  7. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  8. ---
  9. drivers/pinctrl/pinctrl-xway.c | 4 ++--
  10. 1 file changed, 2 insertions(+), 2 deletions(-)
  11. --- a/drivers/pinctrl/pinctrl-xway.c
  12. +++ b/drivers/pinctrl/pinctrl-xway.c
  13. @@ -160,10 +160,10 @@ static const struct ltq_mfp_pin xway_mfp
  14. MFP_XWAY(GPIO41, GPIO, NONE, NONE, NONE),
  15. MFP_XWAY(GPIO42, GPIO, MDIO, NONE, NONE),
  16. MFP_XWAY(GPIO43, GPIO, MDIO, NONE, NONE),
  17. - MFP_XWAY(GPIO44, GPIO, NONE, SIN, GPHY),
  18. + MFP_XWAY(GPIO44, GPIO, MII, SIN, GPHY),
  19. MFP_XWAY(GPIO45, GPIO, NONE, GPHY, SIN),
  20. MFP_XWAY(GPIO46, GPIO, NONE, NONE, EXIN),
  21. - MFP_XWAY(GPIO47, GPIO, NONE, GPHY, SIN),
  22. + MFP_XWAY(GPIO47, GPIO, MII, GPHY, SIN),
  23. MFP_XWAY(GPIO48, GPIO, EBU, NONE, NONE),
  24. MFP_XWAY(GPIO49, GPIO, EBU, NONE, NONE),
  25. MFP_XWAY(GPIO50, GPIO, NONE, NONE, NONE),