Lines Matching +full:enable +full:- +full:ssc
1 // SPDX-License-Identifier: GPL-2.0-only
59 .compatible = "brcm,ns-ax-usb3-phy",
63 .compatible = "brcm,ns-bx-usb3-phy",
95 writel(0, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init_ns_bx()
97 /* PLL frequency monitor enable */ in bcm_ns_usb3_phy_init_ns_bx()
114 /* Enabling SSC */ in bcm_ns_usb3_phy_init_ns_bx()
136 /* Enable SSC */ in bcm_ns_usb3_phy_init_ns_ax()
145 writel(0, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init_ns_ax()
156 writel(BCMA_RESET_CTL_RESET, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init()
158 switch (usb3->family) { in bcm_ns_usb3_phy_init()
167 err = -ENOTSUPP; in bcm_ns_usb3_phy_init()
185 struct mdio_device *mdiodev = usb3->mdiodev; in bcm_ns_usb3_mdio_phy_write()
192 struct device *dev = &mdiodev->dev; in bcm_ns_usb3_mdio_probe()
201 return -ENOMEM; in bcm_ns_usb3_mdio_probe()
203 usb3->dev = dev; in bcm_ns_usb3_mdio_probe()
204 usb3->mdiodev = mdiodev; in bcm_ns_usb3_mdio_probe()
206 usb3->family = (enum bcm_ns_family)device_get_match_data(dev); in bcm_ns_usb3_mdio_probe()
208 syscon_np = of_parse_phandle(dev->of_node, "usb3-dmp-syscon", 0); in bcm_ns_usb3_mdio_probe()
214 usb3->dmp = devm_ioremap_resource(dev, &res); in bcm_ns_usb3_mdio_probe()
215 if (IS_ERR(usb3->dmp)) in bcm_ns_usb3_mdio_probe()
216 return PTR_ERR(usb3->dmp); in bcm_ns_usb3_mdio_probe()
218 usb3->phy = devm_phy_create(dev, NULL, &ops); in bcm_ns_usb3_mdio_probe()
219 if (IS_ERR(usb3->phy)) { in bcm_ns_usb3_mdio_probe()
221 return PTR_ERR(usb3->phy); in bcm_ns_usb3_mdio_probe()
224 phy_set_drvdata(usb3->phy, usb3); in bcm_ns_usb3_mdio_probe()