]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit91306739e69a43886b71994470ae3b6f6723ad1a
tree6c0190afdcc6c80a60be2f021b0e1ed7577e80a8
parent3d78e922910df8317e8bf0eec49b612c7e374c42
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