Re: [PATCH 2/4] hwrng: bcm2835: Support Broadcom NSP SoC rng

2016-05-23 Thread Eric Anholt
Yendapally Reddy Dhananjaya Reddy writes: > This supports the random number generator available in NSP SoC. > Masks the rng interrupt for NSP. The interrupt reg is also present on the 2835. I would prefer for simplicity if you also initialized the register to the

Re: [PATCH 2/4] hwrng: bcm2835: Support Broadcom NSP SoC rng

2016-05-23 Thread Eric Anholt
Yendapally Reddy Dhananjaya Reddy writes: > This supports the random number generator available in NSP SoC. > Masks the rng interrupt for NSP. The interrupt reg is also present on the 2835. I would prefer for simplicity if you also initialized the register to the same value on the Pi, even

[PATCH 2/4] hwrng: bcm2835: Support Broadcom NSP SoC rng

2016-05-23 Thread Yendapally Reddy Dhananjaya Reddy
This supports the random number generator available in NSP SoC. Masks the rng interrupt for NSP. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/char/hw_random/Kconfig | 2 +- drivers/char/hw_random/bcm2835-rng.c | 34

[PATCH 2/4] hwrng: bcm2835: Support Broadcom NSP SoC rng

2016-05-23 Thread Yendapally Reddy Dhananjaya Reddy
This supports the random number generator available in NSP SoC. Masks the rng interrupt for NSP. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/char/hw_random/Kconfig | 2 +- drivers/char/hw_random/bcm2835-rng.c | 34 ++ 2 files changed, 31