u-boot/drivers/phy/allwinner
Andre Przywara d7a7fed55d phy: sun4i-usb: Replace types with explicit quirk flags
So far we were assigning some crude "type" (SoC name, really) to each
Allwinner USB PHY model, then guarding certain quirks based on this.
This does not only look weird, but gets more or more cumbersome to
maintain.

Remove the bogus type names altogether, instead introduce flags for each
quirk, and explicitly check for them.
This improves readability, and simplifies future extensions.

Port of Linux patch 8dd256bae653.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
2023-07-21 00:28:13 +01:00
..
Kconfig sunxi: Kconfig: rework PHY_USB_SUN4I selection 2023-07-21 00:26:36 +01:00
Makefile phy: sun50i-usb3: Add a driver for the H6 USB3 PHY 2021-09-22 21:29:56 +02:00
phy-sun4i-usb.c phy: sun4i-usb: Replace types with explicit quirk flags 2023-07-21 00:28:13 +01:00
phy-sun50i-usb3.c drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00