From: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
To: herbert@gondor.apana.org.au, robh+dt@kernel.org,
mark.rutland@arm.com, ralf@linux-mips.org,
mturquette@baylibre.com, sboyd@codeaurora.org,
davem@davemloft.net, paul@crapouillou.net,
linux-crypto@vger.kernel.org, linux-mips@linux-mips.org
Cc: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Subject: [PATCH 0/6] crypto: Add driver for JZ4780 PRNG
Date: Thu, 17 Aug 2017 23:55:14 +0530 [thread overview]
Message-ID: <20170817182520.20102-1-prasannatsmkumar@gmail.com> (raw)
This patch series adds support of pseudo random number generator found
in Ingenic's JZ4780 and X1000 SoC.
The PRNG hardware block registers are a part of same hardware block
that has clock and power registers which is handled by CGU driver.
Ingenic M200 SoC contains power related registers that are present
after the PRNG registers. So instead of reducing the register range,
syscon interface is used to expose a register map that is used by both
CGU driver and this driver. Changes made to jz4740-cgu.c is only compile
tested.
PrasannaKumar Muralidharan (6):
crypto: jz4780-rng: Add devicetree bindings for RNG in JZ4780 SoC
crypto: jz4780-rng: Make ingenic CGU driver use syscon
crypto: jz4780-rng: Add Ingenic JZ4780 hardware PRNG driver
crypto: jz4780-rng: Add RNG node to jz4780.dtsi
crypto: jz4780-rng: Add myself as mainatainer for JZ4780 PRNG driver
crypto: jz4780-rng: Enable PRNG support in CI20 defconfig
.../devicetree/bindings/rng/ingenic,jz4780-rng.txt | 24 +++
MAINTAINERS | 5 +
arch/mips/boot/dts/ingenic/jz4740.dtsi | 14 +-
arch/mips/boot/dts/ingenic/jz4780.dtsi | 18 ++-
arch/mips/configs/ci20_defconfig | 5 +
drivers/clk/ingenic/cgu.c | 46 +++---
drivers/clk/ingenic/cgu.h | 9 +-
drivers/clk/ingenic/jz4740-cgu.c | 30 ++--
drivers/clk/ingenic/jz4780-cgu.c | 10 +-
drivers/crypto/Kconfig | 19 +++
drivers/crypto/Makefile | 1 +
drivers/crypto/jz4780-rng.c | 173 +++++++++++++++++++++
12 files changed, 304 insertions(+), 50 deletions(-)
create mode 100644 Documentation/devicetree/bindings/rng/ingenic,jz4780-rng.txt
create mode 100644 drivers/crypto/jz4780-rng.c
--
2.10.0
next reply other threads:[~2017-08-17 18:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 18:25 PrasannaKumar Muralidharan [this message]
2017-08-17 18:25 ` [PATCH 1/6] crypto: jz4780-rng: Add devicetree bindings for RNG in JZ4780 SoC PrasannaKumar Muralidharan
2017-08-17 18:25 ` [PATCH 2/6] crypto: jz4780-rng: Make ingenic CGU driver use syscon PrasannaKumar Muralidharan
2017-08-18 20:48 ` Paul Burton
2017-08-20 16:12 ` PrasannaKumar Muralidharan
2017-08-21 16:04 ` Paul Burton
2017-08-17 18:25 ` [PATCH 3/6] crypto: jz4780-rng: Add Ingenic JZ4780 hardware PRNG driver PrasannaKumar Muralidharan
2017-08-17 18:52 ` Stephan Mueller
2017-08-18 14:06 ` PrasannaKumar Muralidharan
2017-08-17 18:25 ` [PATCH 4/6] crypto: jz4780-rng: Add RNG node to jz4780.dtsi PrasannaKumar Muralidharan
2017-08-17 18:25 ` [PATCH 5/6] crypto: jz4780-rng: Add myself as mainatainer for JZ4780 PRNG driver PrasannaKumar Muralidharan
2017-08-17 18:25 ` [PATCH 6/6] crypto: jz4780-rng: Enable PRNG support in CI20 defconfig PrasannaKumar Muralidharan
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=20170817182520.20102-1-prasannatsmkumar@gmail.com \
--to=prasannatsmkumar@gmail.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=paul@crapouillou.net \
--cc=ralf@linux-mips.org \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.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