[PATCH 1/2] arm64: dts: mediatek: update mt7986a memory node

Sam Shih posted 2 patches 2 years, 8 months ago
[PATCH 1/2] arm64: dts: mediatek: update mt7986a memory node
Posted by Sam Shih 2 years, 8 months ago
This patch updates the format of memory node in DT based on
maintainer comments in the following thread:
https://lore.kernel.org/all/bc0a9df0-8ba0-76ed-4522-43a3082f42b4@gmail.com/

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
index 5cd760abff51..21e420829572 100644
--- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
@@ -19,7 +19,8 @@ chosen {
 		stdout-path = "serial0:115200n8";
 	};
 
-	memory {
+	memory@40000000 {
+		device_type = "memory";
 		reg = <0 0x40000000 0 0x40000000>;
 	};
 };
-- 
2.29.2

Re: [PATCH 1/2] arm64: dts: mediatek: update mt7986a memory node
Posted by Matthias Brugger 2 years, 6 months ago

On 19/01/2022 13:35, Sam Shih wrote:
> This patch updates the format of memory node in DT based on
> maintainer comments in the following thread:
> https://lore.kernel.org/all/bc0a9df0-8ba0-76ed-4522-43a3082f42b4@gmail.com/
> 
> Signed-off-by: Sam Shih <sam.shih@mediatek.com>

Applied both with slightly better commit message. Please help the maintainer by 
providing verbose commit message.

Regards,
Matthias

> ---
>   arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> index 5cd760abff51..21e420829572 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> @@ -19,7 +19,8 @@ chosen {
>   		stdout-path = "serial0:115200n8";
>   	};
>   
> -	memory {
> +	memory@40000000 {
> +		device_type = "memory";
>   		reg = <0 0x40000000 0 0x40000000>;
>   	};
>   };