summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwlock
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2020-07-28 17:47:57 -0700
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-08-04 20:21:45 -0700
commit35efb0e1d5c60e334ea719586ff2509fde2e613b (patch)
tree210c2f559cb5c4594081e89a86251078a28676ad /Documentation/devicetree/bindings/hwlock
parent7a1e6fb1c606d414320b7498e7f8357d73c972e5 (diff)
dt-bindings: hwlock: qcom: Remove invalid binding
The Qualcomm hwlock is described in DeviceTree either directly on the mmio bus or split between a syscon and a mutex node, but as noted in [1] the latter is not valid DT, so remove any traces of this from the binding. [1] https://lore.kernel.org/r/CAL_JsqLa9GBtbgN6aL7AQ=A6V-YRtPgYqh6XgM2kpx532+r4Gg@mail.gmail.com/ Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20200729004757.1901107-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/hwlock')
-rw-r--r--Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml25
1 files changed, 1 insertions, 24 deletions
diff --git a/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
index 88f975837588..1c7149f7d171 100644
--- a/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
+++ b/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
@@ -25,38 +25,15 @@ properties:
'#hwlock-cells':
const: 1
- syscon:
- $ref: "/schemas/types.yaml#/definitions/phandle-array"
- description:
- Should be a triple of phandle referencing the TCSR mutex syscon, offset
- of first mutex within the syscon and stride between each mutex.
-
required:
- compatible
+ - reg
- '#hwlock-cells'
-oneOf:
- - required:
- - reg
- - required:
- - syscon
-
additionalProperties: false
examples:
- |
- tcsr_mutex_block: syscon@fd484000 {
- compatible = "syscon";
- reg = <0xfd484000 0x2000>;
- };
-
- hwlock {
- compatible = "qcom,tcsr-mutex";
- syscon = <&tcsr_mutex_block 0 0x80>;
-
- #hwlock-cells = <1>;
- };
- - |
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x01f40000 0x40000>;