[PATCH 0/3] phy: sun4i: Allwinner F1C100s support and cleanup

Andre Przywara andre.przywara at arm.com
Fri Jun 9 12:56:18 CEST 2023


This mini series adds support for the Allwinner F1C100s USB PHY. There
is really not much to it, we just need to connect the compatible string
to a description that says we have one "old-style" PHY (patch 2/3).
Doing this revealed a bug, which is fixed in patch 1/3.

Also use the opportunity to fix a long-standing annoyance: we were
"select"ing the USB PHY driver from each SoC's Kconfig stanza, which does
not only look questionable, but also prevents USB support from being
deliberately disabled, for boards without USB sockets or to save
memory and boot time.

The fix in patch 1/3 is not urgent, since we were not hitting this
condition before, so this would all be 2023.10 material.

Cheers,
Andre

Andre Przywara (3):
  phy: sun4i-usb: Fix of_xlate() argument check
  phy: sun4i-usb: add Allwinner F1C100s support
  sunxi: Kconfig: rework PHY_USB_SUN4I selection

 arch/arm/mach-sunxi/Kconfig           | 11 -----------
 drivers/phy/allwinner/Kconfig         |  6 +++++-
 drivers/phy/allwinner/phy-sun4i-usb.c | 14 +++++++++++++-
 3 files changed, 18 insertions(+), 13 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list