diff mbox series

[v2,08/18] ARM: dts: qcom: sdx55: Add Shared memory manager support

Message ID 20210105122649.13581-9-manivannan.sadhasivam@linaro.org
State New
Headers show
Series Devicetree update for SDX55 platform | expand

Commit Message

Manivannan Sadhasivam Jan. 5, 2021, 12:26 p.m. UTC
Add smem node to support shared memory manager on SDX55 platform.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

---
 arch/arm/boot/dts/qcom-sdx55.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.25.1

Comments

Vinod Koul Jan. 5, 2021, 3:51 p.m. UTC | #1
On 05-01-21, 17:56, Manivannan Sadhasivam wrote:
> Add smem node to support shared memory manager on SDX55 platform.


Reviewed-by: Vinod Koul <vkoul@kernel.org>


> 

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> ---

>  arch/arm/boot/dts/qcom-sdx55.dtsi | 6 ++++++

>  1 file changed, 6 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi

> index e48ec7a1971b..622a63b0058f 100644

> --- a/arch/arm/boot/dts/qcom-sdx55.dtsi

> +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi

> @@ -177,6 +177,12 @@ tcsr_mutex: hwlock {

>  			#hwlock-cells = <1>;

>  		};

>  

> +		smem {

> +			compatible = "qcom,smem";

> +			memory-region = <&smem_mem>;

> +			hwlocks = <&tcsr_mutex 3>;

> +		};

> +

>  		pdc: interrupt-controller@b210000 {

>  			compatible = "qcom,sdx55-pdc", "qcom,pdc";

>  			reg = <0x0b210000 0x30000>;

> -- 

> 2.25.1


-- 
~Vinod
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi
index e48ec7a1971b..622a63b0058f 100644
--- a/arch/arm/boot/dts/qcom-sdx55.dtsi
+++ b/arch/arm/boot/dts/qcom-sdx55.dtsi
@@ -177,6 +177,12 @@  tcsr_mutex: hwlock {
 			#hwlock-cells = <1>;
 		};
 
+		smem {
+			compatible = "qcom,smem";
+			memory-region = <&smem_mem>;
+			hwlocks = <&tcsr_mutex 3>;
+		};
+
 		pdc: interrupt-controller@b210000 {
 			compatible = "qcom,sdx55-pdc", "qcom,pdc";
 			reg = <0x0b210000 0x30000>;