Lines Matching +full:enable +full:- +full:ssc
1 // SPDX-License-Identifier: GPL-2.0-only
58 .compatible = "brcm,ns-ax-usb3-phy",
62 .compatible = "brcm,ns-bx-usb3-phy",
94 writel(0, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init_ns_bx()
96 /* PLL frequency monitor enable */ in bcm_ns_usb3_phy_init_ns_bx()
113 /* Enabling SSC */ in bcm_ns_usb3_phy_init_ns_bx()
135 /* Enable SSC */ in bcm_ns_usb3_phy_init_ns_ax()
144 writel(0, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init_ns_ax()
155 writel(BCMA_RESET_CTL_RESET, usb3->dmp + BCMA_RESET_CTL); in bcm_ns_usb3_phy_init()
157 switch (usb3->family) { in bcm_ns_usb3_phy_init()
166 err = -ENOTSUPP; in bcm_ns_usb3_phy_init()
184 struct mdio_device *mdiodev = usb3->mdiodev; in bcm_ns_usb3_mdio_phy_write()
191 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()
208 return -EINVAL; in bcm_ns_usb3_mdio_probe()
209 usb3->family = (uintptr_t)of_id->data; in bcm_ns_usb3_mdio_probe()
211 syscon_np = of_parse_phandle(dev->of_node, "usb3-dmp-syscon", 0); in bcm_ns_usb3_mdio_probe()
217 usb3->dmp = devm_ioremap_resource(dev, &res); in bcm_ns_usb3_mdio_probe()
218 if (IS_ERR(usb3->dmp)) in bcm_ns_usb3_mdio_probe()
219 return PTR_ERR(usb3->dmp); in bcm_ns_usb3_mdio_probe()
221 usb3->phy = devm_phy_create(dev, NULL, &ops); in bcm_ns_usb3_mdio_probe()
222 if (IS_ERR(usb3->phy)) { in bcm_ns_usb3_mdio_probe()
224 return PTR_ERR(usb3->phy); in bcm_ns_usb3_mdio_probe()
227 phy_set_drvdata(usb3->phy, usb3); in bcm_ns_usb3_mdio_probe()