dt-bindings: crypto: samsung: Convert SSS and SlimSSS bindings to json-schema
Subsystems (4)
Krzysztof Kozlowski
maintainerPATCH v2 1/1 dt-bindings: crypto: samsung: Convert SSS and SlimSSS bindings to json-schema
Convert Samsung Exynos Security SubSystem (SSS) and SlimSSS hardware crypto accelerator bindings to DT schema format using json-schema.
---
Rebased on linux-next due to conflicting change in MAINTAINERS file coming through arm-soc tree.
Changes since v1:
1. Add additionalProperties:false
--- .../bindings/crypto/samsung-slimsss.txt | 19 ------ .../bindings/crypto/samsung-slimsss.yaml | 47 +++++++++++++++ .../bindings/crypto/samsung-sss.txt | 32 ---------- .../bindings/crypto/samsung-sss.yaml | 58 +++++++++++++++++++ MAINTAINERS | 4 +- 5 files changed, 107 insertions(+), 53 deletions(-) delete mode 100644 Documentation/devicetree/bindings/crypto/samsung-slimsss.txt create mode 100644 Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml delete mode 100644 Documentation/devicetree/bindings/crypto/samsung-sss.txt create mode 100644 Documentation/devicetree/bindings/crypto/samsung-sss.yaml
Documentation/devicetree/bindings/crypto/samsung-slimsss.txt deleted +0 -19
@@ -1,19 +0,0 @@ -Samsung SoC SlimSSS (Slim Security SubSystem) module - -The SlimSSS module in Exynos5433 SoC supports the following: --- Feeder (FeedCtrl) --- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS --- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC - -Required properties: - -- compatible : Should contain entry for slimSSS version: - - "samsung,exynos5433-slim-sss" for Exynos5433 SoC. -- reg : Offset and length of the register set for the module -- interrupts : interrupt specifiers of SlimSSS module interrupts (one feed - control interrupt). - -- 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 "pclk" and - "aclk" for slim-sss in Exynos5433.
Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml new file +47 -0
47 lines not on this page · raw message
Documentation/devicetree/bindings/crypto/samsung-sss.txt deleted +0 -32
@@ -1,32 +0,0 @@ -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 (one feed - control interrupt). - -- 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".
Documentation/devicetree/bindings/crypto/samsung-sss.yaml new file +58 -0
58 lines not on this page · raw message
MAINTAINERS +2 -2
@@ -14256,8 +14256,8 @@ M: Kamil Konieczny <[email protected]> L: [email protected] L: [email protected] S: Maintained -F: Documentation/devicetree/bindings/crypto/samsung-slimsss.txt -F: Documentation/devicetree/bindings/crypto/samsung-sss.txt +F: Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml +F: Documentation/devicetree/bindings/crypto/samsung-sss.yaml F: drivers/crypto/s5p-sss.c SAMSUNG S5P/EXYNOS4 SOC SERIES CAMERA SUBSYSTEM DRIVERS
Signature · 1 line
2.17.1
Quoted 12 lines · Krzysztof Kozlowski
Convert Samsung Exynos Security SubSystem (SSS) and SlimSSS hardware crypto accelerator bindings to DT schema format using json-schema.
Signed-off-by Krzysztof Kozlowski <[email protected]>---
Rebased on linux-next due to conflicting change in
MAINTAINERSfile coming through arm-soc tree.Changes since v1:
1. Add additionalProperties:false
Quoted 12 lines
--- .../bindings/crypto/samsung-slimsss.txt | 19 ------ .../bindings/crypto/samsung-slimsss.yaml | 47 +++++++++++++++ .../bindings/crypto/samsung-sss.txt | 32 ---------- .../bindings/crypto/samsung-sss.yaml | 58 +++++++++++++++++++ MAINTAINERS | 4 +- 5 files changed, 107 insertions(+), 53 deletions(-) delete mode 100644 Documentation/devicetree/bindings/crypto/samsung-slimsss.txt create mode 100644 Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml delete mode 100644 Documentation/devicetree/bindings/crypto/samsung-sss.txt create mode 100644 Documentation/devicetree/bindings/crypto/samsung-sss.yaml
Applied, thanks.
Rob