2022-10-27 15:59:16

by Frank Wunderlich

[permalink] [raw]
Subject: [PATCH v2] 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]+$'

Fixes: 50137c150f5f ("arm64: dts: mediatek: add basic mt7986 support")
Signed-off-by: Frank Wunderlich <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[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



2022-11-10 14:29:56

by Matthias Brugger

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



On 27/10/2022 17:10, Frank Wunderlich wrote:
> 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]+$'
>
> Fixes: 50137c150f5f ("arm64: dts: mediatek: add basic mt7986 support")
> Signed-off-by: Frank Wunderlich <[email protected]>
> Reviewed-by: AngeloGioacchino Del Regno <[email protected]>

Applied, thanks

> ---
> 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>;