linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: LABBE Corentin <clabbe.montjoie@gmail.com>
To: ohad@wizery.com, bjorn.andersson@linaro.org
Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-sunxi@googlegroups.com,
	LABBE Corentin <clabbe.montjoie@gmail.com>
Subject: [PATCH RFC 2/3] Documentation: dt: add the sun8i-hwspinlock bindings document
Date: Fri, 12 Aug 2016 13:46:33 +0200	[thread overview]
Message-ID: <1471002394-1106-2-git-send-email-clabbe.montjoie@gmail.com> (raw)
In-Reply-To: <1471002394-1106-1-git-send-email-clabbe.montjoie@gmail.com>

This patch adds the DT bindings information for sun8i-hwspinlock module.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
---
 .../bindings/hwlock/sun8i-hwspinlock.txt           | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwlock/sun8i-hwspinlock.txt

diff --git a/Documentation/devicetree/bindings/hwlock/sun8i-hwspinlock.txt b/Documentation/devicetree/bindings/hwlock/sun8i-hwspinlock.txt
new file mode 100644
index 0000000..38c1d7f
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwlock/sun8i-hwspinlock.txt
@@ -0,0 +1,23 @@
+Sun8i HWspinlock Driver
+========================
+
+Required properties:
+- compatible:		Should be "allwinner,sun8i-hwspinlock"
+- reg:			Contains the hwspinlock module register address space
+			(base address and length)
+- clocks:		A phandle to the reference clock for this device
+- clock-names:		should be "ahb"
+- resets:		A phandle to the reset control for this device
+- reset-names:		should be "ahb"
+
+Example:
+
+/* sun8i-h3 */
+hwspinlock: hwspinlock@1c18000 {
+	compatible = "allwinner,sun8i-hwspinlock";
+	reg = <0x01c18000 0x400>;
+	resets = <&ccu RST_BUS_SPINLOCK>;
+	reset-names = "ahb";
+	clocks = <&ccu CLK_BUS_SPINLOCK>;
+	clock-names = "ahb";
+};
-- 
2.7.3

  reply	other threads:[~2016-08-12 11:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12 11:46 [PATCH RFC 1/3] hwspinlock: sun8i: add Allwinner sun8i HardWare Spinlock LABBE Corentin
2016-08-12 11:46 ` LABBE Corentin [this message]
2016-08-12 11:46 ` [PATCH RFC 3/3] ARM: dts: sun8i: add hwspinlock device to sun8i-h3 LABBE Corentin
2016-08-12 11:49   ` [linux-sunxi] " Hans de Goede
2016-08-12 19:06 ` [PATCH RFC 1/3] hwspinlock: sun8i: add Allwinner sun8i HardWare Spinlock Bjorn Andersson
2016-08-18 19:38   ` Corentin LABBE
2016-08-18 19:44     ` Bjorn Andersson

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=1471002394-1106-2-git-send-email-clabbe.montjoie@gmail.com \
    --to=clabbe.montjoie@gmail.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=ohad@wizery.com \
    /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).