On Sun, Apr 02, 2023 at 12:44:40AM +0800, David Yang wrote: > HiSTB TRNG are found on some HiSilicon STB SoCs. > > Signed-off-by: David Yang <mmyangfl@xxxxxxxxx> > --- > v2: fix typo > v3: add option for post process depth, adjust timeout > v4: do not case to __iomem, as requested > v5: do not use rng->priv at all > drivers/crypto/hisilicon/Kconfig | 7 + > drivers/crypto/hisilicon/Makefile | 2 +- > drivers/crypto/hisilicon/trng/Makefile | 3 + > drivers/crypto/hisilicon/trng/trng-stb.c | 176 +++++++++++++++++++++++ > 4 files changed, 187 insertions(+), 1 deletion(-) > create mode 100644 drivers/crypto/hisilicon/trng/trng-stb.c Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt