linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mathieu@codeaurora.org (Mathieu Olivari)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/3] ARM: qcom: add SFPB nodes to IPQ806x dts
Date: Tue, 18 Aug 2015 14:04:18 -0700	[thread overview]
Message-ID: <1439931860-7473-2-git-send-email-mathieu@codeaurora.org> (raw)
In-Reply-To: <1439931860-7473-1-git-send-email-mathieu@codeaurora.org>

Add one new node to the ipq806x.dtsi file to declare & register the
hardware spinlock devices. This mechanism is required to be used by
other drivers such as SMEM.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
---
 arch/arm/boot/dts/qcom-ipq8064.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
index 9f727d8..8d366ae 100644
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -329,5 +329,16 @@
 			#reset-cells = <1>;
 		};
 
+		sfpb_mutex_block: syscon at 1200600 {
+			compatible = "syscon";
+			reg = <0x01200600 0x100>;
+		};
+	};
+
+	sfpb_mutex: sfpb-mutex {
+		compatible = "qcom,sfpb-mutex";
+		syscon = <&sfpb_mutex_block 4 4>;
+
+		#hwlock-cells = <1>;
 	};
 };
-- 
2.1.4

  reply	other threads:[~2015-08-18 21:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 21:04 [PATCH v4 0/3] qcom: Add SMEM MTD parser Mathieu Olivari
2015-08-18 21:04 ` Mathieu Olivari [this message]
2015-08-19 16:35   ` [PATCH v4 1/3] ARM: qcom: add SFPB nodes to IPQ806x dts Bjorn Andersson
2015-08-25  0:24   ` Stephen Boyd
2015-08-18 21:04 ` [PATCH v4 2/3] ARM: qcom: add SMEM device node " Mathieu Olivari
2015-08-19 16:36   ` Bjorn Andersson
2015-08-25  0:25   ` Stephen Boyd
2015-08-18 21:04 ` [PATCH v4 3/3] mtd: add SMEM parser for QCOM platforms Mathieu Olivari
2015-08-19 16:37   ` Bjorn Andersson
2015-08-25  0:35   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439931860-7473-2-git-send-email-mathieu@codeaurora.org \
    --to=mathieu@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).