[PATCH v2 0/4] crypto: sun55i-ce: Add Allwinner A733 CE v5 TRNG support

From: Alastair D'Silva

Date: Sun Nov 29 2026 - 21:03:11 EST


This series adds True Random Number Generator (TRNG) support for the
Allwinner Crypto Engine v5 on A523 and A733 SoCs. It also enables the
device on all supported A733 boards.

This series is rebased on linux-next (next-20261125) and builds on the
following unmerged prerequisite series:
- [PATCH v2] clk: sunxi-ng: a733: Keep SCP firmware bus clocks enabled
https://lore.kernel.org/r/20261112-a733-fwclk-v2@xxxxxxxxx
- [PATCH RESEND v3 0/3] pinctrl: sunxi: number the IRQ banks from the first one that has IRQs
https://lore.kernel.org/r/20261124215048.42074-1-pmazzini@xxxxxxxxx
- [PATCH v4] pinctrl: sunxi: use automatic voltage detection on A733
https://lore.kernel.org/r/20261125-a733-pinctrl-v4@xxxxxxxxx
- [PATCH v8 0/5] regulator: Add X-Powers AXP318W PMIC support
https://lore.kernel.org/r/20260910-axp318-regulator-v8-0-e906a61a7f3d@xxxxxxxxxxxx
- [PATCH v2 0/4] serial: 8250_dw: Allwinner A733 UART support
https://lore.kernel.org/r/cover.1792439398.git.vinicius.eduardo.pedrosa@xxxxxxxxx
- [PATCH v6 0/5] arm64: dts: allwinner: add A733 and Radxa Cubie A7 support
https://lore.kernel.org/r/20261126-a733-cubie-a7s-dt-v6-0@xxxxxxxxx
- [PATCH v2 0/2] arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support
https://lore.kernel.org/r/20261127065343.1449675-1-alastair@xxxxxxxxxxx

Tested on Xunlong OrangePi 4 Pro (/dev/hwrng).

Changes in v2:
- Move the driver from drivers/char/hw_random/ to
drivers/crypto/allwinner/sun55i-ce/ (Andre Przywara).
- Rebase onto next-20261125 + A733 SoC DTSI v6 (&hosc, 4-cell GIC
interrupts) and OrangePi 4 Pro v2.
- Enable Crypto Engine on Radxa Cubie A7A, Cubie A7S, and Cubie A7Z in
addition to OrangePi 4 Pro.
- Add base-commit and prerequisite-patch-id footer and lore URLs.
- Link to v1: https://lore.kernel.org/r/20261125210532.695823-1-alastair@xxxxxxxxxxx

Alastair D'Silva (4):
dt-bindings: crypto: Add Allwinner A523/A733 Crypto Engine
crypto: sun55i-ce - Add Allwinner CE v5 TRNG driver
arm64: dts: allwinner: sun60i-a733: Add Crypto Engine node
arm64: dts: allwinner: sun60i-a733: Enable Crypto Engine on boards

.../crypto/allwinner,sun55i-a523-crypto.yaml | 68 ++++
MAINTAINERS | 7 +
.../dts/allwinner/sun60i-a733-cubie-a7a.dts | 4 +
.../dts/allwinner/sun60i-a733-cubie-a7s.dts | 4 +
.../dts/allwinner/sun60i-a733-cubie-a7z.dts | 4 +
.../allwinner/sun60i-a733-orangepi-4-pro.dts | 4 +
.../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 12 +
drivers/crypto/allwinner/Kconfig | 13 +
drivers/crypto/allwinner/Makefile | 1 +
drivers/crypto/allwinner/sun55i-ce/Makefile | 2 +
.../allwinner/sun55i-ce/sun55i-ce-trng.c | 377 ++++++++++++++++++
11 files changed, 496 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/allwinner,sun55i-a523-crypto.yaml
create mode 100644 drivers/crypto/allwinner/sun55i-ce/Makefile
create mode 100644 drivers/crypto/allwinner/sun55i-ce/sun55i-ce-trng.c

base-commit: 9437046953b2fb3bf55b36582450ea0267df82a7
prerequisite-patch-id: 19691099774bd3dc41f56585c03ddefb7bdc6f9c
prerequisite-patch-id: 85db03df3394cdcb2780a0da122a74b2c1fe220d
prerequisite-patch-id: a3e883da50bf03e8f522444def66fec7f996ffbe
prerequisite-patch-id: c6889699a6dc13c336ce4cf4659e21b551e9a9fc
prerequisite-patch-id: ef2f0344452092edb2221b93c44a3e82cb896a2d
prerequisite-patch-id: c598480f753e36b7f6230129b864c559b9f185d5
prerequisite-patch-id: f86b468a896a40f132adfcba885700327dff1bc5
prerequisite-patch-id: 079d60101e1b9e5425458060314bde3e9cc2fe4c
prerequisite-patch-id: 090c5ff78d4e2150804aa8d294581cd338b1e971
prerequisite-patch-id: af0aebcae7c38d58354925119c412178b5821b5e
prerequisite-patch-id: beb8a098ba14724e316ff243bdf8e00e729243c1
prerequisite-patch-id: 63342c5ec38e8eb9e55c8c74d3c5a81a630d5f69
prerequisite-patch-id: 1dc8d70f80674c98b2b15d09556dd27f643b20da
prerequisite-patch-id: 4555860586ef50f27bf787a23f6ba693e9c3b0d6
prerequisite-patch-id: 0279f281cd59cf54bceee39b0fa4d0b6a7b87c48
prerequisite-patch-id: 14424bd8324b6cae2b8c4d6840df0db626d1385f
prerequisite-patch-id: 7b42728bc8271e5dfd57fffec47a7f5745eff357
prerequisite-patch-id: 74f5c7d066477024a374a789b3180e841398fb07
prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c
prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9
--
2.53.0