Re: [PATCH] hwrng: imx-rngc - setup default RNG quality

2020-07-28 Thread Christian Eggers
Hi Marco, On Tuesday, 28 July 2020, 09:48:17 CEST, Marco Felsch wrote: > Hi Christian, > > On 20-07-27 14:45, Christian Eggers wrote: > > When hw_random device's quality is non-zero, it will automatically fill > > the kernel's entropy pool at boot. For this purpos

[PATCH] hwrng: imx-rngc - setup default RNG quality

2020-07-27 Thread Christian Eggers
When hw_random device's quality is non-zero, it will automatically fill the kernel's entropy pool at boot. For this purpose, one conservative quality value is being picked up as the default value. Signed-off-by: Christian Eggers --- drivers/char/hw_random/imx-rngc.c | 1 + 1 file

[PATCH 2/3] hwrng: imx-rngc - make clock optional

2020-07-27 Thread Christian Eggers
On i.MX6 ULL the RNGB has no switchable clock. Signed-off-by: Christian Eggers --- drivers/char/hw_random/imx-rngc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/imx-rngc.c b/drivers/char/hw_random/imx-rngc.c index 9c47e431ce90..f9c5ddd0276b 100644

[PATCH 3/3] hwrng: imx-rngc - setup default RNG quality

2020-07-27 Thread Christian Eggers
When hw_random device's quality is non-zero, it will automatically fill the kernel's entropy pool at boot. For this purpose, one conservative quality value is being picked up as the default value. Signed-off-by: Christian Eggers --- drivers/char/hw_random/imx-rngc.c | 1 + 1 file

[PATCH] Support for RNGB on i.MX6 ULL

2020-07-27 Thread Christian Eggers
This small series adds support for the Random Number Generator on the i.MX6 ULL SoC.

[PATCH 1/3] ARM: dts: imx6ull: Add rngb node

2020-07-27 Thread Christian Eggers
The RNGB block on 6ull has no major differences, but it has no switchable clock. Signed-off-by: Christian Eggers --- arch/arm/boot/dts/imx6ull.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx6ull.dtsi b/arch/arm/boot/dts/imx6ull.dtsi index fcde7f77ae42