[PATCH] hwrng: imx-rngc - add quality to use it as kernel entropy pool

2020-08-31 Thread Marco Felsch
y level can be calculated by: 20.000 * 1024 ----- = ~ 19.5 2^20 Signed-off-by: Marco Felsch --- drivers/char/hw_random/imx-rngc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/hw_random/imx-rngc.c b/drivers/char/hw_random/imx-rngc.c index 9c47e431ce90..61c844baf26e

Re: [PATCH v3 3/3] Input: snvs_pwrkey - only IRQ_HANDLED for our own events

2020-07-30 Thread Marco Felsch
Hi Dmitry, On 20-07-29 23:06, Dmitry Torokhov wrote: > Hi Marco, > > On Wed, Jul 29, 2020 at 09:55:13AM +0200, Marco Felsch wrote: > > Hi, > > > > On 20-07-23 10:43, Horia Geantă wrote: > > > From: André Draszik > > > > > > The snv

Re: [PATCH v3 2/3] Input: snvs_pwrkey - enable snvs clock as needed

2020-07-30 Thread Marco Felsch
Hi Dmitry, On 20-07-29 23:04, Dmitry Torokhov wrote: > On Wed, Jul 29, 2020 at 09:33:23AM +0200, Marco Felsch wrote: > > Hi, > > > > On 20-07-23 10:43, Horia Geantă wrote: > > > From: André Draszik > > > > > > At the moment, enabling this drive

Re: [PATCH v3 3/3] Input: snvs_pwrkey - only IRQ_HANDLED for our own events

2020-07-29 Thread Marco Felsch
Hi, On 20-07-23 10:43, Horia Geantă wrote: > From: André Draszik > > The snvs_pwrkey shares the SNVS LPSR status register with the snvs_rtc. > > This driver here should only return IRQ_HANDLED if the status register > indicates that the event we're handling in the irq handler was genuinely > in

Re: [PATCH v3 2/3] Input: snvs_pwrkey - enable snvs clock as needed

2020-07-29 Thread Marco Felsch
Hi, On 20-07-23 10:43, Horia Geantă wrote: > From: André Draszik > > At the moment, enabling this driver without the SNVS RTC driver > being active will hang the kernel as soon as the power button > is pressed. > > The reason is that in that case the SNVS isn't enabled, and > any attempt to rea

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

2020-07-28 Thread Marco Felsch
>From 9f047eee5e4ce8353c9b764a47e7f584b2013347 Mon Sep 17 00:00:00 2001 From: Marco Felsch Date: Thu, 7 May 2020 12:01:28 +0200 Subject: [PATCH] hwrng: imx-rngc - add quality to use it as kernel entropy pool The RM describes the RNGB as follow: 8<-

Re: [PATCH v2 5/5] hwrng: imx-rngc: enable driver for i.MX6

2020-07-02 Thread Marco Felsch
On 20-06-21 17:56, Horia Geantă wrote: > i.MX6 SL, SLL, ULL, ULZ SoCs have an RNGB block. > > Since imx-rngc driver supports also rngb, > let's enable it for these SoCs too. > > Signed-off-by: Horia Geantă > --- Reviewed-by: Marco Felsch

Re: [PATCH v2 4/5] ARM: dts: imx6ull: add rng

2020-07-02 Thread Marco Felsch
On 20-06-21 17:56, Horia Geantă wrote: > Add node for the RNGB block. > > Signed-off-by: Horia Geantă > --- Reviewed-by: Marco Felsch