summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml16
1 files changed, 15 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
index 71e63b52edd5..88f975837588 100644
--- a/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
+++ b/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
@@ -19,6 +19,9 @@ properties:
- qcom,sfpb-mutex
- qcom,tcsr-mutex
+ reg:
+ maxItems: 1
+
'#hwlock-cells':
const: 1
@@ -31,7 +34,12 @@ properties:
required:
- compatible
- '#hwlock-cells'
- - syscon
+
+oneOf:
+ - required:
+ - reg
+ - required:
+ - syscon
additionalProperties: false
@@ -48,4 +56,10 @@ examples:
#hwlock-cells = <1>;
};
+ - |
+ tcsr_mutex: hwlock@1f40000 {
+ compatible = "qcom,tcsr-mutex";
+ reg = <0x01f40000 0x40000>;
+ #hwlock-cells = <1>;
+ };
...