From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [PATCH 0/5] HWRNG: add support for HW Random Number Generators
Date: Fri, 26 Feb 2016 13:04:42 +0100 [thread overview]
Message-ID: <1456488287-23404-1-git-send-email-s.trumtrar@pengutronix.de> (raw)
Hi!
This series adds support for registering a /dev/hwrng like in a
linux system.
Tested with the i.MX25 RNG, that is also added.
Regards,
Steffen
Steffen Trumtrar (5):
drivers: add simple hw_random implementation
lib: random: get_random_bytes from HWRNG if present
ARM: imx25: clk: add rngb clock
ARM: i.MX25: dtsi: add rng node
hw_random: add driver for Freescale RNGC
arch/arm/dts/imx25.dtsi | 11 ++
arch/arm/mach-imx/clk-imx25.c | 5 +-
drivers/Kconfig | 1 +
drivers/Makefile | 1 +
drivers/hw_random/Kconfig | 17 +++
drivers/hw_random/Makefile | 2 +
drivers/hw_random/core.c | 110 +++++++++++++++
drivers/hw_random/mxc-rngc.c | 311 ++++++++++++++++++++++++++++++++++++++++++
include/linux/hw_random.h | 44 ++++++
lib/random.c | 19 +++
10 files changed, 519 insertions(+), 2 deletions(-)
create mode 100644 drivers/hw_random/Kconfig
create mode 100644 drivers/hw_random/Makefile
create mode 100644 drivers/hw_random/core.c
create mode 100644 drivers/hw_random/mxc-rngc.c
create mode 100644 include/linux/hw_random.h
--
2.7.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2016-02-26 12:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 12:04 Steffen Trumtrar [this message]
2016-02-26 12:04 ` [PATCH 1/5] drivers: add simple hw_random implementation Steffen Trumtrar
2016-02-29 7:06 ` Sascha Hauer
2016-02-26 12:04 ` [PATCH 2/5] lib: random: get_random_bytes from HWRNG if present Steffen Trumtrar
2016-02-26 20:28 ` Jason Cooper
2016-02-29 13:45 ` Steffen Trumtrar
2016-02-26 12:04 ` [PATCH 3/5] ARM: imx25: clk: add rngb clock Steffen Trumtrar
2016-02-26 12:04 ` [PATCH 4/5] ARM: i.MX25: dtsi: add rng node Steffen Trumtrar
2016-02-26 12:04 ` [PATCH 5/5] hw_random: add driver for Freescale RNGC Steffen Trumtrar
2016-02-29 7:33 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456488287-23404-1-git-send-email-s.trumtrar@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox