Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Rob Herring
99e0b621 a2c02a43

+107 -53
-19
Documentation/devicetree/bindings/crypto/samsung-slimsss.txt
··· 1 - Samsung SoC SlimSSS (Slim Security SubSystem) module 2 - 3 - The SlimSSS module in Exynos5433 SoC supports the following: 4 - -- Feeder (FeedCtrl) 5 - -- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS 6 - -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC 7 - 8 - Required properties: 9 - 10 - - compatible : Should contain entry for slimSSS version: 11 - - "samsung,exynos5433-slim-sss" for Exynos5433 SoC. 12 - - reg : Offset and length of the register set for the module 13 - - interrupts : interrupt specifiers of SlimSSS module interrupts (one feed 14 - control interrupt). 15 - 16 - - clocks : list of clock phandle and specifier pairs for all clocks listed in 17 - clock-names property. 18 - - clock-names : list of device clock input names; should contain "pclk" and 19 - "aclk" for slim-sss in Exynos5433.
+47
Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/crypto/samsung-slimsss.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Samsung Exynos SoC SlimSSS (Slim Security SubSystem) module 8 + 9 + maintainers: 10 + - Krzysztof Kozlowski <krzk@kernel.org> 11 + - Kamil Konieczny <k.konieczny@partner.samsung.com> 12 + 13 + description: |+ 14 + The SlimSSS module in Exynos5433 SoC supports the following: 15 + -- Feeder (FeedCtrl) 16 + -- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS 17 + -- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC 18 + 19 + properties: 20 + compatible: 21 + items: 22 + - const: samsung,exynos5433-slim-ss 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + clocks: 28 + minItems: 2 29 + maxItems: 2 30 + 31 + clock-names: 32 + items: 33 + - const: pclk 34 + - const: aclk 35 + 36 + interrupts: 37 + description: One feed control interrupt. 38 + maxItems: 1 39 + 40 + required: 41 + - compatible 42 + - reg 43 + - clock-names 44 + - clocks 45 + - interrupts 46 + 47 + additionalProperties: false
-32
Documentation/devicetree/bindings/crypto/samsung-sss.txt
··· 1 - Samsung SoC SSS (Security SubSystem) module 2 - 3 - The SSS module in S5PV210 SoC supports the following: 4 - -- Feeder (FeedCtrl) 5 - -- Advanced Encryption Standard (AES) 6 - -- Data Encryption Standard (DES)/3DES 7 - -- Public Key Accelerator (PKA) 8 - -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG 9 - -- PRNG: Pseudo Random Number Generator 10 - 11 - The SSS module in Exynos4 (Exynos4210) and 12 - Exynos5 (Exynos5420 and Exynos5250) SoCs 13 - supports the following also: 14 - -- ARCFOUR (ARC4) 15 - -- True Random Number Generator (TRNG) 16 - -- Secure Key Manager 17 - 18 - Required properties: 19 - 20 - - compatible : Should contain entries for this and backward compatible 21 - SSS versions: 22 - - "samsung,s5pv210-secss" for S5PV210 SoC. 23 - - "samsung,exynos4210-secss" for Exynos4210, Exynos4212, Exynos4412, Exynos5250, 24 - Exynos5260 and Exynos5420 SoCs. 25 - - reg : Offset and length of the register set for the module 26 - - interrupts : interrupt specifiers of SSS module interrupts (one feed 27 - control interrupt). 28 - 29 - - clocks : list of clock phandle and specifier pairs for all clocks listed in 30 - clock-names property. 31 - - clock-names : list of device clock input names; should contain one entry 32 - "secss".
+58
Documentation/devicetree/bindings/crypto/samsung-sss.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/crypto/samsung-sss.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Samsung Exynos SoC SSS (Security SubSystem) module 8 + 9 + maintainers: 10 + - Krzysztof Kozlowski <krzk@kernel.org> 11 + - Kamil Konieczny <k.konieczny@partner.samsung.com> 12 + 13 + description: |+ 14 + The SSS module in S5PV210 SoC supports the following: 15 + -- Feeder (FeedCtrl) 16 + -- Advanced Encryption Standard (AES) 17 + -- Data Encryption Standard (DES)/3DES 18 + -- Public Key Accelerator (PKA) 19 + -- SHA-1/SHA-256/MD5/HMAC (SHA-1/SHA-256/MD5)/PRNG 20 + -- PRNG: Pseudo Random Number Generator 21 + 22 + The SSS module in Exynos4 (Exynos4210) and Exynos5 (Exynos5420 and Exynos5250) 23 + SoCs supports the following also: 24 + -- ARCFOUR (ARC4) 25 + -- True Random Number Generator (TRNG) 26 + -- Secure Key Manager 27 + 28 + properties: 29 + compatible: 30 + items: 31 + - enum: 32 + - samsung,s5pv210-secss # for S5PV210 33 + - samsung,exynos4210-secss # for Exynos4210, Exynos4212, 34 + # Exynos4412, Exynos5250, 35 + # Exynos5260 and Exynos5420 36 + 37 + reg: 38 + maxItems: 1 39 + 40 + clocks: 41 + maxItems: 1 42 + 43 + clock-names: 44 + items: 45 + - const: secss 46 + 47 + interrupts: 48 + description: One feed control interrupt. 49 + maxItems: 1 50 + 51 + required: 52 + - compatible 53 + - reg 54 + - clock-names 55 + - clocks 56 + - interrupts 57 + 58 + additionalProperties: false
+2 -2
MAINTAINERS
··· 14287 14287 L: linux-crypto@vger.kernel.org 14288 14288 L: linux-samsung-soc@vger.kernel.org 14289 14289 S: Maintained 14290 - F: Documentation/devicetree/bindings/crypto/samsung-slimsss.txt 14291 - F: Documentation/devicetree/bindings/crypto/samsung-sss.txt 14290 + F: Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml 14291 + F: Documentation/devicetree/bindings/crypto/samsung-sss.yaml 14292 14292 F: drivers/crypto/s5p-sss.c 14293 14293 14294 14294 SAMSUNG S5P/EXYNOS4 SOC SERIES CAMERA SUBSYSTEM DRIVERS