devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] OMAP hwspinlock DT updates
@ 2014-01-14  0:26 Suman Anna
  2014-01-14  0:26 ` [PATCH 1/3] ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes Suman Anna
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Suman Anna @ 2014-01-14  0:26 UTC (permalink / raw)
  To: Benoit Cousson
  Cc: Mark Rutland, Ohad Ben-Cohen, Suman Anna, devicetree,
	Tony Lindgren, linux-omap, linux-arm-kernel

Hi,

This series updates the existing OMAP hwspinlock DT nodes to have a
#hwlock-cells property as suggested by Mark Rutland [1], and adds the
hwspinlock nodes for two other newer SoCs - DRA7xx and AM43xx.

Posting the series separately from the driver DT adapation changes [2]
to avoid maintainer confusion.

[1] http://marc.info/?l=linux-omap&m=138433541420926&w=2
[2] http://marc.info/?l=linux-omap&m=138965904015225&w=2 

Suman Anna (3):
  ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes
  ARM: dts: DRA7: Add hwspinlock node
  ARM: dts: AM4372: Add hwspinlock node

 arch/arm/boot/dts/am33xx.dtsi | 1 +
 arch/arm/boot/dts/am4372.dtsi | 7 +++++++
 arch/arm/boot/dts/dra7.dtsi   | 7 +++++++
 arch/arm/boot/dts/omap4.dtsi  | 1 +
 arch/arm/boot/dts/omap5.dtsi  | 1 +
 5 files changed, 17 insertions(+)

-- 
1.8.4.3

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

* [PATCH 1/3] ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes
  2014-01-14  0:26 [PATCH 0/3] OMAP hwspinlock DT updates Suman Anna
@ 2014-01-14  0:26 ` Suman Anna
  2014-01-14  0:26 ` [PATCH 2/3] ARM: dts: DRA7: Add hwspinlock node Suman Anna
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Suman Anna @ 2014-01-14  0:26 UTC (permalink / raw)
  To: Benoit Cousson
  Cc: Mark Rutland, Ohad Ben-Cohen, Suman Anna, devicetree,
	Tony Lindgren, linux-omap, linux-arm-kernel

Add a new generic property "#hwlock-cells" to the hwspinlock
DT nodes on OMAP4, OMAP5 and AM33xx. This common property allows
different platform implementations to define the args specifier
length. OMAP implementations will always use a value of 1.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/boot/dts/am33xx.dtsi | 1 +
 arch/arm/boot/dts/omap4.dtsi  | 1 +
 arch/arm/boot/dts/omap5.dtsi  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index f6d8ffe..17a7cc3 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -292,6 +292,7 @@
 			compatible = "ti,omap4-hwspinlock";
 			reg = <0x480ca000 0x1000>;
 			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
 		};
 
 		wdt2: wdt@44e35000 {
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index a1e0585..246780d 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -261,6 +261,7 @@
 			compatible = "ti,omap4-hwspinlock";
 			reg = <0x4a0f6000 0x1000>;
 			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
 		};
 
 		i2c1: i2c@48070000 {
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index fc3fad5..adb71af 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -291,6 +291,7 @@
 			compatible = "ti,omap4-hwspinlock";
 			reg = <0x4a0f6000 0x1000>;
 			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
 		};
 
 		mcspi1: spi@48098000 {
-- 
1.8.4.3

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

* [PATCH 2/3] ARM: dts: DRA7: Add hwspinlock node
  2014-01-14  0:26 [PATCH 0/3] OMAP hwspinlock DT updates Suman Anna
  2014-01-14  0:26 ` [PATCH 1/3] ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes Suman Anna
