Re: [PATCH v2 07/18] ARM: dts: qcom: sdx55: Add support for TCSR Mutex
From: Bjorn Andersson
Date: Tue Jan 05 2021 - 13:21:38 EST
On Tue 05 Jan 06:26 CST 2021, Manivannan Sadhasivam wrote:
> Add TCSR Mutex node to support Qualcomm Hardware Mutex block on SDX55
> platform.
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> ---
> arch/arm/boot/dts/qcom-sdx55.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi
> index 927f43a7414c..e48ec7a1971b 100644
> --- a/arch/arm/boot/dts/qcom-sdx55.dtsi
> +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi
> @@ -166,6 +166,17 @@ sdhc_1: sdhci@8804000 {
> status = "disabled";
> };
>
> + tcsr_mutex_block: syscon@1f40000 {
> + compatible = "syscon";
It was recently determined that simply "syscon" isn't a valid
compatible.
> + reg = <0x1f40000 0x20000>;
> + };
> +
> + tcsr_mutex: hwlock {
> + compatible = "qcom,tcsr-mutex";
And in some platforms the tcsr_mutex_block seems to be single use
anyways, so I rewrote this binding a while ago.
So, this will still work in Linux, please update the patch to match the
new binding
(Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml)
Thanks,
Bjorn
> + syscon = <&tcsr_mutex_block 0 0x1000>;
> + #hwlock-cells = <1>;
> + };
> +
> pdc: interrupt-controller@b210000 {
> compatible = "qcom,sdx55-pdc", "qcom,pdc";
> reg = <0x0b210000 0x30000>;
> --
> 2.25.1
>