linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] hwrng: add support for i.MX6 rngb
@ 2020-07-15 15:25 Horia Geantă
  2020-07-15 15:26 ` [PATCH v4 1/5] dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs Horia Geantă
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Horia Geantă @ 2020-07-15 15:25 UTC (permalink / raw)
  To: Rob Herring, Shawn Guo, Sascha Hauer, Matt Mackall, Herbert Xu
  Cc: devicetree, Arnd Bergmann, Iuliana Prodan, Greg Kroah-Hartman,
	Marco Felsch, linux-kernel, Franck Lenormand, NXP Linux Team,
	Pengutronix Kernel Team, Martin Kaiser, Silvano Di Ninno,
	Fabio Estevam, linux-arm-kernel, linux-crypto

Add support for RNGB found in some i.MX6 SoCs (6SL, 6SLL, 6ULL, 6ULZ),
based on RNGC driver (drivers/char/hw_random/imx-rngc.c).

This driver claims support also for RNGB (besides RNGC),
and is currently used only by i.MX25.

Note:

Several NXP SoC from QorIQ family (P1010, P1023, P4080, P3041, P5020)
also have a RNGB, however it's part of the CAAM
(Cryptograhic Accelerator and Assurance Module) crypto accelerator.
In this case, RNGB is managed in the caam driver
(drivers/crypto/caam/), since it's tightly related to
the caam "job ring" interface, not to mention CAAM internally relying on
RNGB as source of randomness.

On the other hand, the i.MX6 SoCs with RNGB have a DCP
(Data Co-Processor) crypto accelerator and this block and RNGB
are independent.

Changelog:
v4
-remove unneeded compatible strings from the driver
v3
-mention in the DT binding the compatibility with "fsl,imx25-rngb"
-collected Reviewed-by
v2
-update rngb DT binding with compatible strings for i.MX6 SoCs

Horia Geantă (5):
  dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs
  ARM: dts: imx6sl: fix rng node
  ARM: dts: imx6sll: add rng
  ARM: dts: imx6ull: add rng
  hwrng: imx-rngc: enable driver for i.MX6

 Documentation/devicetree/bindings/rng/imx-rng.txt | 3 +++
 arch/arm/boot/dts/imx6sl.dtsi                     | 2 ++
 arch/arm/boot/dts/imx6sll.dtsi                    | 7 +++++++
 arch/arm/boot/dts/imx6ull.dtsi                    | 7 +++++++
 drivers/char/hw_random/Kconfig                    | 2 +-
 5 files changed, 20 insertions(+), 1 deletion(-)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-08-17 17:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 15:25 [PATCH v4 0/5] hwrng: add support for i.MX6 rngb Horia Geantă
2020-07-15 15:26 ` [PATCH v4 1/5] dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs Horia Geantă
2020-07-15 15:26 ` [PATCH v4 2/5] ARM: dts: imx6sl: fix rng node Horia Geantă
2020-07-15 15:26 ` [PATCH v4 3/5] ARM: dts: imx6sll: add rng Horia Geantă
2020-07-15 15:26 ` [PATCH v4 4/5] ARM: dts: imx6ull: " Horia Geantă
2021-08-17 15:39   ` Frieder Schrempf
2021-08-17 17:38     ` Frieder Schrempf
2020-07-15 15:26 ` [PATCH v4 5/5] hwrng: imx-rngc: enable driver for i.MX6 Horia Geantă
2020-07-23  7:57 ` [PATCH v4 0/5] hwrng: add support for i.MX6 rngb Herbert Xu
2020-08-17  8:07 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).