From: Xingyu Wu <xingyu.wu@starfivetech.com>
To: Bjorn Andersson <andersson@kernel.org>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Xingyu Wu <xingyu.wu@starfivetech.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-remoteproc@vger.kernel.org
Subject: [PATCH v2 1/2] dt-bindings: hwlock: Add StarFive JHB100 HW lock
Date: Fri, 15 May 2026 17:53:56 +0800 [thread overview]
Message-ID: <20260515095357.75998-2-xingyu.wu@starfivetech.com> (raw)
In-Reply-To: <20260515095357.75998-1-xingyu.wu@starfivetech.com>
Add the new documentation of hardware spinlock for the StarFive JHB100 SoC.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
---
.../hwlock/starfive,jhb100-hwspinlock.yaml | 43 +++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.yaml
diff --git a/Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.yaml
new file mode 100644
index 000000000000..af09aeb072b3
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.yaml
@@ -0,0 +1,43 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwlock/starfive,jhb100-hwspinlock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: StarFive JHB100 Hardware Spinlock
+
+maintainers:
+ - Xingyu Wu <xingyu.wu@starfivetech.com>
+
+properties:
+ compatible:
+ const: starfive,jhb100-hwspinlock
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ resets:
+ maxItems: 1
+
+ "#hwlock-cells":
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - resets
+ - "#hwlock-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ hwlock@13012000 {
+ compatible = "starfive,jhb100-hwspinlock";
+ reg = <0x13012000 0x400>;
+ resets = <&sys0crg 0>;
+ #hwlock-cells = <1>;
+ };
--
2.34.1
next prev parent reply other threads:[~2026-05-15 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-15 9:53 [PATCH v2 0/2] Add hwspinlock driver for StarFive JHB100 SoC Xingyu Wu
2026-05-15 9:53 ` Xingyu Wu [this message]
2026-05-15 17:16 ` [PATCH v2 1/2] dt-bindings: hwlock: Add StarFive JHB100 HW lock Conor Dooley
2026-05-15 9:53 ` [PATCH v2 2/2] hwspinlock: Add StarFive hwspinlock device Xingyu Wu
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=20260515095357.75998-2-xingyu.wu@starfivetech.com \
--to=xingyu.wu@starfivetech.com \
--cc=andersson@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=robh@kernel.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