devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3]  Meson S4 HW RNG Support
@ 2023-09-11 10:11 Alexey Romanov
  2023-09-11 10:11 ` [PATCH v3 1/3] drivers: rng: meson: add support for S4 Alexey Romanov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Alexey Romanov @ 2023-09-11 10:11 UTC (permalink / raw)
  To: narmstrong, neil.armstrong, olivia, herbert, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, conor, khilman, jbrunet,
	martin.blumenstingl, f.fainelli, hkallweit1, lists
  Cc: linux-arm-kernel, linux-amlogic, linux-kernel, devicetree,
	linux-crypto, kernel, Alexey Romanov

Hello!

This patch series adds hwrng support for Amlogic S4-series.
Now, S4 uses a new random number generation algorithm.
This changes implemnents new algo and also adds description
to meson-s4.dtsi.

V2:

- Use readl_relaxed_poll_timeout_atomic() function instead of loop.
- Use two different functions: meson_rng_read() and meson_s4_rng_read().
- Fix naming in DT schema (meson-s4-hwrng instead of meson-hwrng-s4).
- A little code style fixes.

V3:

- Fix commit message in patch with dt-bindings schema changes.

Alexey Romanov (3):
  drivers: rng: meson: add support for S4
  dt-bindings: rng: meson: add meson-rng-s4 compatible
  arch/arm64: dts: meson-s4: add hwrng node

 .../bindings/rng/amlogic,meson-rng.yaml       |  1 +
 arch/arm64/boot/dts/amlogic/meson-s4.dtsi     |  5 ++
 drivers/char/hw_random/meson-rng.c            | 80 ++++++++++++++++++-
 3 files changed, 83 insertions(+), 3 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-09-26  3:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11 10:11 [PATCH v3 0/3] Meson S4 HW RNG Support Alexey Romanov
2023-09-11 10:11 ` [PATCH v3 1/3] drivers: rng: meson: add support for S4 Alexey Romanov
2023-09-20  4:55   ` Herbert Xu
2023-09-22  8:15     ` Alexey Romanov
2023-09-26  3:15       ` Herbert Xu
2023-09-11 10:11 ` [PATCH v3 2/3] dt-bindings: rng: meson: add meson-rng-s4 compatible Alexey Romanov
2023-09-11 10:11 ` [PATCH v3 3/3] arch/arm64: dts: meson-s4: add hwrng node Alexey Romanov
2023-09-11 10:33   ` neil.armstrong

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).