[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230929102942.67985-1-avromanov@salutedevices.com>
Date: Fri, 29 Sep 2023 13:29:35 +0300
From: Alexey Romanov <avromanov@...utedevices.com>
To: <narmstrong@...libre.com>, <neil.armstrong@...aro.org>,
<olivia@...enic.com>, <herbert@...dor.apana.org.au>,
<robh+dt@...nel.org>, <krzysztof.kozlowski+dt@...aro.org>,
<conor+dt@...nel.org>, <conor@...nel.org>, <khilman@...libre.com>,
<jbrunet@...libre.com>, <martin.blumenstingl@...glemail.com>,
<f.fainelli@...il.com>, <hkallweit1@...il.com>, <lists@...ser.cx>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linux-amlogic@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-crypto@...r.kernel.org>, <kernel@...rdevices.ru>,
Alexey Romanov <avromanov@...utedevices.com>
Subject: [PATCH v5 0/3] Meson S4 HW RNG Support
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
Powered by blists - more mailing lists