Lines Matching +full:mmp3 +full:- +full:usb +full:- +full:phy
1 // SPDX-License-Identifier: GPL-2.0+
10 #include <linux/phy/phy.h>
17 static int mmp3_hsic_phy_init(struct phy *phy) in mmp3_hsic_phy_init() argument
19 void __iomem *base = (void __iomem *)phy_get_drvdata(phy); in mmp3_hsic_phy_init()
36 { .compatible = "marvell,mmp3-hsic-phy", },
43 struct device *dev = &pdev->dev; in mmp3_hsic_phy_probe()
46 struct phy *phy; in mmp3_hsic_phy_probe() local
52 phy = devm_phy_create(dev, NULL, &mmp3_hsic_phy_ops); in mmp3_hsic_phy_probe()
53 if (IS_ERR(phy)) { in mmp3_hsic_phy_probe()
54 dev_err(dev, "failed to create PHY\n"); in mmp3_hsic_phy_probe()
55 return PTR_ERR(phy); in mmp3_hsic_phy_probe()
58 phy_set_drvdata(phy, (void *)base); in mmp3_hsic_phy_probe()
61 dev_err(dev, "failed to register PHY provider\n"); in mmp3_hsic_phy_probe()
71 .name = "mmp3-hsic-phy",
78 MODULE_DESCRIPTION("Marvell MMP3 USB HSIC PHY Driver");