All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: <rogerq@ti.com>, <tony@atomide.com>, <t-kristo@ti.com>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-usb@vger.kernel.org>, <linux-omap@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>
Cc: <balbi@ti.com>, <bcousson@baylibre.com>, <linux@arm.linux.org.uk>,
	<nsekhar@ti.com>, <kishon@ti.com>
Subject: [PATCH 06/10] ARM: dts: am4372: Use "syscon-phy-power" instead of "ctrl-module" in USB PHY node
Date: Tue, 4 Aug 2015 21:00:29 +0530	[thread overview]
Message-ID: <1438702233-8027-7-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1438702233-8027-1-git-send-email-kishon@ti.com>

Add "syscon-phy-power" property and remove the deprecated "ctrl-module"
property from USB PHY device tree node.

Since "am43xx_control_usb2phy1" and "am43xx_control_usb2phy2"
devicetree nodes are no longer used, remove it.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi |   16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index ade28c79..24fa073 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -802,18 +802,6 @@
 			status = "disabled";
 		};
 
-		am43xx_control_usb2phy1: control-phy@44e10620 {
-			compatible = "ti,control-phy-usb2-am437";
-			reg = <0x44e10620 0x4>;
-			reg-names = "power";
-		};
-
-		am43xx_control_usb2phy2: control-phy@0x44e10628 {
-			compatible = "ti,control-phy-usb2-am437";
-			reg = <0x44e10628 0x4>;
-			reg-names = "power";
-		};
-
 		ocp2scp0: ocp2scp@483a8000 {
 			compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
 			#address-cells = <1>;
@@ -824,7 +812,7 @@
 			usb2_phy1: phy@483a8000 {
 				compatible = "ti,am437x-usb2";
 				reg = <0x483a8000 0x8000>;
-				ctrl-module = <&am43xx_control_usb2phy1>;
+				syscon-phy-power = <&scm_conf 0x620>;
 				clocks = <&usb_phy0_always_on_clk32k>,
 					 <&usb_otg_ss0_refclk960m>;
 				clock-names = "wkupclk", "refclk";
@@ -843,7 +831,7 @@
 			usb2_phy2: phy@483e8000 {
 				compatible = "ti,am437x-usb2";
 				reg = <0x483e8000 0x8000>;
-				ctrl-module = <&am43xx_control_usb2phy2>;
+				syscon-phy-power = <&scm_conf 0x628>;
 				clocks = <&usb_phy1_always_on_clk32k>,
 					 <&usb_otg_ss1_refclk960m>;
 				clock-names = "wkupclk", "refclk";
-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: Kishon Vijay Abraham I <kishon@ti.com>
To: rogerq@ti.com, tony@atomide.com, t-kristo@ti.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org, linux-omap@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Cc: nsekhar@ti.com, linux@arm.linux.org.uk, bcousson@baylibre.com,
	balbi@ti.com, kishon@ti.com
Subject: [PATCH 06/10] ARM: dts: am4372: Use "syscon-phy-power" instead of "ctrl-module" in USB PHY node
Date: Tue, 4 Aug 2015 21:00:29 +0530	[thread overview]
Message-ID: <1438702233-8027-7-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1438702233-8027-1-git-send-email-kishon@ti.com>

Add "syscon-phy-power" property and remove the deprecated "ctrl-module"
property from USB PHY device tree node.

Since "am43xx_control_usb2phy1" and "am43xx_control_usb2phy2"
devicetree nodes are no longer used, remove it.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi |   16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index ade28c79..24fa073 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -802,18 +802,6 @@
 			status = "disabled";
 		};
 
-		am43xx_control_usb2phy1: control-phy@44e10620 {
-			compatible = "ti,control-phy-usb2-am437";
-			reg = <0x44e10620 0x4>;
-			reg-names = "power";
-		};
-
-		am43xx_control_usb2phy2: control-phy@0x44e10628 {
-			compatible = "ti,control-phy-usb2-am437";
-			reg = <0x44e10628 0x4>;
-			reg-names = "power";
-		};
-
 		ocp2scp0: ocp2scp@483a8000 {
 			compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
 			#address-cells = <1>;
@@ -824,7 +812,7 @@
 			usb2_phy1: phy@483a8000 {
 				compatible = "ti,am437x-usb2";
 				reg = <0x483a8000 0x8000>;
-				ctrl-module = <&am43xx_control_usb2phy1>;
+				syscon-phy-power = <&scm_conf 0x620>;
 				clocks = <&usb_phy0_always_on_clk32k>,
 					 <&usb_otg_ss0_refclk960m>;
 				clock-names = "wkupclk", "refclk";
@@ -843,7 +831,7 @@
 			usb2_phy2: phy@483e8000 {
 				compatible = "ti,am437x-usb2";
 				reg = <0x483e8000 0x8000>;
-				ctrl-module = <&am43xx_control_usb2phy2>;
+				syscon-phy-power = <&scm_conf 0x628>;
 				clocks = <&usb_phy1_always_on_clk32k>,
 					 <&usb_otg_ss1_refclk960m>;
 				clock-names = "wkupclk", "refclk";
-- 
1.7.9.5

WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 06/10] ARM: dts: am4372: Use "syscon-phy-power" instead of "ctrl-module" in USB PHY node
Date: Tue, 4 Aug 2015 21:00:29 +0530	[thread overview]
Message-ID: <1438702233-8027-7-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1438702233-8027-1-git-send-email-kishon@ti.com>

Add "syscon-phy-power" property and remove the deprecated "ctrl-module"
property from USB PHY device tree node.

Since "am43xx_control_usb2phy1" and "am43xx_control_usb2phy2"
devicetree nodes are no longer used, remove it.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi |   16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index ade28c79..24fa073 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -802,18 +802,6 @@
 			status = "disabled";
 		};
 
-		am43xx_control_usb2phy1: control-phy at 44e10620 {
-			compatible = "ti,control-phy-usb2-am437";
-			reg = <0x44e10620 0x4>;
-			reg-names = "power";
-		};
-
-		am43xx_control_usb2phy2: control-phy at 0x44e10628 {
-			compatible = "ti,control-phy-usb2-am437";
-			reg = <0x44e10628 0x4>;
-			reg-names = "power";
-		};
-
 		ocp2scp0: ocp2scp at 483a8000 {
 			compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
 			#address-cells = <1>;
@@ -824,7 +812,7 @@
 			usb2_phy1: phy at 483a8000 {
 				compatible = "ti,am437x-usb2";
 				reg = <0x483a8000 0x8000>;
-				ctrl-module = <&am43xx_control_usb2phy1>;
+				syscon-phy-power = <&scm_conf 0x620>;
 				clocks = <&usb_phy0_always_on_clk32k>,
 					 <&usb_otg_ss0_refclk960m>;
 				clock-names = "wkupclk", "refclk";
@@ -843,7 +831,7 @@
 			usb2_phy2: phy at 483e8000 {
 				compatible = "ti,am437x-usb2";
 				reg = <0x483e8000 0x8000>;
-				ctrl-module = <&am43xx_control_usb2phy2>;
+				syscon-phy-power = <&scm_conf 0x628>;
 				clocks = <&usb_phy1_always_on_clk32k>,
 					 <&usb_otg_ss1_refclk960m>;
 				clock-names = "wkupclk", "refclk";
-- 
1.7.9.5

  parent reply	other threads:[~2015-08-04 15:32 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-04 15:30 [PATCH 00/10] ARM: dts: use syscon property instead of ctrl-module Kishon Vijay Abraham I
2015-08-04 15:30 ` Kishon Vijay Abraham I
2015-08-04 15:30 ` Kishon Vijay Abraham I
2015-08-04 15:30 ` [PATCH 01/10] ARM: dts: dra7: Add dt node for PCIe registers in sysctrl space Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-05  7:55   ` Roger Quadros
2015-08-05  7:55     ` Roger Quadros
2015-08-05  7:55     ` Roger Quadros
2015-08-04 15:30 ` [PATCH 02/10] ARM: dts: dra7: Use "syscon-phy-power" instead of "ctrl-module" in SATA PHY node Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-05  7:55   ` Roger Quadros
2015-08-05  7:55     ` Roger Quadros
2015-08-05  7:55     ` Roger Quadros
2015-08-04 15:30 ` [PATCH 03/10] ARM: dts: dra7: Use "syscon-phy-power" and "syscon-pcs" in PCIe " Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30 ` [PATCH 04/10] ARM: dts: dra7: Use "ti,dra7x-usb2-phy2" compatible string for USB2 PHY2 Kishon Vijay Abraham I
2015-08-04 15:30   ` [PATCH 04/10] ARM: dts: dra7: Use "ti, dra7x-usb2-phy2" " Kishon Vijay Abraham I
2015-08-04 15:30   ` [PATCH 04/10] ARM: dts: dra7: Use "ti,dra7x-usb2-phy2" " Kishon Vijay Abraham I
2015-08-04 15:30 ` [PATCH 05/10] ARM: dts: dra7: Use "syscon-phy-power" instead of "ctrl-module" in USB PHY node Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-05  7:56   ` Roger Quadros
2015-08-05  7:56     ` Roger Quadros
2015-08-05  7:56     ` Roger Quadros
2015-08-04 15:30 ` Kishon Vijay Abraham I [this message]
2015-08-04 15:30   ` [PATCH 06/10] ARM: dts: am4372: " Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-05  7:58   ` Roger Quadros
2015-08-05  7:58     ` Roger Quadros
2015-08-05  7:58     ` Roger Quadros
2015-08-04 15:30 ` [PATCH 07/10] ARM: dts: OMAP5: " Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-05  7:58   ` Roger Quadros
2015-08-05  7:58     ` Roger Quadros
2015-08-05  7:58     ` Roger Quadros
2015-08-04 15:30 ` [PATCH 08/10] ARM: dts: OMAP5: Use "syscon-phy-power" instead of "ctrl-module" in SATA " Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-05  7:59   ` Roger Quadros
2015-08-05  7:59     ` Roger Quadros
2015-08-05  7:59     ` Roger Quadros
2015-08-04 15:30 ` [PATCH 09/10] ARM: dts: omap4: Use "syscon-phy-power" instead of "ctrl-module" in USB " Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-05  8:01   ` Roger Quadros
2015-08-05  8:01     ` Roger Quadros
2015-08-05  8:01     ` Roger Quadros
2015-08-04 15:30 ` [PATCH 10/10] ARM: dts: omap4: Use "syscon-otghs" instead of "ctrl-module" in USB node Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-04 15:30   ` Kishon Vijay Abraham I
2015-08-05  8:02   ` Roger Quadros
2015-08-05  8:02     ` Roger Quadros
2015-08-05  8:02     ` Roger Quadros
2015-08-05  8:08     ` Roger Quadros
2015-08-05  8:08       ` Roger Quadros
2015-08-05  8:08       ` Roger Quadros
2015-08-05 14:25       ` Kishon Vijay Abraham I
2015-08-05 14:25         ` Kishon Vijay Abraham I
2015-08-05 14:25         ` Kishon Vijay Abraham I
2015-08-06  8:48         ` Tony Lindgren
2015-08-06  8:48           ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438702233-8027-7-git-send-email-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=balbi@ti.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nsekhar@ti.com \
    --cc=rogerq@ti.com \
    --cc=t-kristo@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.