arm64: dts: meson: add missing gxl rng clock
diff mbox series

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

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(+)

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,
patchwork-bot+linux-amlogic@kernel.org July 7, 2020, 6:51 p.m. UTC | #3
Hello:

This patch was applied to khilman/linux-amlogic.git (refs/heads/for-next).

On Wed, 17 Jun 2020 14:53:46 +0200 you 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(+)


Here is a summary with links:
  - arm64: dts: meson: add missing gxl rng clock
    https://git.kernel.org/khilman/linux-amlogic/c/95ca6f06dd4827ff63be5154120c7a8511cd9a41

You are awesome, thank you!

Patch
diff mbox series

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