Commit 34054213 authored by Suman Anna's avatar Suman Anna Committed by Tony Lindgren

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.
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b62d91e5
...@@ -318,6 +318,7 @@ hwspinlock: spinlock@480ca000 { ...@@ -318,6 +318,7 @@ hwspinlock: spinlock@480ca000 {
compatible = "ti,omap4-hwspinlock"; compatible = "ti,omap4-hwspinlock";
reg = <0x480ca000 0x1000>; reg = <0x480ca000 0x1000>;
ti,hwmods = "spinlock"; ti,hwmods = "spinlock";
#hwlock-cells = <1>;
}; };
wdt2: wdt@44e35000 { wdt2: wdt@44e35000 {
......
...@@ -313,6 +313,7 @@ hwspinlock: spinlock@4a0f6000 { ...@@ -313,6 +313,7 @@ hwspinlock: spinlock@4a0f6000 {
compatible = "ti,omap4-hwspinlock"; compatible = "ti,omap4-hwspinlock";
reg = <0x4a0f6000 0x1000>; reg = <0x4a0f6000 0x1000>;
ti,hwmods = "spinlock"; ti,hwmods = "spinlock";
#hwlock-cells = <1>;
}; };
i2c1: i2c@48070000 { i2c1: i2c@48070000 {
......
...@@ -353,6 +353,7 @@ hwspinlock: spinlock@4a0f6000 { ...@@ -353,6 +353,7 @@ hwspinlock: spinlock@4a0f6000 {
compatible = "ti,omap4-hwspinlock"; compatible = "ti,omap4-hwspinlock";
reg = <0x4a0f6000 0x1000>; reg = <0x4a0f6000 0x1000>;
ti,hwmods = "spinlock"; ti,hwmods = "spinlock";
#hwlock-cells = <1>;
}; };
mcspi1: spi@48098000 { mcspi1: spi@48098000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment