Re: [PATCH v3 0/4] crypto: Add driver for JZ4780 PRNG
Hi Ralf, On 12 October 2017 at 22:59, PrasannaKumar Muralidharanwrote: > Hi Herbert, > > On 12 October 2017 at 20:00, Herbert Xu wrote: >> On Mon, Sep 18, 2017 at 07:32:37PM +0530, PrasannaKumar Muralidharan wrote: >>> This patch series adds support of pseudo random number generator found >>> in Ingenic's JZ4780 and X1000 SoC. >>> >>> Create cgublock node which has CGU and RNG node as its children. The >>> cgublock node uses "simple-bus" compatible which helps in exposing CGU >>> and RNG nodes without changing CGU driver. Add 'syscon' compatible in >>> CGU node in jz4780.dtsi. The jz4780-rng driver uses regmap exposed via >>> syscon interface to access the RNG registers. CGU driver is not >>> modified in this patch set as registers used by CGU driver and this >>> driver are different. >>> >>> PrasannaKumar Muralidharan (4): >>> crypto: jz4780-rng: Add JZ4780 PRNG devicetree binding documentation >>> crypto: jz4780-rng: Add Ingenic JZ4780 hardware PRNG driver >>> crypto: jz4780-rng: Add RNG node to jz4780.dtsi >>> crypto: jz4780-rng: Enable PRNG support in CI20 defconfig >> >> Please indicate which patches are intended to go through the crypto >> trees. > > From https://patchwork.linux-mips.org/patch/17162/ I expect the same. > Either all patches go via crypto tree or via mips tree. > The dtsi changes is not yet acked by MIPS / JZ4780 maintainer. Let's > wait for it. > > Thanks, > PrasannaKumar Should I do anything more for this series? Thanks, PrasannaKumar
Re: [PATCH v3 0/4] crypto: Add driver for JZ4780 PRNG
Hi Herbert, On 12 October 2017 at 20:00, Herbert Xuwrote: > On Mon, Sep 18, 2017 at 07:32:37PM +0530, PrasannaKumar Muralidharan wrote: >> This patch series adds support of pseudo random number generator found >> in Ingenic's JZ4780 and X1000 SoC. >> >> Create cgublock node which has CGU and RNG node as its children. The >> cgublock node uses "simple-bus" compatible which helps in exposing CGU >> and RNG nodes without changing CGU driver. Add 'syscon' compatible in >> CGU node in jz4780.dtsi. The jz4780-rng driver uses regmap exposed via >> syscon interface to access the RNG registers. CGU driver is not >> modified in this patch set as registers used by CGU driver and this >> driver are different. >> >> PrasannaKumar Muralidharan (4): >> crypto: jz4780-rng: Add JZ4780 PRNG devicetree binding documentation >> crypto: jz4780-rng: Add Ingenic JZ4780 hardware PRNG driver >> crypto: jz4780-rng: Add RNG node to jz4780.dtsi >> crypto: jz4780-rng: Enable PRNG support in CI20 defconfig > > Please indicate which patches are intended to go through the crypto > trees. >From https://patchwork.linux-mips.org/patch/17162/ I expect the same. Either all patches go via crypto tree or via mips tree. The dtsi changes is not yet acked by MIPS / JZ4780 maintainer. Let's wait for it. Thanks, PrasannaKumar
[PATCH v3 0/4] crypto: Add driver for JZ4780 PRNG
This patch series adds support of pseudo random number generator found in Ingenic's JZ4780 and X1000 SoC. Create cgublock node which has CGU and RNG node as its children. The cgublock node uses "simple-bus" compatible which helps in exposing CGU and RNG nodes without changing CGU driver. Add 'syscon' compatible in CGU node in jz4780.dtsi. The jz4780-rng driver uses regmap exposed via syscon interface to access the RNG registers. CGU driver is not modified in this patch set as registers used by CGU driver and this driver are different. PrasannaKumar Muralidharan (4): crypto: jz4780-rng: Add JZ4780 PRNG devicetree binding documentation crypto: jz4780-rng: Add Ingenic JZ4780 hardware PRNG driver crypto: jz4780-rng: Add RNG node to jz4780.dtsi crypto: jz4780-rng: Enable PRNG support in CI20 defconfig .../devicetree/bindings/rng/ingenic,jz4780-rng.txt | 21 +++ MAINTAINERS| 7 + arch/mips/boot/dts/ingenic/jz4780.dtsi | 25 ++- arch/mips/configs/ci20_defconfig | 5 + drivers/crypto/Kconfig | 19 ++ drivers/crypto/Makefile| 1 + drivers/crypto/jz4780-rng.c| 193 + 7 files changed, 266 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/rng/ingenic,jz4780-rng.txt create mode 100644 drivers/crypto/jz4780-rng.c -- 2.10.0