diff mbox series

[03/14] ARM: dts: qcom: use generic sram as name for imem and ocmem nodes

Message ID 20220607171848.535128-3-krzysztof.kozlowski@linaro.org
State New
Headers show
Series [01/14] dt-bindings: sram: qcom,ocmem: cleanup example coding style | expand

Commit Message

Krzysztof Kozlowski June 7, 2022, 5:18 p.m. UTC
According to Devicetree specification, the device nodes should be
generic, reflecting the function of the device.  The typical name for
memory regions is "sram".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 2 +-
 arch/arm/boot/dts/qcom-msm8974.dtsi                | 4 ++--
 arch/arm/boot/dts/qcom-sdx55.dtsi                  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Comments

Luca Weiss June 10, 2022, 8:53 p.m. UTC | #1
Hi Krzysztof,

On Dienstag, 7. Juni 2022 19:18:37 CEST Krzysztof Kozlowski wrote:
> According to Devicetree specification, the device nodes should be
> generic, reflecting the function of the device.  The typical name for
> memory regions is "sram".
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Luca Weiss <luca@z3ntu.xyz>

Regards
Luca

> ---
>  arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 2 +-
>  arch/arm/boot/dts/qcom-msm8974.dtsi                | 4 ++--
>  arch/arm/boot/dts/qcom-sdx55.dtsi                  | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts index
> ca9f73528196..de01e34409f2 100644
> --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> @@ -341,7 +341,7 @@ mmc@12400000 {
>  			};
>  		};
> 
> -		imem@2a03f000 {
> +		sram@2a03f000 {
>  			compatible = "syscon", "simple-mfd";
>  			reg = <0x2a03f000 0x1000>;
> 
> diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi
> b/arch/arm/boot/dts/qcom-msm8974.dtsi index 814ad0b46232..09b181bb5365
> 100644
> --- a/arch/arm/boot/dts/qcom-msm8974.dtsi
> +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
> @@ -1603,7 +1603,7 @@ opp-27000000 {
>  			};
>  		};
> 
> -		ocmem@fdd00000 {
> +		sram@fdd00000 {
>  			compatible = "qcom,msm8974-ocmem";
>  			reg = <0xfdd00000 0x2000>,
>  			      <0xfec00000 0x180000>;
> @@ -1650,7 +1650,7 @@ smd-edge {
>  			};
>  		};
> 
> -		imem: imem@fe805000 {
> +		imem: sram@fe805000 {
>  			compatible = "syscon", "simple-mfd";
>  			reg = <0xfe805000 0x1000>;
> 
> diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi
> b/arch/arm/boot/dts/qcom-sdx55.dtsi index 1c2b208a5670..710c7f772d42 100644
> --- a/arch/arm/boot/dts/qcom-sdx55.dtsi
> +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi
> @@ -561,7 +561,7 @@ tlmm: pinctrl@f100000 {
>  			#interrupt-cells = <2>;
>  		};
> 
> -		imem@1468f000 {
> +		sram@1468f000 {
>  			compatible = "simple-mfd";
>  			reg = <0x1468f000 0x1000>;
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index ca9f73528196..de01e34409f2 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -341,7 +341,7 @@  mmc@12400000 {
 			};
 		};
 
-		imem@2a03f000 {
+		sram@2a03f000 {
 			compatible = "syscon", "simple-mfd";
 			reg = <0x2a03f000 0x1000>;
 
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi
index 814ad0b46232..09b181bb5365 100644
--- a/arch/arm/boot/dts/qcom-msm8974.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
@@ -1603,7 +1603,7 @@  opp-27000000 {
 			};
 		};
 
-		ocmem@fdd00000 {
+		sram@fdd00000 {
 			compatible = "qcom,msm8974-ocmem";
 			reg = <0xfdd00000 0x2000>,
 			      <0xfec00000 0x180000>;
@@ -1650,7 +1650,7 @@  smd-edge {
 			};
 		};
 
-		imem: imem@fe805000 {
+		imem: sram@fe805000 {
 			compatible = "syscon", "simple-mfd";
 			reg = <0xfe805000 0x1000>;
 
diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi
index 1c2b208a5670..710c7f772d42 100644
--- a/arch/arm/boot/dts/qcom-sdx55.dtsi
+++ b/arch/arm/boot/dts/qcom-sdx55.dtsi
@@ -561,7 +561,7 @@  tlmm: pinctrl@f100000 {
 			#interrupt-cells = <2>;
 		};
 
-		imem@1468f000 {
+		sram@1468f000 {
 			compatible = "simple-mfd";
 			reg = <0x1468f000 0x1000>;