]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: sun8i-ce - add Allwinner H616 support
authorAndre Przywara <andre.przywara@arm.com>
Mon, 24 Jun 2024 23:21:09 +0000 (00:21 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 6 Jul 2024 00:20:00 +0000 (10:20 +1000)
commit1611f74974d8b64711375bcd5dc33d80f28104cb
tree980e5fb2acf7343f387dd7831f8f22ff191bfd75
parente0740bee6c21c209191f55d8dfff7c16aeb3578a
crypto: sun8i-ce - add Allwinner H616 support

The crypto engine in the Allwinner H616 is very similar to the H6, but
needs the base address for the task descriptor and the addresses within
it to be expressed in words, not in bytes.

Add a new variant struct entry for the H616, and set the new flag to
mark the use of 34 bit addresses. Also the internal 32K oscillator is
required for TRNG operation, so specify all four clocks.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Ryan Walklin <ryan@testtoast.com>
Tested-by: Philippe Simons <simons.philippe@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c