linux-remoteproc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] hwspinlock: qcom: Allow dropping the intermediate TCSR mutex syscon
@ 2020-06-22  7:59 Bjorn Andersson
  2020-06-22  7:59 ` [PATCH v2 1/4] dt-bindings: hwlock: qcom: Migrate binding to YAML Bjorn Andersson
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Bjorn Andersson @ 2020-06-22  7:59 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Ohad Ben-Cohen, Baolin Wang, Rob Herring
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel

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

-- 
2.26.2


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [PATCH v2 4/4] arm64: dts: qcom: sm8250: Drop tcsr_mutex syscon
@ 2021-12-25 14:57 David Heidelberg
  2021-12-29 15:42 ` Bjorn Andersson
  0 siblings, 1 reply; 16+ messages in thread
From: David Heidelberg @ 2021-12-25 14:57 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	Andy Gross, Ohad Ben-Cohen, Baolin Wang, Rob Herring

Hello,

any particular reason, why you did applied this patch only to sm8250?

Is it safe to convert rest of tcsr-mutex nodes to new schema without 
additional testing?

Thanks
David



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-12-29 15:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22  7:59 [PATCH v2 0/4] hwspinlock: qcom: Allow dropping the intermediate TCSR mutex syscon Bjorn Andersson
2020-06-22  7:59 ` [PATCH v2 1/4] dt-bindings: hwlock: qcom: Migrate binding to YAML Bjorn Andersson
2020-07-14  2:09   ` Rob Herring
2020-07-21 15:13   ` Rob Herring
2020-07-22  4:46     ` Bjorn Andersson
2020-07-22 14:42       ` Rob Herring
2020-06-22  7:59 ` [PATCH v2 2/4] dt-bindings: hwlock: qcom: Allow device on mmio bus Bjorn Andersson
2020-07-14  2:10   ` Rob Herring
2020-06-22  7:59 ` [PATCH v2 3/4] hwspinlock: qcom: Allow mmio usage in addition to syscon Bjorn Andersson
2020-07-14 16:04   ` Stephan Gerhold
2020-07-14 16:33     ` Bjorn Andersson
2020-06-22  7:59 ` [PATCH v2 4/4] arm64: dts: qcom: sm8250: Drop tcsr_mutex syscon Bjorn Andersson
2020-07-15 19:36   ` Dmitry Baryshkov
2020-07-16  2:59   ` Manivannan Sadhasivam
2021-12-25 14:57 David Heidelberg
2021-12-29 15:42 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).