Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: ath79: Fix the USB PHY reset names

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

authored by

Alban Bedel and committed by
Paul Burton
5bdd5fbb a0553e01

+4 -4
+2 -2
Documentation/devicetree/bindings/phy/phy-ath79-usb.txt
··· 3 3 Required properties: 4 4 - compatible: "qca,ar7100-usb-phy" 5 5 - #phys-cells: should be 0 6 - - reset-names: "usb-phy"[, "usb-suspend-override"] 6 + - reset-names: "phy"[, "suspend-override"] 7 7 - resets: references to the reset controllers 8 8 9 9 Example: ··· 11 11 usb-phy { 12 12 compatible = "qca,ar7100-usb-phy"; 13 13 14 - reset-names = "usb-phy", "usb-suspend-override"; 14 + reset-names = "phy", "suspend-override"; 15 15 resets = <&rst 4>, <&rst 3>; 16 16 17 17 #phy-cells = <0>;
+1 -1
arch/mips/boot/dts/qca/ar9132.dtsi
··· 161 161 usb_phy: usb-phy { 162 162 compatible = "qca,ar7100-usb-phy"; 163 163 164 - reset-names = "usb-phy", "usb-suspend-override"; 164 + reset-names = "phy", "suspend-override"; 165 165 resets = <&rst 4>, <&rst 3>; 166 166 167 167 #phy-cells = <0>;
+1 -1
arch/mips/boot/dts/qca/ar9331.dtsi
··· 146 146 usb_phy: usb-phy { 147 147 compatible = "qca,ar7100-usb-phy"; 148 148 149 - reset-names = "usb-phy", "usb-suspend-override"; 149 + reset-names = "phy", "suspend-override"; 150 150 resets = <&rst 4>, <&rst 3>; 151 151 152 152 #phy-cells = <0>;