Skip to content

Commit

Permalink
MIPS: ath79: Fix the USB PHY reset names
Browse files Browse the repository at this point in the history
The binding for the USB PHY went thru before the driver. However the
new version of the driver now use the PHY core support for reset, and
this expect the reset to be named "phy". So remove the "usb-" prefix
from the the reset names.

Signed-off-by: Alban Bedel <albeu@free.fr>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/15282/
Cc: linux-kernel@vger.kernel.org
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Antony Pavlov <antonynpavlov@gmail.com>
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
  • Loading branch information
Alban Bedel authored and Paul Burton committed Jul 26, 2018
1 parent a0553e0 commit 5bdd5fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/phy/phy-ath79-usb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
Required properties:
- compatible: "qca,ar7100-usb-phy"
- #phys-cells: should be 0
- reset-names: "usb-phy"[, "usb-suspend-override"]
- reset-names: "phy"[, "suspend-override"]
- resets: references to the reset controllers

Example:

usb-phy {
compatible = "qca,ar7100-usb-phy";

reset-names = "usb-phy", "usb-suspend-override";
reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;

#phy-cells = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/qca/ar9132.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
usb_phy: usb-phy {
compatible = "qca,ar7100-usb-phy";

reset-names = "usb-phy", "usb-suspend-override";
reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;

#phy-cells = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/qca/ar9331.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
usb_phy: usb-phy {
compatible = "qca,ar7100-usb-phy";

reset-names = "usb-phy", "usb-suspend-override";
reset-names = "phy", "suspend-override";
resets = <&rst 4>, <&rst 3>;

#phy-cells = <0>;
Expand Down

0 comments on commit 5bdd5fb

Please sign in to comment.