compatible = "qca,ar7100-usb-phy";
reg = <0x18030000 0x10>;
- reset-names = "usb-phy", "usb-host", "usb-ohci-dll";
+ reset-names = "phy", "usb-host", "usb-ohci-dll";
resets = <&rst 4>, <&rst 5>, <&rst 6>;
#phy-cells = <0>;
usb_phy: usb-phy {
compatible = "qca,ar7200-usb-phy";
- reset-names = "usb-phy", "usb-ohci-dll";
+ reset-names = "phy", "usb-ohci-dll";
resets = <&rst 4>, <&rst 3>;
#phy-cells = <0>;
usb_phy: usb-phy {
compatible = "qca,ar7200-usb-phy";
- reset-names = "usb-phy", "usb-suspend-override";
+ reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;
#phy-cells = <0>;
usb_phy: usb-phy {
compatible = "qca,ar7200-usb-phy";
- reset-names = "usb-phy", "usb-suspend-override";
+ reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;
#phy-cells = <0>;
usb_phy: usb-phy {
compatible = "qca,ar7200-usb-phy";
- reset-names = "usb-phy", "usb-suspend-override";
+ reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;
#phy-cells = <0>;
usb_phy: usb-phy {
compatible = "qca,ar7200-usb-phy";
- reset-names = "usb-phy", "usb-suspend-override";
+ reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;
#phy-cells = <0>;
usb_phy: usb-phy {
compatible = "qca,ar9340-usb-phy", "qca,ar7200-usb-phy";
- reset-names = "usb-phy-analog", "usb-phy", "usb-suspend-override";
+ reset-names = "phy-analog", "phy", "suspend-override";
resets = <&rst 11>, <&rst 4>, <&rst 3>;
#phy-cells = <0>;
reg = <0x18030000 0x100>;
#phy-cells = <0>;
- reset-names = "usb-phy-analog", "usb-phy", "usb-suspend-override";
+ reset-names = "phy-analog", "phy", "suspend-override";
resets = <&rst 11>, <&rst 4>, <&rst 3>;
status = "disabled";
compatible ="qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
reg = <0x18030000 4>, <0x18030004 4>;
- reset-names = "usb-phy-analog", "usb-phy", "usb-suspend-override";
+ reset-names = "phy-analog", "phy", "suspend-override";
resets = <&rst 11>, <&rst 4>, <&rst 3>;
#phy-cells = <0>;
compatible = "qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
reg = <0x18030010 4>, <0x18030014 4>;
- reset-names = "usb-phy-analog", "usb-phy", "usb-suspend-override";
+ reset-names = "phy-analog", "phy", "suspend-override";
resets = <&rst2 11>, <&rst2 4>, <&rst2 3>;
#phy-cells = <0>;
usb_phy0: usb-phy {
compatible = "qca,qca9560-usb-phy", "qca,ar7200-usb-phy";
- reset-names = "usb-phy", "usb-suspend-override";
+ reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;
#phy-cells = <0>;
usb_phy1: usb-phy {
compatible = "qca,qca9560-usb-phy", "qca,ar7200-usb-phy";
- reset-names = "usb-phy", "usb-suspend-override";
+ reset-names = "phy", "suspend-override";
resets = <&rst2 4>, <&rst2 3>;
#phy-cells = <0>;
+ if (IS_ERR(priv->io_base))
+ return PTR_ERR(priv->io_base);
+
-+ priv->rst_phy = devm_reset_control_get(&pdev->dev, "usb-phy");
++ priv->rst_phy = devm_reset_control_get(&pdev->dev, "phy");
+ if (IS_ERR(priv->rst_phy))
+ return dev_err_probe(&pdev->dev, PTR_ERR(priv->rst_phy), "phy reset is missing");
+
+ if (!priv)
+ return -ENOMEM;
+
-+ priv->rst_phy = devm_reset_control_get(&pdev->dev, "usb-phy");
++ priv->rst_phy = devm_reset_control_get(&pdev->dev, "phy");
+ if (IS_ERR(priv->rst_phy))
+ return dev_err_probe(&pdev->dev, PTR_ERR(priv->rst_phy), "phy reset is missing");
+
+ priv->rst_phy_analog = devm_reset_control_get_optional(
-+ &pdev->dev, "usb-phy-analog");
++ &pdev->dev, "phy-analog");
+ if (IS_ERR(priv->rst_phy_analog))
+ return PTR_ERR(priv->rst_phy_analog);
+
+ priv->suspend_override = devm_reset_control_get_optional(
-+ &pdev->dev, "usb-suspend-override");
++ &pdev->dev, "suspend-override");
+ if (IS_ERR(priv->suspend_override))
+ return PTR_ERR(priv->suspend_override);
+