mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 00:15:26 +07:00
892451071d
This patch adds new compatible and variant struct to support the SSS module on Exynos4 (Exynos4210), Exynos5 (Exynos5420 and Exynos5250) for which 1. AES register are at an offset of 0x200 and 2. hash interrupt is not available Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> CC: David S. Miller <davem@davemloft.net> CC: <linux-samsung-soc@vger.kernel.org> Acked-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
Samsung SoC SSS (Security SubSystem) module
|
|
|
|
The SSS module in S5PV210 SoC supports the following:
|
|
-- Feeder (FeedCtrl)
|
|
-- Advanced Encryption Standard (AES)
|
|
-- Data Encryption Standard (DES)/3DES
|
|
-- Public Key Accelerator (PKA)
|
|
-- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG
|
|
-- PRNG: Pseudo Random Number Generator
|
|
|
|
The SSS module in Exynos4 (Exynos4210) and
|
|
Exynos5 (Exynos5420 and Exynos5250) SoCs
|
|
supports the following also:
|
|
-- ARCFOUR (ARC4)
|
|
-- True Random Number Generator (TRNG)
|
|
-- Secure Key Manager
|
|
|
|
Required properties:
|
|
|
|
- compatible : Should contain entries for this and backward compatible
|
|
SSS versions:
|
|
- "samsung,s5pv210-secss" for S5PV210 SoC.
|
|
- "samsung,exynos4210-secss" for Exynos4210, Exynos4212, Exynos4412, Exynos5250,
|
|
Exynos5260 and Exynos5420 SoCs.
|
|
- reg : Offset and length of the register set for the module
|
|
- interrupts : interrupt specifiers of SSS module interrupts, should contain
|
|
following entries:
|
|
- first : feed control interrupt (required for all variants),
|
|
- second : hash interrupt (required only for samsung,s5pv210-secss).
|
|
|
|
- clocks : list of clock phandle and specifier pairs for all clocks listed in
|
|
clock-names property.
|
|
- clock-names : list of device clock input names; should contain one entry
|
|
"secss".
|