mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 13:26:34 +00:00
ath79: usb: remove usb- from reset-names
This matches the upstream PHY driver, which removed it. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17118 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
76fabd909e
commit
dcef169319
@ -54,7 +54,7 @@
|
||||
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>;
|
||||
|
@ -6,7 +6,7 @@
|
||||
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>;
|
||||
|
@ -6,7 +6,7 @@
|
||||
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>;
|
||||
|
@ -6,7 +6,7 @@
|
||||
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>;
|
||||
|
@ -188,7 +188,7 @@
|
||||
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>;
|
||||
|
@ -166,7 +166,7 @@
|
||||
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>;
|
||||
|
@ -216,7 +216,7 @@
|
||||
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>;
|
||||
|
@ -60,7 +60,7 @@
|
||||
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";
|
||||
|
@ -64,7 +64,7 @@
|
||||
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>;
|
||||
@ -76,7 +76,7 @@
|
||||
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>;
|
||||
|
@ -254,7 +254,7 @@
|
||||
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>;
|
||||
@ -265,7 +265,7 @@
|
||||
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>;
|
||||
|
@ -128,7 +128,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
|
||||
+ 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");
|
||||
+
|
||||
@ -250,17 +250,17 @@ Signed-off-by: John Crispin <john@phrozen.org>
|
||||
+ 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);
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user