[PATCH v2 0/7] phy: sun4i: Allwinner F1C100s/H616 support and cleanup
Andre Przywara
andre.przywara at arm.com
Mon Jun 12 01:32:34 CEST 2023
Hi,
version 2 of this series does not change anything in the first three
patches adding F1C100s support (apart from adding Jernej's review tags,
many thanks for that!), but also adds support for the H616 USB PHY.
This is a bit more involved this time, since the USB PHY on this SoC
requires some weird quirk to enable most ports. Along with this it adds
some cleanup that we used in the Linux driver, which helps to keep the
code clean and simplifies future support.
Patch 1/7 fixes a bug that prevented the V3s from being supported, and
also affects the F1C100s. Patch 2/7 adds the compatible string for the
F1C100s, along with its specific properties. Patch 3/7 uses the
opportunity to cleanup the U-Boot Kconfig selection of the sunxi USB
PHY, and patch 4/7 continues the spring clean with copying some PHY
quirk rework done in the Linux kernel recently.
The remaining three patches then deal with the H616 USB PHY: patch 5 adds
the quirk support, patch 6 wires up the compatible string, while the
final patch enables USB support in the defconfig of the two supported
boards.
Please have a look and test!
Cheers,
Andre
Andre Przywara (7):
phy: sun4i-usb: Fix of_xlate() argument check
phy: sun4i-usb: add Allwinner F1C100s support
sunxi: Kconfig: rework PHY_USB_SUN4I selection
phy: sun4i-usb: Replace types with explicit quirk flags
phy: sun4i-usb: Add H616 USB PHY quirk support
phy: sun4i: Add H616 USB PHY support
sunxi: H616: enable USB support for H616 boards
arch/arm/mach-sunxi/Kconfig | 11 ---
configs/orangepi_zero2_defconfig | 3 +
configs/x96_mate_defconfig | 2 +
drivers/phy/allwinner/Kconfig | 5 +-
drivers/phy/allwinner/phy-sun4i-usb.c | 111 ++++++++++++++++++--------
5 files changed, 88 insertions(+), 44 deletions(-)
--
2.35.8
More information about the U-Boot
mailing list