public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM64: meson-axg: enable hardware rng
@ 2017-12-18 11:35 Jerome Brunet
  2018-01-16 23:42 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Jerome Brunet @ 2017-12-18 11:35 UTC (permalink / raw)
  To: Kevin Hilman, Carlo Caione
  Cc: Jerome Brunet, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel

Enable the hardware random generator

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
Hi Kevin,

This patch depends on the changes adding the ethernet controller [0],
for including the axg clock binding header.

Cheers
Jerome

[0]: https://lkml.kernel.org/r/20171216035527.96952-2-yixun.lan@amlogic.com


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

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index dea1bc31b4de..c741fc16486f 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -212,6 +212,13 @@
 			#size-cells = <2>;
 			ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
 
+			hwrng: rng {
+				compatible = "amlogic,meson-rng";
+				reg = <0x0 0x18 0x0 0x4>;
+				clocks = <&clkc CLKID_RNG0>;
+				clock-names = "core";
+			};
+
 			pinctrl_periphs: pinctrl@480 {
 				compatible = "amlogic,meson-axg-periphs-pinctrl";
 				#address-cells = <2>;
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM64: meson-axg: enable hardware rng
  2017-12-18 11:35 [PATCH] ARM64: meson-axg: enable hardware rng Jerome Brunet
@ 2018-01-16 23:42 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2018-01-16 23:42 UTC (permalink / raw)
  To: Jerome Brunet
  Cc: Carlo Caione, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel

Jerome Brunet <jbrunet@baylibre.com> writes:

> Enable the hardware random generator
>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> Hi Kevin,
>
> This patch depends on the changes adding the ethernet controller [0],
> for including the axg clock binding header.

Thanks for describing the dependencies.

Queueing for v4.17 (branch: v4.17/dt64)

Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-16 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18 11:35 [PATCH] ARM64: meson-axg: enable hardware rng Jerome Brunet
2018-01-16 23:42 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox