devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nikolay Borisov <nborisov@suse.com>
To: mripard@kernel.org, bjorn.andersson@linaro.org
Cc: devicetree@vger.kernel.org, wens@csie.org, robh+dt@kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Nikolay Borisov <nborisov@suse.com>
Subject: [PATCH v2 2/3] arm64: dts: allwinner: a64: Add hwspinlock node
Date: Tue, 11 Feb 2020 14:26:23 +0200	[thread overview]
Message-ID: <20200211122624.16484-3-nborisov@suse.com> (raw)
In-Reply-To: <20200211122624.16484-1-nborisov@suse.com>

Add a node describing the hwspinlock on A64.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 27e48234f1c2..834f2f7f60bc 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -496,6 +496,15 @@
 			resets = <&ccu RST_BUS_CE>;
 		};
 
+		hwspinlock: spinlock@1c18000 {
+			compatible = "allwinner,sun50i-a64-hwspinlock";
+			reg = <0x01c18000 0x1000>;
+			clocks = <&ccu CLK_BUS_SPINLOCK>;
+			resets = <&ccu RST_BUS_SPINLOCK>;
+			#hwlock-cells = <1>;
+			status = "ok";
+		};
+
 		usb_otg: usb@1c19000 {
 			compatible = "allwinner,sun8i-a33-musb";
 			reg = <0x01c19000 0x0400>;
-- 
2.17.1


  parent reply	other threads:[~2020-02-11 12:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-11 12:26 [PATCH v2 0/3] Add support for hwspinlock on A64 SoC Nikolay Borisov
2020-02-11 12:26 ` [PATCH v2 1/3] hwspinlock: sunxi: Implement support for Allwinner's " Nikolay Borisov
2020-02-11 12:26 ` Nikolay Borisov [this message]
2020-02-11 12:26 ` [PATCH v2 3/3] dt-bindings: hwlock: Document A64 hwspinlock bindings Nikolay Borisov
2020-02-12  2:00   ` Rob Herring
2020-02-12 10:45     ` Nikolay Borisov
2020-02-12 11:54   ` [PATCH v3] " Nikolay Borisov
2020-02-18 23:05     ` Rob Herring

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=20200211122624.16484-3-nborisov@suse.com \
    --to=nborisov@suse.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mripard@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=wens@csie.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).