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 sl3516-ce

This patch adds documentation for Device-Tree bindings for the
SL3516-ce cryptographic offloader driver.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Corentin Labbe and committed by
Herbert Xu
124d77c2 ca323b2c

+50
+50
Documentation/devicetree/bindings/crypto/cortina,sl3516-crypto.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/cortina,sl3516-crypto.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: SL3516 cryptographic offloader driver 8 + 9 + maintainers: 10 + - Corentin Labbe <clabbe@baylibre.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - cortina,sl3516-crypto 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + interrupts: 21 + maxItems: 1 22 + 23 + clocks: 24 + maxItems: 1 25 + 26 + resets: 27 + maxItems: 1 28 + 29 + required: 30 + - compatible 31 + - reg 32 + - interrupts 33 + - clocks 34 + - resets 35 + 36 + additionalProperties: false 37 + 38 + examples: 39 + - | 40 + #include <dt-bindings/interrupt-controller/irq.h> 41 + #include <dt-bindings/clock/cortina,gemini-clock.h> 42 + #include <dt-bindings/reset/cortina,gemini-reset.h> 43 + 44 + crypto@62000000 { 45 + compatible = "cortina,sl3516-crypto"; 46 + reg = <0x62000000 0x10000>; 47 + interrupts = <7 IRQ_TYPE_EDGE_RISING>; 48 + resets = <&syscon GEMINI_RESET_SECURITY>; 49 + clocks = <&syscon GEMINI_CLK_GATE_SECURITY>; 50 + };