lkml.org 
[lkml]   [2019]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] hwrng: npcm: add NPCM RNG driver support
Date
This patch set adds Randon Number Generator (RNG) support 
for the Nuvoton NPCM Baseboard Management Controller (BMC).

The RNG driver we use power consumption when the RNG
is not required.

The NPCM RNG driver tested on NPCM750 evaluation board.

Addressed comments from:.
- Daniel Thompson, Milton Miller II : https://patchwork.ozlabs.org/patch/1154598/

Changes since version 1:
- Define timout in real-world units.
- Using readl_poll_timeout in rng_read function.
- Honor wait parameter in rng_read function.
- Using local variable instead of #ifndef.
- Remove probe print.

Tomer Maimon (2):
dt-binding: hwrng: add NPCM RNG documentation
hwrng: npcm: add NPCM RNG driver

.../bindings/rng/nuvoton,npcm-rng.txt | 17 ++
drivers/char/hw_random/Kconfig | 13 ++
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/npcm-rng.c | 203 ++++++++++++++++++
4 files changed, 234 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/nuvoton,npcm-rng.txt
create mode 100644 drivers/char/hw_random/npcm-rng.c

--
2.18.0

\
 
 \ /
  Last update: 2019-09-09 14:41    [W:0.093 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site