mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH v5 0/3] Meson S4 HW RNG Support
@ 2023-09-29 10:29 Alexey Romanov
  2023-09-29 10:29 ` [PATCH v5 1/3] drivers: rng: meson: add support for S4 Alexey Romanov
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Alexey Romanov @ 2023-09-29 10:29 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.

V4:

- Drop struct meson_rng_priv field from struct meson_rng_data.

V5:

- Rebased over v6.7/arm64-dt (Amlogic repo).

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


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

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

end of thread, other threads:[~2023-10-06  6:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-29 10:29 [PATCH v5 0/3] Meson S4 HW RNG Support Alexey Romanov
2023-09-29 10:29 ` [PATCH v5 1/3] drivers: rng: meson: add support for S4 Alexey Romanov
2023-09-29 10:29 ` [PATCH v5 2/3] dt-bindings: rng: meson: add meson-rng-s4 compatible Alexey Romanov
2023-09-29 10:29 ` [PATCH v5 3/3] arch/arm64: dts: meson-s4: add hwrng node Alexey Romanov
2023-10-02  7:01 ` (subset) [PATCH v5 0/3] Meson S4 HW RNG Support Neil Armstrong
2023-10-05 10:27 ` Herbert Xu
2023-10-06  6:43 ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®