2022-10-26 09:07:31

by Frank Wunderlich

[permalink] [raw]
Subject: [PATCH] arm64: dts: mt7986: fix trng node name

From: Frank Wunderlich <[email protected]>

Binding requires node name to be rng not trng:

trng@1020f000: $nodename:0: 'trng@1020f000' does not match '^rng@[0-9a-f]+$'

Signed-off-by: Frank Wunderlich <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
index 72e0d9722e07..226648f48df2 100644
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
@@ -168,7 +168,7 @@ sgmiisys1: syscon@10070000 {
#clock-cells = <1>;
};

- trng: trng@1020f000 {
+ trng: rng@1020f000 {
compatible = "mediatek,mt7986-rng",
"mediatek,mt7623-rng";
reg = <0 0x1020f000 0 0x100>;
--
2.34.1



Subject: Re: [PATCH] arm64: dts: mt7986: fix trng node name

Il 26/10/22 10:51, Frank Wunderlich ha scritto:
> From: Frank Wunderlich <[email protected]>
>
> Binding requires node name to be rng not trng:
>
> trng@1020f000: $nodename:0: 'trng@1020f000' does not match '^rng@[0-9a-f]+$'
>
> Signed-off-by: Frank Wunderlich <[email protected]>

Please add:

Fixes: 50137c150f5f ("arm64: dts: mediatek: add basic mt7986 support")

After which,
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>