Commit 35efb0e1 authored by Bjorn Andersson's avatar Bjorn Andersson

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200729004757.1901107-1-bjorn.andersson@linaro.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 7a1e6fb1
...@@ -25,37 +25,14 @@ properties: ...@@ -25,37 +25,14 @@ properties:
'#hwlock-cells': '#hwlock-cells':
const: 1 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: required:
- compatible - compatible
- reg
- '#hwlock-cells' - '#hwlock-cells'
oneOf:
- required:
- reg
- required:
- syscon
additionalProperties: false additionalProperties: false
examples: 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 { tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex"; compatible = "qcom,tcsr-mutex";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment