[PATCH 0/3] OMAP hwspinlock DT updates

STALE4599d

5 messages, 2 authors, 2014-02-28 · open the first message on its own page

[PATCH 0/3] OMAP hwspinlock DT updates

From: Suman Anna <hidden>
Date: 2014-01-14 00:26:44

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

[PATCH 1/3] ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes

From: Suman Anna <hidden>
Date: 2014-01-14 00:26:45

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 <redacted>
---
 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

[PATCH 2/3] ARM: dts: DRA7: Add hwspinlock node

From: Suman Anna <hidden>
Date: 2014-01-14 00:26:46

Add the hwspinlock device tree node for DRA7 SoCs.

Signed-off-by: Suman Anna <redacted>
---
 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

[PATCH 3/3] ARM: dts: AM4372: Add hwspinlock node

From: Suman Anna <hidden>
Date: 2014-01-14 00:26:47

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

Signed-off-by: Suman Anna <redacted>
---
 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

Re: [PATCH 0/3] OMAP hwspinlock DT updates

From: Tony Lindgren <tony@atomide.com>
Date: 2014-02-28 22:14:39

* Suman Anna [off-list ref] [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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help