diff mbox series

[v2,2/9] arm64: dts: qcom: msm8953: Adjust reserved-memory nodes

Message ID 20221119203758.888207-3-luca@z3ntu.xyz (mailing list archive)
State Superseded
Headers show
Series Add a bunch of msm8953 dts files | expand

Commit Message

Luca Weiss Nov. 19, 2022, 8:37 p.m. UTC
Adjust node names so they're not just memory@ but actually show what
they're used for. Also add labels to most nodes so we can easily
reference them from devices.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Changes in v2:
* new patch

 arch/arm64/boot/dts/qcom/msm8953.dtsi | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Comments

Konrad Dybcio Nov. 21, 2022, 11:15 a.m. UTC | #1
On 19.11.2022 21:37, Luca Weiss wrote:
> Adjust node names so they're not just memory@ but actually show what
> they're used for. Also add labels to most nodes so we can easily
> reference them from devices.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
> Changes in v2:
> * new patch
> 
>  arch/arm64/boot/dts/qcom/msm8953.dtsi | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi
> index 32349174c4bd..62d2ae30711b 100644
> --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi
> @@ -245,18 +245,18 @@ reserved-memory {
>  		#size-cells = <2>;
>  		ranges;
>  
> -		zap_shader_region: memory@81800000 {
> +		zap_shader_region: zap@81800000 {
>  			compatible = "shared-dma-pool";
>  			reg = <0x0 0x81800000 0x0 0x2000>;
>  			no-map;
>  		};
>  
> -		memory@85b00000 {
> +		qseecom_mem: qseecom@85b00000 {
>  			reg = <0x0 0x85b00000 0x0 0x800000>;
>  			no-map;
>  		};
>  
> -		smem_mem: memory@86300000 {
> +		smem_mem: smem@86300000 {
>  			compatible = "qcom,smem";
>  			reg = <0x0 0x86300000 0x0 0x100000>;
>  			qcom,rpm-msg-ram = <&rpm_msg_ram>;
> @@ -264,47 +264,47 @@ smem_mem: memory@86300000 {
>  			no-map;
>  		};
>  
> -		memory@86400000 {
> +		reserved@86400000 {
>  			reg = <0x0 0x86400000 0x0 0x400000>;
>  			no-map;
>  		};
>  
> -		mpss_mem: memory@86c00000 {
> +		mpss_mem: mpss@86c00000 {
>  			reg = <0x0 0x86c00000 0x0 0x6a00000>;
>  			no-map;
>  		};
>  
> -		adsp_fw_mem: memory@8d600000 {
> +		adsp_fw_mem: adsp@8d600000 {
>  			reg = <0x0 0x8d600000 0x0 0x1100000>;
>  			no-map;
>  		};
>  
> -		wcnss_fw_mem: memory@8e700000 {
> +		wcnss_fw_mem: wcnss@8e700000 {
>  			reg = <0x0 0x8e700000 0x0 0x700000>;
>  			no-map;
>  		};
>  
> -		memory@90000000 {
> +		dfps_data_mem: dfps-data@90000000 {
>  			reg = <0 0x90000000 0 0x1000>;
>  			no-map;
>  		};
>  
> -		memory@90001000 {
> +		cont_splash_mem: cont-splash@90001000 {
>  			reg = <0x0 0x90001000 0x0 0x13ff000>;
>  			no-map;
>  		};
>  
> -		venus_mem: memory@91400000 {
> +		venus_mem: venus@91400000 {
>  			reg = <0x0 0x91400000 0x0 0x700000>;
>  			no-map;
>  		};
>  
> -		mba_mem: memory@92000000 {
> +		mba_mem: mba@92000000 {
>  			reg = <0x0 0x92000000 0x0 0x100000>;
>  			no-map;
>  		};
>  
> -		memory@f2d00000 {
> +		rmtfs@f2d00000 {
>  			compatible = "qcom,rmtfs-mem";
>  			reg = <0x0 0xf2d00000 0x0 0x180000>;
>  			no-map;
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi
index 32349174c4bd..62d2ae30711b 100644
--- a/arch/arm64/boot/dts/qcom/msm8953.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi
@@ -245,18 +245,18 @@  reserved-memory {
 		#size-cells = <2>;
 		ranges;
 
-		zap_shader_region: memory@81800000 {
+		zap_shader_region: zap@81800000 {
 			compatible = "shared-dma-pool";
 			reg = <0x0 0x81800000 0x0 0x2000>;
 			no-map;
 		};
 
-		memory@85b00000 {
+		qseecom_mem: qseecom@85b00000 {
 			reg = <0x0 0x85b00000 0x0 0x800000>;
 			no-map;
 		};
 
-		smem_mem: memory@86300000 {
+		smem_mem: smem@86300000 {
 			compatible = "qcom,smem";
 			reg = <0x0 0x86300000 0x0 0x100000>;
 			qcom,rpm-msg-ram = <&rpm_msg_ram>;
@@ -264,47 +264,47 @@  smem_mem: memory@86300000 {
 			no-map;
 		};
 
-		memory@86400000 {
+		reserved@86400000 {
 			reg = <0x0 0x86400000 0x0 0x400000>;
 			no-map;
 		};
 
-		mpss_mem: memory@86c00000 {
+		mpss_mem: mpss@86c00000 {
 			reg = <0x0 0x86c00000 0x0 0x6a00000>;
 			no-map;
 		};
 
-		adsp_fw_mem: memory@8d600000 {
+		adsp_fw_mem: adsp@8d600000 {
 			reg = <0x0 0x8d600000 0x0 0x1100000>;
 			no-map;
 		};
 
-		wcnss_fw_mem: memory@8e700000 {
+		wcnss_fw_mem: wcnss@8e700000 {
 			reg = <0x0 0x8e700000 0x0 0x700000>;
 			no-map;
 		};
 
-		memory@90000000 {
+		dfps_data_mem: dfps-data@90000000 {
 			reg = <0 0x90000000 0 0x1000>;
 			no-map;
 		};
 
-		memory@90001000 {
+		cont_splash_mem: cont-splash@90001000 {
 			reg = <0x0 0x90001000 0x0 0x13ff000>;
 			no-map;
 		};
 
-		venus_mem: memory@91400000 {
+		venus_mem: venus@91400000 {
 			reg = <0x0 0x91400000 0x0 0x700000>;
 			no-map;
 		};
 
-		mba_mem: memory@92000000 {
+		mba_mem: mba@92000000 {
 			reg = <0x0 0x92000000 0x0 0x100000>;
 			no-map;
 		};
 
-		memory@f2d00000 {
+		rmtfs@f2d00000 {
 			compatible = "qcom,rmtfs-mem";
 			reg = <0x0 0xf2d00000 0x0 0x180000>;
 			no-map;