Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -24
+1 -24
Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
··· 25 25 '#hwlock-cells': 26 26 const: 1 27 27 28 - syscon: 29 - $ref: "/schemas/types.yaml#/definitions/phandle-array" 30 - description: 31 - Should be a triple of phandle referencing the TCSR mutex syscon, offset 32 - of first mutex within the syscon and stride between each mutex. 33 - 34 28 required: 35 29 - compatible 30 + - reg 36 31 - '#hwlock-cells' 37 - 38 - oneOf: 39 - - required: 40 - - reg 41 - - required: 42 - - syscon 43 32 44 33 additionalProperties: false 45 34 46 35 examples: 47 - - | 48 - tcsr_mutex_block: syscon@fd484000 { 49 - compatible = "syscon"; 50 - reg = <0xfd484000 0x2000>; 51 - }; 52 - 53 - hwlock { 54 - compatible = "qcom,tcsr-mutex"; 55 - syscon = <&tcsr_mutex_block 0 0x80>; 56 - 57 - #hwlock-cells = <1>; 58 - }; 59 36 - | 60 37 tcsr_mutex: hwlock@1f40000 { 61 38 compatible = "qcom,tcsr-mutex";