2020-06-17 12:55:57

by Jerome Brunet

[permalink] [raw]
Subject: [PATCH] arm64: dts: meson: add missing gxl rng clock

The peripheral clock of the RNG is missing for gxl while it is present
for gxbb.

Fixes: 1b3f6d148692 ("ARM64: dts: meson-gx: add clock CLKID_RNG0 to hwrng node")
Signed-off-by: Jerome Brunet <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
index fc59c8534c0f..6c8b189884ca 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
@@ -337,6 +337,11 @@ clkc: clock-controller {
};
};

+&hwrng {
+ clocks = <&clkc CLKID_RNG0>;
+ clock-names = "core";
+};
+
&i2c_A {
clocks = <&clkc CLKID_I2C>;
};
--
2.25.4


2020-06-18 13:42:41

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: meson: add missing gxl rng clock

On 17/06/2020 14:53, Jerome Brunet wrote:
> The peripheral clock of the RNG is missing for gxl while it is present
> for gxbb.
>
> Fixes: 1b3f6d148692 ("ARM64: dts: meson-gx: add clock CLKID_RNG0 to hwrng node")
> Signed-off-by: Jerome Brunet <[email protected]>
> ---
> arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
> index fc59c8534c0f..6c8b189884ca 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
> @@ -337,6 +337,11 @@ clkc: clock-controller {
> };
> };
>
> +&hwrng {
> + clocks = <&clkc CLKID_RNG0>;
> + clock-names = "core";
> +};
> +
> &i2c_A {
> clocks = <&clkc CLKID_I2C>;
> };
>

Reviewed-by: Neil Armstrong <[email protected]>

2020-06-29 23:20:20

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: meson: add missing gxl rng clock

On Wed, 17 Jun 2020 14:53:46 +0200, Jerome Brunet wrote:
> The peripheral clock of the RNG is missing for gxl while it is present
> for gxbb.

Applied, thanks!

[1/1] arm64: dts: meson: add missing gxl rng clock
commit: 95ca6f06dd4827ff63be5154120c7a8511cd9a41

Best regards,
--
Kevin Hilman <[email protected]>