@ 2014-01-14  0:26 ` Suman Anna
  2014-01-14  0:26 ` [PATCH 3/3] ARM: dts: AM4372: " Suman Anna
  2014-02-28 22:14 ` [PATCH 0/3] OMAP hwspinlock DT updates Tony Lindgren
  3 siblings, 0 replies; 5+ messages in thread
From: Suman Anna @ 2014-01-14  0:26 UTC (permalink / raw)
  To: Benoit Cousson
  Cc: Mark Rutland, Ohad Ben-Cohen, Suman Anna, devicetree,
	Tony Lindgren, linux-omap, linux-arm-kernel

Add the hwspinlock device tree node for DRA7 SoCs.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/boot/dts/dra7.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index d0df4c4..672ffec 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -425,6 +425,13 @@
 			ti,hwmods = "wd_timer2";
 		};
 
+		hwspinlock: spinlock@4a0f6000 {
+			compatible = "ti,omap4-hwspinlock";
+			reg = <0x4a0f6000 0x1000>;
+			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
+		};
+
 		i2c1: i2c@48070000 {
 			compatible = "ti,omap4-i2c";
 			reg = <0x48070000 0x100>;
-- 
1.8.4.3

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

* [PATCH 3/3] ARM: dts: AM4372: Add hwspinlock node
  2014-01-14  0:26 [PATCH 0/3] OMAP hwspinlock DT updates Suman Anna
  2014-01-14  0:26 ` [PATCH 1/3] ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes Suman Anna
  2014-01-14  0:26 ` [PATCH 2/3] ARM: dts: DRA7: Add hwspinlock node Suman Anna
@ 2014-01-14  0:26 ` Suman Anna
  2014-02-28 22:14 ` [PATCH 0/3] OMAP hwspinlock DT updates Tony Lindgren
  3 siblings, 0 replies; 5+ messages in thread
From: Suman Anna @ 2014-01-14  0:26 UTC (permalink / raw)
  To: Benoit Cousson
  Cc: Mark Rutland, Ohad Ben-Cohen, Suman Anna, devicetree,
	Tony Lindgren, linux-omap, linux-arm-kernel

Add the hwspinlock device tree node for AM43xx family
of SoCs.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 974d103..81bf21f 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -325,6 +325,13 @@
 			status = "disabled";
 		};
 
+		hwspinlock: spinlock@480ca000 {
+			compatible = "ti,omap4-hwspinlock";
+			reg = <0x480ca000 0x1000>;
+			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
+		};
+
 		i2c0: i2c@44e0b000 {
 			compatible = "ti,am4372-i2c","ti,omap4-i2c";
 			reg = <0x44e0b000 0x1000>;
-- 
1.8.4.3

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

* Re: [PATCH 0/3] OMAP hwspinlock DT updates
  2014-01-14  0:26 [PATCH 0/3] OMAP hwspinlock DT updates Suman Anna
                   ` (2 preceding siblings ...)
  2014-01-14  0:26 ` [PATCH 3/3] ARM: dts: AM4372: " Suman Anna
@ 2014-02-28 22:14 ` Tony Lindgren
  3 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2014-02-28 22:14 UTC (permalink / raw)
  To: Suman Anna
  Cc: Benoit Cousson, Mark Rutland, Ohad Ben-Cohen, devicetree,
	linux-omap, linux-arm-kernel

* Suman Anna <s-anna@ti.com> [140113 16:29]:
> Hi,
> 
> This series updates the existing OMAP hwspinlock DT nodes to have a
> #hwlock-cells property as suggested by Mark Rutland [1], and adds the
> hwspinlock nodes for two other newer SoCs - DRA7xx and AM43xx.
> 
> Posting the series separately from the driver DT adapation changes [2]
> to avoid maintainer confusion.

Thanks applying into omap-for-v3.15/dt.

Tony
 
> [1] http://marc.info/?l=linux-omap&m=138433541420926&w=2
> [2] http://marc.info/?l=linux-omap&m=138965904015225&w=2 
> 
> Suman Anna (3):
>   ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes
>   ARM: dts: DRA7: Add hwspinlock node
>   ARM: dts: AM4372: Add hwspinlock node
> 
>  arch/arm/boot/dts/am33xx.dtsi | 1 +
>  arch/arm/boot/dts/am4372.dtsi | 7 +++++++
>  arch/arm/boot/dts/dra7.dtsi   | 7 +++++++
>  arch/arm/boot/dts/omap4.dtsi  | 1 +
>  arch/arm/boot/dts/omap5.dtsi  | 1 +
>  5 files changed, 17 insertions(+)
> 
> -- 
> 1.8.4.3
> 

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

end of thread, other threads:[~2014-02-28 22:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14  0:26 [PATCH 0/3] OMAP hwspinlock DT updates Suman Anna
2014-01-14  0:26 ` [PATCH 1/3] ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes Suman Anna
2014-01-14  0:26 ` [PATCH 2/3] ARM: dts: DRA7: Add hwspinlock node Suman Anna
2014-01-14  0:26 ` [PATCH 3/3] ARM: dts: AM4372: " Suman Anna
2014-02-28 22:14 ` [PATCH 0/3] OMAP hwspinlock DT updates Tony Lindgren

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).