linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes
@ 2014-11-03 16:28 Felipe Balbi
  2014-11-10 23:27 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Felipe Balbi @ 2014-11-03 16:28 UTC (permalink / raw)
  To: linux-arm-kernel

by adding labels to DWC3 nodes, it's far easier
for boards to reference them.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---

soon we will need to reference these nodes in order
to add extcon binding, so USB can be enabled out-of-the-box.

 arch/arm/boot/dts/dra7.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index b9bf09f..7b54d2b 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -1143,7 +1143,7 @@
 			};
 		};
 
-		omap_dwc3_1 at 48880000 {
+		omap_dwc3_1: omap_dwc3_1 at 48880000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss1";
 			reg = <0x48880000 0x10000>;
@@ -1164,7 +1164,7 @@
 			};
 		};
 
-		omap_dwc3_2 at 488c0000 {
+		omap_dwc3_2: omap_dwc3_2 at 488c0000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss2";
 			reg = <0x488c0000 0x10000>;
@@ -1186,7 +1186,7 @@
 		};
 
 		/* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
-		omap_dwc3_3 at 48900000 {
+		omap_dwc3_3: omap_dwc3_3 at 48900000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss3";
 			reg = <0x48900000 0x10000>;
@@ -1206,7 +1206,7 @@
 			};
 		};
 
-		omap_dwc3_4 at 48940000 {
+		omap_dwc3_4: omap_dwc3_4 at 48940000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss4";
 			reg = <0x48940000 0x10000>;
-- 
2.1.0.GIT

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes
  2014-11-03 16:28 [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes Felipe Balbi
@ 2014-11-10 23:27 ` Tony Lindgren
  2014-11-10 23:37   ` Felipe Balbi
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2014-11-10 23:27 UTC (permalink / raw)
  To: linux-arm-kernel

* Felipe Balbi <balbi@ti.com> [141103 08:30]:
> by adding labels to DWC3 nodes, it's far easier
> for boards to reference them.
> 
> Signed-off-by: Felipe Balbi <balbi@ti.com>

Applying into omap-for-v3.19/dt, had to update it because
of "ARM: dts: DRA7: Move USB_OTG 4 to dra74x.dtsi". Updated
patch below.

Regards,

Tony

8< -------------------
From: Felipe Balbi <balbi@ti.com>
Date: Mon, 3 Nov 2014 10:28:42 -0600
Subject: [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes

by adding labels to DWC3 nodes, it's far easier
for boards to reference them.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[tony at atomide.com: updated for otg 4 move to dra74x.dtsi]
Signed-off-by: Tony Lindgren <tony@atomide.com>

--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -1219,7 +1219,7 @@
 			};
 		};
 
-		omap_dwc3_1 at 48880000 {
+		omap_dwc3_1: omap_dwc3_1 at 48880000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss1";
 			reg = <0x48880000 0x10000>;
@@ -1240,7 +1240,7 @@
 			};
 		};
 
-		omap_dwc3_2 at 488c0000 {
+		omap_dwc3_2: omap_dwc3_2 at 488c0000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss2";
 			reg = <0x488c0000 0x10000>;
@@ -1262,7 +1262,7 @@
 		};
 
 		/* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */
-		omap_dwc3_3 at 48900000 {
+		omap_dwc3_3: omap_dwc3_3 at 48900000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss3";
 			reg = <0x48900000 0x10000>;
--- a/arch/arm/boot/dts/dra74x.dtsi
+++ b/arch/arm/boot/dts/dra74x.dtsi
@@ -46,7 +46,7 @@
 	};
 
 	ocp {
-		omap_dwc3_4 at 48940000 {
+		omap_dwc3_4: omap_dwc3_4 at 48940000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss4";
 			reg = <0x48940000 0x10000>;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes
  2014-11-10 23:27 ` Tony Lindgren
@ 2014-11-10 23:37   ` Felipe Balbi
  0 siblings, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2014-11-10 23:37 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Nov 10, 2014 at 03:27:09PM -0800, Tony Lindgren wrote:
> * Felipe Balbi <balbi@ti.com> [141103 08:30]:
> > by adding labels to DWC3 nodes, it's far easier
> > for boards to reference them.
> > 
> > Signed-off-by: Felipe Balbi <balbi@ti.com>
> 
> Applying into omap-for-v3.19/dt, had to update it because
> of "ARM: dts: DRA7: Move USB_OTG 4 to dra74x.dtsi". Updated
> patch below.
> 
> Regards,
> 
> Tony
> 
> 8< -------------------
> From: Felipe Balbi <balbi@ti.com>
> Date: Mon, 3 Nov 2014 10:28:42 -0600
> Subject: [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes
> 
> by adding labels to DWC3 nodes, it's far easier
> for boards to reference them.
> 
> Signed-off-by: Felipe Balbi <balbi@ti.com>
> [tony at atomide.com: updated for otg 4 move to dra74x.dtsi]
> Signed-off-by: Tony Lindgren <tony@atomide.com>

looks good, thanks.

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141110/698df04f/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-10 23:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-03 16:28 [PATCH] arm: boot: dts: dra7: add labels to DWC3 nodes Felipe Balbi
2014-11-10 23:27 ` Tony Lindgren
2014-11-10 23:37   ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).