[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1432017698-23725-3-git-send-email-21cnbao@gmail.com>
Date: Tue, 19 May 2015 06:41:38 +0000
From: Barry Song <21cnbao@...il.com>
To: ohad@...ery.com, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Cc: workgroup.linux@....com, Wei Chen <Wei.Chen@....com>,
Suman Anna <s-anna@...com>, Bjorn Andersson <bjorn@...o.se>,
Barry Song <Baohua.Song@....com>
Subject: [PATCH 3/3 v3] ARM: dts: atlas7: use general dt-binding for hwspinlock
From: Wei Chen <Wei.Chen@....com>
This patch moves to use generic dt-binding for hwspinlock providers and
clients.
add #hwlock-cells for the provider and hwlocks for clients.
Cc: Suman Anna <s-anna@...com>
Cc: Bjorn Andersson <bjorn@...o.se>
Signed-off-by: Wei Chen <Wei.Chen@....com>
Signed-off-by: Barry Song <Baohua.Song@....com>
---
arch/arm/boot/dts/atlas7.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi
index a753178..66d3f0e 100644
--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -84,17 +84,17 @@
#address-cells = <1>;
#size-cells = <1>;
- hwspinlock {
+ hwlock: hwspinlock {
compatible = "sirf,hwspinlock";
reg = <0x13240000 0x00010000>;
-
- num-spinlocks = <30>;
+ #hwlock-cells = <1>;
};
ns_m3_rproc@0 {
compatible = "sirf,ns2m30-rproc";
reg = <0x13240000 0x00010000>;
interrupts = <0 123 0>;
+ hwlocks = <&hwlock 0>, <&hwlock 1>;
};
ns_m3_rproc@1 {
--
2.3.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists