Lines Matching defs:phy
15 #include <linux/phy/phy.h>
40 struct phy *phy;
69 .compatible = "lantiq,ase-usb2-phy",
73 .compatible = "lantiq,danube-usb2-phy",
77 .compatible = "lantiq,xrx100-usb2-phy",
81 .compatible = "lantiq,xrx200-usb2-phy",
85 .compatible = "lantiq,xrx300-usb2-phy",
92 static int ltq_rcu_usb2_phy_init(struct phy *phy)
94 struct ltq_rcu_usb2_priv *priv = phy_get_drvdata(phy);
117 static int ltq_rcu_usb2_phy_power_on(struct phy *phy)
119 struct ltq_rcu_usb2_priv *priv = phy_get_drvdata(phy);
132 * at least the xrx200 usb2 phy requires some extra time to be
140 static int ltq_rcu_usb2_phy_power_off(struct phy *phy)
142 struct ltq_rcu_usb2_priv *priv = phy_get_drvdata(phy);
188 priv->phy_gate_clk = devm_clk_get(dev, "phy");
190 dev_err(dev, "Unable to get USB phy gate clk\n");
201 priv->phy_reset = devm_reset_control_get_optional(dev, "phy");
228 priv->phy = devm_phy_create(dev, dev->of_node, <q_rcu_usb2_phy_ops);
229 if (IS_ERR(priv->phy)) {
231 return PTR_ERR(priv->phy);
234 phy_set_drvdata(priv->phy, priv);
247 .name = "lantiq-rcu-usb2-phy",