Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: sun4i-usb: add support for the USB PHY on F1C100s SoC

The F1C100s SoC has one USB OTG port connected to a MUSB controller.

Add support for its USB PHY.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20230109012223.4079299-3-andre.przywara@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Icenowy Zheng and committed by
Vinod Koul
50bd67ab d0aa1608

+10
+10
drivers/phy/allwinner/phy-sun4i-usb.c
··· 918 918 return 0; 919 919 } 920 920 921 + static const struct sun4i_usb_phy_cfg suniv_f1c100s_cfg = { 922 + .num_phys = 1, 923 + .type = sun4i_a10_phy, 924 + .disc_thresh = 3, 925 + .phyctl_offset = REG_PHYCTL_A10, 926 + .dedicated_clocks = true, 927 + }; 928 + 921 929 static const struct sun4i_usb_phy_cfg sun4i_a10_cfg = { 922 930 .num_phys = 3, 923 931 .type = sun4i_a10_phy, ··· 1067 1059 .data = &sun50i_a64_cfg}, 1068 1060 { .compatible = "allwinner,sun50i-h6-usb-phy", .data = &sun50i_h6_cfg }, 1069 1061 { .compatible = "allwinner,sun50i-h616-usb-phy", .data = &sun50i_h616_cfg }, 1062 + { .compatible = "allwinner,suniv-f1c100s-usb-phy", 1063 + .data = &suniv_f1c100s_cfg }, 1070 1064 { }, 1071 1065 }; 1072 1066 MODULE_DEVICE_TABLE(of, sun4i_usb_phy_of_match);