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

dt-bindings: crypto: add documentation for aspeed hace

Add device tree binding documentation for the Aspeed Hash
and Crypto Engines (HACE) Controller.

Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Johnny Huang <johnny_huang@aspeedtech.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Neal Liu and committed by
Herbert Xu
c3708e65 a1a2990e

+53
+53
Documentation/devicetree/bindings/crypto/aspeed,ast2500-hace.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/crypto/aspeed,ast2500-hace.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ASPEED HACE hash and crypto Hardware Accelerator Engines 8 + 9 + maintainers: 10 + - Neal Liu <neal_liu@aspeedtech.com> 11 + 12 + description: | 13 + The Hash and Crypto Engine (HACE) is designed to accelerate the throughput 14 + of hash data digest, encryption, and decryption. Basically, HACE can be 15 + divided into two independently engines - Hash Engine and Crypto Engine. 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - aspeed,ast2500-hace 21 + - aspeed,ast2600-hace 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + interrupts: 30 + maxItems: 1 31 + 32 + resets: 33 + maxItems: 1 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - clocks 39 + - interrupts 40 + - resets 41 + 42 + additionalProperties: false 43 + 44 + examples: 45 + - | 46 + #include <dt-bindings/clock/ast2600-clock.h> 47 + hace: crypto@1e6d0000 { 48 + compatible = "aspeed,ast2600-hace"; 49 + reg = <0x1e6d0000 0x200>; 50 + interrupts = <4>; 51 + clocks = <&syscon ASPEED_CLK_GATE_YCLK>; 52 + resets = <&syscon ASPEED_RESET_HACE>; 53 + };