dt-bindings: hwlock: qcom: Allow device on mmio bus
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 22 Jun 2020 07:59:54 +0000 (00:59 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 14 Jul 2020 05:29:24 +0000 (22:29 -0700)
commitd6a9f0c8f635a9177e39db6386575bd6cdd55931
tree6c0190afdcc6c80a60be2f021b0e1ed7577e80a8
parenta7541de9abed7cee7df0012214b1962e892885cc
dt-bindings: hwlock: qcom: Allow device on mmio bus

In modern Qualcomm platforms the mutex region of the TCSR is forked off
into its own block, all with a offset of 0 and stride of 4096, and in
some of these platforms no other registers in this region is accessed
from Linux.

Update the binding to allow the hardware block to be described directly
on the mmio bus, in addition to allowing the existing syscon based
definition for backwards compatibility.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200622075956.171058-3-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml