Skip to content

sunxi: A64: enable first USB port on Pine64 boards

Andre Przywara u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sunxi: USB PHY: Support shared PHY 0drivers/phy/allwinner/phy-sun4i-usb.c+7 -10 replies
2/2sunxi: Pine64: DTS: enable USB PHY 0 for HCI0arch/arm/dts/sun50i-a64-pine64.dts arch/arm/dts/sun50i-a64-sopine-baseboard.dts+8 -21 reply
2/2sunxi: Pine64: DTS: enable USB PHY 0 for HCI0+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] sunxi: A64: enable first USB port on Pine64 boards

Since the beginning the upper USB port on Pine64 boards (Pine64+, SoPine baseboard, Pine64-LTS, Pinebook) was not working under U-Boot. This is due to the PHY for those pins being shared with the OTG controller, which we didn't even enable for those boards. Also the PHY code was always connecting the port pins to the OTG controller.

These two patches fix this, so the upper USB port on said boards can be used within U-Boot. This allows to use an USB keyboard alongside an USB flash drive, for instance to install operating systems using UEFI.

Cheers,
Andre.

Andre Przywara (2):
sunxi: USB PHY: Support shared PHY 0
sunxi: Pine64: DTS: enable USB PHY 0 for HCI0

 arch/arm/dts/sun50i-a64-pine64.dts           | 5 ++++-
 arch/arm/dts/sun50i-a64-sopine-baseboard.dts | 5 ++++-
 drivers/phy/allwinner/phy-sun4i-usb.c        | 8 +++++++-
 3 files changed, 15 insertions(+), 3 deletions(-)
Signature · 1 line
2.14.5