mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
ath79: usb: remove reset names
Upstream uses devm_reset_control_array_get_optional_shared, which does not use names. reset-names is also not specified in the documentation. 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
787cb9d87e
commit
481bf5805a
@ -54,7 +54,7 @@
|
|||||||
compatible = "qca,ar7100-usb-phy";
|
compatible = "qca,ar7100-usb-phy";
|
||||||
reg = <0x18030000 0x10>;
|
reg = <0x18030000 0x10>;
|
||||||
|
|
||||||
reset-names = "phy", "usb-host", "usb-ohci-dll";
|
reset-names = "phy", "host", "usb-ohci-dll";
|
||||||
resets = <&rst 4>, <&rst 5>, <&rst 6>;
|
resets = <&rst 4>, <&rst 5>, <&rst 6>;
|
||||||
|
|
||||||
#phy-cells = <0>;
|
#phy-cells = <0>;
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
interrupts = <3>;
|
interrupts = <3>;
|
||||||
|
|
||||||
resets = <&rst 5>;
|
resets = <&rst 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
phy-names = "usb";
|
phy-names = "usb";
|
||||||
phys = <&usb_phy>;
|
phys = <&usb_phy>;
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
interrupts = <3>;
|
interrupts = <3>;
|
||||||
|
|
||||||
resets = <&rst 5>;
|
resets = <&rst 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
has-transaction-translator;
|
has-transaction-translator;
|
||||||
caps-offset = <0x100>;
|
caps-offset = <0x100>;
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
interrupts = <3>;
|
interrupts = <3>;
|
||||||
|
|
||||||
resets = <&rst 5>;
|
resets = <&rst 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
has-transaction-translator;
|
has-transaction-translator;
|
||||||
caps-offset = <0x100>;
|
caps-offset = <0x100>;
|
||||||
|
@ -120,7 +120,6 @@
|
|||||||
|
|
||||||
interrupts = <3>;
|
interrupts = <3>;
|
||||||
resets = <&rst 5>;
|
resets = <&rst 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
phy-names = "usb";
|
phy-names = "usb";
|
||||||
phys = <&usb_phy>;
|
phys = <&usb_phy>;
|
||||||
|
@ -166,7 +166,6 @@
|
|||||||
|
|
||||||
interrupts = <3>;
|
interrupts = <3>;
|
||||||
resets = <&rst 5>;
|
resets = <&rst 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
has-transaction-translator;
|
has-transaction-translator;
|
||||||
caps-offset = <0x100>;
|
caps-offset = <0x100>;
|
||||||
|
@ -193,7 +193,6 @@
|
|||||||
|
|
||||||
interrupts = <3>;
|
interrupts = <3>;
|
||||||
resets = <&rst 5>;
|
resets = <&rst 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
dr_mode = "host";
|
dr_mode = "host";
|
||||||
|
|
||||||
has-transaction-translator;
|
has-transaction-translator;
|
||||||
|
@ -273,7 +273,6 @@
|
|||||||
interrupt-parent = <&intc3>;
|
interrupt-parent = <&intc3>;
|
||||||
interrupts = <1>;
|
interrupts = <1>;
|
||||||
resets = <&rst 5>;
|
resets = <&rst 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
has-transaction-translator;
|
has-transaction-translator;
|
||||||
caps-offset = <0x100>;
|
caps-offset = <0x100>;
|
||||||
@ -299,7 +298,6 @@
|
|||||||
interrupt-parent = <&intc3>;
|
interrupt-parent = <&intc3>;
|
||||||
interrupts = <2>;
|
interrupts = <2>;
|
||||||
resets = <&rst2 5>;
|
resets = <&rst2 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
has-transaction-translator;
|
has-transaction-translator;
|
||||||
caps-offset = <0x100>;
|
caps-offset = <0x100>;
|
||||||
|
@ -192,7 +192,6 @@
|
|||||||
interrupts = <1>;
|
interrupts = <1>;
|
||||||
|
|
||||||
resets = <&rst 5>;
|
resets = <&rst 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
has-transaction-translator;
|
has-transaction-translator;
|
||||||
caps-offset = <0x100>;
|
caps-offset = <0x100>;
|
||||||
@ -219,7 +218,6 @@
|
|||||||
interrupts = <2>;
|
interrupts = <2>;
|
||||||
|
|
||||||
resets = <&rst2 5>;
|
resets = <&rst2 5>;
|
||||||
reset-names = "usb-host";
|
|
||||||
|
|
||||||
has-transaction-translator;
|
has-transaction-translator;
|
||||||
caps-offset = <0x100>;
|
caps-offset = <0x100>;
|
||||||
|
@ -132,7 +132,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
|
|||||||
+ if (IS_ERR(priv->rst_phy))
|
+ if (IS_ERR(priv->rst_phy))
|
||||||
+ return dev_err_probe(&pdev->dev, PTR_ERR(priv->rst_phy), "phy reset is missing");
|
+ return dev_err_probe(&pdev->dev, PTR_ERR(priv->rst_phy), "phy reset is missing");
|
||||||
+
|
+
|
||||||
+ priv->rst_host = devm_reset_control_get(&pdev->dev, "usb-host");
|
+ priv->rst_host = devm_reset_control_get(&pdev->dev, "host");
|
||||||
+ if (IS_ERR(priv->rst_host))
|
+ if (IS_ERR(priv->rst_host))
|
||||||
+ return dev_err_probe(&pdev->dev, PTR_ERR(priv->rst_host), "host reset is missing");
|
+ return dev_err_probe(&pdev->dev, PTR_ERR(priv->rst_host), "host reset is missing");
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user