Skip to contentSkip to conversation

OMAP hwspinlock DT updates

PATCH New Suman Anna 2 participants 5 messages Jan 14, 2014 – Feb 28, 2014 Device tree bindings

lore
Share & tools
lore

Suman Anna

author
#0 lore raw

cover OMAP hwspinlock DT updates

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(+)
Signature · 1 line
1.8.4.3
author
#1 lore raw

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

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.

---
 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(+)
arch/arm/boot/dts/am33xx.dtsi +1 -0
index f6d8ffe..17a7cc3 100644
@@ -292,6 +292,7 @@
 			compatible = "ti,omap4-hwspinlock";
 			reg = <0x480ca000 0x1000>;
 			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
 		};
 
 		wdt2: wdt at 44e35000 {
arch/arm/boot/dts/omap4.dtsi +1 -0
index a1e0585..246780d 100644
@@ -261,6 +261,7 @@
 			compatible = "ti,omap4-hwspinlock";
 			reg = <0x4a0f6000 0x1000>;
 			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
 		};
 
 		i2c1: i2c at 48070000 {
arch/arm/boot/dts/omap5.dtsi +1 -0
index fc3fad5..adb71af 100644
@@ -291,6 +291,7 @@
 			compatible = "ti,omap4-hwspinlock";
 			reg = <0x4a0f6000 0x1000>;
 			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
 		};
 
 		mcspi1: spi at 48098000 {
Signature · 1 line
1.8.4.3
author
#2 lore raw

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

In reply to Suman Anna

Add the hwspinlock device tree node for DRA7 SoCs.

---
 arch/arm/boot/dts/dra7.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/dra7.dtsi +7 -0
index d0df4c4..672ffec 100644
@@ -425,6 +425,13 @@
 			ti,hwmods = "wd_timer2";
 		};
 
+		hwspinlock: spinlock at 4a0f6000 {
+			compatible = "ti,omap4-hwspinlock";
+			reg = <0x4a0f6000 0x1000>;
+			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
+		};
+
 		i2c1: i2c at 48070000 {
 			compatible = "ti,omap4-i2c";
 			reg = <0x48070000 0x100>;
Signature · 1 line
1.8.4.3
author
#3 lore raw

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

In reply to Suman Anna

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

---
 arch/arm/boot/dts/am4372.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/am4372.dtsi +7 -0
index 974d103..81bf21f 100644
@@ -325,6 +325,13 @@
 			status = "disabled";
 		};
 
+		hwspinlock: spinlock at 480ca000 {
+			compatible = "ti,omap4-hwspinlock";
+			reg = <0x480ca000 0x1000>;
+			ti,hwmods = "spinlock";
+			#hwlock-cells = <1>;
+		};
+
 		i2c0: i2c at 44e0b000 {
 			compatible = "ti,am4372-i2c","ti,omap4-i2c";
 			reg = <0x44e0b000 0x1000>;
Signature · 1 line
1.8.4.3
#4 lore raw

cover OMAP hwspinlock DT updates

In reply to Suman Anna
Quoted 8 lines · Suman Anna

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

Quoted 18 lines

[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(+)
Signature · 1 line
1.8.4.3