Lines Matching +full:peripheral +full:- +full:syscon
1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #include <linux/mfd/syscon.h>
51 struct regmap *reg = priv->reg; in hi6220_phy_init()
63 struct regmap *reg = priv->reg; in hi6220_phy_setup()
94 dev_err(priv->dev, "failed to setup phy ret: %d\n", ret); in hi6220_phy_setup()
121 struct device *dev = &pdev->dev; in hi6220_phy_probe()
127 return -ENOMEM; in hi6220_phy_probe()
129 priv->dev = dev; in hi6220_phy_probe()
130 priv->reg = syscon_regmap_lookup_by_phandle(dev->of_node, in hi6220_phy_probe()
131 "hisilicon,peripheral-syscon"); in hi6220_phy_probe()
132 if (IS_ERR(priv->reg)) { in hi6220_phy_probe()
133 dev_err(dev, "no hisilicon,peripheral-syscon\n"); in hi6220_phy_probe()
134 return PTR_ERR(priv->reg); in hi6220_phy_probe()
149 {.compatible = "hisilicon,hi6220-usb-phy",},
157 .name = "hi6220-usb-phy",
164 MODULE_ALIAS("platform:hi6220-usb-phy");