OpenCloudOS-Kernel/drivers/phy/allwinner
Andre Przywara 8dd256bae6 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.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230109012223.4079299-4-andre.przywara@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-01-12 23:08:57 +05:30
..
Kconfig phy: allwinner: Make PHY_SUN6I_MIPI_DPHY depend on COMMON_CLK 2020-07-13 10:40:53 +05:30
Makefile phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC 2019-10-31 16:54:00 +05:30
phy-sun4i-usb.c phy: sun4i-usb: Replace types with explicit quirk flags 2023-01-12 23:08:57 +05:30
phy-sun6i-mipi-dphy.c phy: allwinner: phy-sun6i-mipi-dphy: Add the A100 DPHY variant 2022-11-24 23:04:24 +05:30
phy-sun9i-usb.c phy: allwinner: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-sun50i-usb3.c phy: allwinner: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30