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

Andre Przywara andre.przywara at arm.com
Fri Nov 27 02:12:32 PST 2026


Hi,

On 11/25/26 22:05, Alastair D'Silva wrote:
> This series adds True Random Number Generator (TRNG) support for the
> Allwinner Crypto Engine v5 on A523 and A733 SoCs, and enables it on the

so while I agree that the TRNG part is probably the most practical 
functionality of the crypto engine IP, the encryption/decryption parts 
are still there, and we have a driver for the older IP. And because the 
functionality shares all of the registers and probably most of the 
descriptor generating code, and Linux is really after code sharing, I 
think we want the driver to live in drivers/crypto, next to the existing 
sun8i-ce code, if not becoming part of it.

Cheers,
Andre
> Xunlong OrangePi 4 Pro.
> 
> Dependencies:
> Patches 3 and 4 depend on the OrangePi 4 Pro bringup series:
>    [PATCH 0/3] arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support
>    Message-ID: <20261125124407.4098345-1-alastair at d-silva.org>
> 
> Tested on Xunlong OrangePi 4 Pro (/dev/hwrng).
> 
> Alastair D'Silva (4):
>    dt-bindings: crypto: Add Allwinner A523/A733 Crypto Engine
>    hwrng: sun55i-ce - Add Allwinner CE v5 TRNG driver
>    arm64: dts: allwinner: sun60i-a733: Add Crypto Engine node
>    arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable Crypto
>      Engine
> 
>   .../crypto/allwinner,sun55i-a523-crypto.yaml  |  68 ++++
>   MAINTAINERS                                   |   7 +
>   .../allwinner/sun60i-a733-orangepi-4-pro.dts  |   4 +
>   .../arm64/boot/dts/allwinner/sun60i-a733.dtsi |  12 +
>   drivers/char/hw_random/Kconfig                |  13 +
>   drivers/char/hw_random/Makefile               |   1 +
>   drivers/char/hw_random/sun55i-ce-trng.c       | 377 ++++++++++++++++++
>   7 files changed, 482 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/crypto/allwinner,sun55i-a523-crypto.yaml
>   create mode 100644 drivers/char/hw_random/sun55i-ce-trng.c
> 




More information about the linux-arm-kernel mailing list