[PATCH 1/4] dt-bindings: brcmstb-hwspinlock: support for hwspinlock
Kamal Dasu
kamal.dasu at broadcom.com
Fri Jul 11 08:42:18 PDT 2025
From: Kamal Dasu <kdasu at broadcom.com>
Adding brcmstb_hwspinlock bindings.
Signed-off-by: Kamal Dasu <kamal.dasu at broadcom.com>
---
.../hwlock/brcm,brcmstb-hwspinlock.yaml | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwlock/brcm,brcmstb-hwspinlock.yaml
diff --git a/Documentation/devicetree/bindings/hwlock/brcm,brcmstb-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/brcm,brcmstb-hwspinlock.yaml
new file mode 100644
index 000000000000..b49ead166b1e
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwlock/brcm,brcmstb-hwspinlock.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwlock/brcm,brcmstb-hwspinlock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom settop Hardware Spinlock
+
+maintainers:
+ - Kamal Dasu <kamal.dasu at broadcom.com>
+
+properties:
+ "#hwlock-cells":
+ const: 1
+
+ compatible:
+ const: brcm,brcmstb-hwspinlock
+
+ reg:
+ maxItems: 1
+
+required:
+ - "#hwlock-cells"
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ hwspinlock at 8404038 {
+ compatible = "brcm,brcmstb-hwspinlock";
+ #hwlock-cells = <1>;
+ reg = <0x8404038 0x40>;
+ };
+
--
2.34.1
More information about the linux-arm-kernel
mailing list