diff mbox series

arm64: dts: meson: add missing gxl rng clock

Message ID 20200617125346.1163527-1-jbrunet@baylibre.com
State Accepted
Commit 95ca6f06dd4827ff63be5154120c7a8511cd9a41
Headers show
Series arm64: dts: meson: add missing gxl rng clock | expand

Commit Message

Jerome Brunet June 17, 2020, 12:53 p.m. UTC
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 <jbrunet@baylibre.com>

---
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.25.4

Comments

Neil Armstrong June 18, 2020, 1:39 p.m. UTC | #1
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 <jbrunet@baylibre.com>

> ---

>  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 <narmstrong@baylibre.com>
Kevin Hilman June 29, 2020, 11:19 p.m. UTC | #2
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 <khilman@baylibre.com>
diff mbox series

Patch

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