018-usb-specify-vbus-pins-on-orangepis.patch 1021 B

12345678910111213141516171819202122232425262728293031
  1. From ce0d0926758f631fdd655d438acd32d5935d43a4 Mon Sep 17 00:00:00 2001
  2. From: Hans de Goede <hdegoede@redhat.com>
  3. Date: Fri, 18 Mar 2016 08:45:21 +0100
  4. Subject: [PATCH] sunxi: Specify USB vbus pins for orangepi boards
  5. This fixes the USB ports not working on the orangepi_plus and stops us
  6. from messing with gpio-s which we should not touch on the orangepi_pc.
  7. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  8. Acked-by: Ian Campbell <ijc@hellion.org.uk>
  9. ---
  10. configs/orangepi_pc_defconfig | 3 +++
  11. configs/orangepi_plus_defconfig | 1 +
  12. 2 files changed, 4 insertions(+)
  13. --- a/configs/orangepi_pc_defconfig
  14. +++ b/configs/orangepi_pc_defconfig
  15. @@ -14,3 +14,6 @@ CONFIG_SPL=y
  16. CONFIG_CMD_GPIO=y
  17. CONFIG_SY8106A_POWER=y
  18. CONFIG_USB_EHCI_HCD=y
  19. +CONFIG_USB1_VBUS_PIN=""
  20. +CONFIG_USB2_VBUS_PIN=""
  21. +CONFIG_USB3_VBUS_PIN=""
  22. --- a/configs/orangepi_plus_defconfig
  23. +++ b/configs/orangepi_plus_defconfig
  24. @@ -14,3 +14,4 @@ CONFIG_SPL=y
  25. CONFIG_CMD_GPIO=y
  26. CONFIG_SY8106A_POWER=y
  27. CONFIG_USB_EHCI_HCD=y
  28. +CONFIG_USB1_VBUS_PIN="PG13"