mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
crypto: marvell/cesa - add support for all armada SoCs
Add CESA IP description for all the missing armada SoCs (XP, 375 and 38x). Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
f85a762e49
commit
898c9d5ea2
1 changed files with 12 additions and 0 deletions
|
|
@ -195,8 +195,20 @@ static const struct mv_cesa_caps armada_370_caps = {
|
|||
.has_tdma = true,
|
||||
};
|
||||
|
||||
static const struct mv_cesa_caps armada_xp_caps = {
|
||||
.nengines = 2,
|
||||
.cipher_algs = armada_370_cipher_algs,
|
||||
.ncipher_algs = ARRAY_SIZE(armada_370_cipher_algs),
|
||||
.ahash_algs = armada_370_ahash_algs,
|
||||
.nahash_algs = ARRAY_SIZE(armada_370_ahash_algs),
|
||||
.has_tdma = true,
|
||||
};
|
||||
|
||||
static const struct of_device_id mv_cesa_of_match_table[] = {
|
||||
{ .compatible = "marvell,armada-370-crypto", .data = &armada_370_caps },
|
||||
{ .compatible = "marvell,armada-xp-crypto", .data = &armada_xp_caps },
|
||||
{ .compatible = "marvell,armada-375-crypto", .data = &armada_xp_caps },
|
||||
{ .compatible = "marvell,armada-38x-crypto", .data = &armada_xp_caps },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, mv_cesa_of_match_table);
|
||||
|
|
|
|||
Loading…
Reference in a new issue