Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1574150

[PATCH v4 3/3] MIPS: ath79: Fix the USB PHY reset names

From Alban <albeu@free.fr>
Newsgroups linux.kernel
Subject [PATCH v4 3/3] MIPS: ath79: Fix the USB PHY reset names
Date 2017-02-05 21:00 +0100
Message-ID <t7B8E-3eM-67@gated-at.bofh.it> (permalink)
References <t7B8C-3eM-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Alban Bedel <albeu@free.fr>

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>
---
 Documentation/devicetree/bindings/phy/phy-ath79-usb.txt | 4 ++--
 arch/mips/boot/dts/qca/ar9132.dtsi                      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/phy-ath79-usb.txt b/Documentation/devicetree/bindings/phy/phy-ath79-usb.txt
index cafe219..c3a29c5 100644
--- a/Documentation/devicetree/bindings/phy/phy-ath79-usb.txt
+++ b/Documentation/devicetree/bindings/phy/phy-ath79-usb.txt
@@ -3,7 +3,7 @@
 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:
@@ -11,7 +11,7 @@ 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>;
diff --git a/arch/mips/boot/dts/qca/ar9132.dtsi b/arch/mips/boot/dts/qca/ar9132.dtsi
index 302f0a8..808c2bb 100644
--- a/arch/mips/boot/dts/qca/ar9132.dtsi
+++ b/arch/mips/boot/dts/qca/ar9132.dtsi
@@ -160,7 +160,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>;
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 1/3] phy: core: Add support for clock and reset to the phy core Alban <albeu@free.fr> - 2017-02-05 21:00 +0100
  [PATCH v4 3/3] MIPS: ath79: Fix the USB PHY reset names Alban <albeu@free.fr> - 2017-02-05 21:00 +0100
    Re: [PATCH v4 3/3] MIPS: ath79: Fix the USB PHY reset names Rob Herring <robh@kernel.org> - 2017-02-08 23:20 +0100
    Re: [PATCH v4 3/3] MIPS: ath79: Fix the USB PHY reset names James Hogan <james.hogan@imgtec.com> - 2017-02-11 23:10 +0100
      Re: [PATCH v4 3/3] MIPS: ath79: Fix the USB PHY reset names Alban <albeu@free.fr> - 2017-02-13 09:40 +0100
  [PATCH v4 2/3] phy: Add a driver for the ATH79 USB phy Alban <albeu@free.fr> - 2017-02-05 21:00 +0100

csiph-web