Skip to content

hwspinlock: qcom: Allow dropping the intermediate TCSR mutex syscon

Bjorn Andersson linux-arm-msm linux-devicetree linux-remoteproc lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 9 repliesIn review
  2. v14 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: hwlock: qcom: Migrate binding to YAMLDocumentation/devicetree/bindings/hwlock/qcom-hwspinlock.txt Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml+51 -394 replies
2/4dt-bindings: hwlock: qcom: Allow device on mmio busDocumentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml+15 -11 reply
3/4hwspinlock: qcom: Allow mmio usage in addition to syscondrivers/hwspinlock/qcom_hwspinlock.c+54 -162 replies
4/4arm64: dts: qcom: sm8250: Drop tcsr_mutex sysconarch/arm64/boot/dts/qcom/sm8250.dtsi+6 -112 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchVinod KoulBaolin WangRob HerringDmitry BaryshkovManivannan Sadhasivam
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] hwspinlock: qcom: Allow dropping the intermediate TCSR mutex syscon

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 and the implementation to allow the TCSR mutex to be represented without an intermediate syscon node.

Bjorn Andersson (4):
dt-bindings: hwlock: qcom: Migrate binding to YAML
dt-bindings: hwlock: qcom: Allow device on mmio bus
hwspinlock: qcom: Allow mmio usage in addition to syscon
arm64: dts: qcom: sm8250: Drop tcsr_mutex syscon

 .../bindings/hwlock/qcom-hwspinlock.txt       | 39 -----------
 .../bindings/hwlock/qcom-hwspinlock.yaml      | 65 +++++++++++++++++
 arch/arm64/boot/dts/qcom/sm8250.dtsi          | 17 ++---
 drivers/hwspinlock/qcom_hwspinlock.c          | 70 ++++++++++++++-----
 4 files changed, 125 insertions(+), 66 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.txt
 create mode 100644 Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml
Signature · 1 line
2.26.2