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

dt-bindings: crypto: Add DT bindings documentation for sun8i-ss Security System

This patch adds documentation for Device-Tree bindings of the
Security System cryptographic offloader driver.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Corentin Labbe and committed by
Herbert Xu
8d68e7e1 f08fcced

+60
+60
Documentation/devicetree/bindings/crypto/allwinner,sun8i-ss.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/crypto/allwinner,sun8i-ss.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Allwinner Security System v2 driver 8 + 9 + maintainers: 10 + - Corentin Labbe <corentin.labbe@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - allwinner,sun8i-a83t-crypto 16 + - allwinner,sun9i-a80-crypto 17 + 18 + reg: 19 + maxItems: 1 20 + 21 + interrupts: 22 + maxItems: 1 23 + 24 + clocks: 25 + items: 26 + - description: Bus clock 27 + - description: Module clock 28 + 29 + clock-names: 30 + items: 31 + - const: bus 32 + - const: mod 33 + 34 + resets: 35 + maxItems: 1 36 + 37 + required: 38 + - compatible 39 + - reg 40 + - interrupts 41 + - clocks 42 + - clock-names 43 + - resets 44 + 45 + additionalProperties: false 46 + 47 + examples: 48 + - | 49 + #include <dt-bindings/interrupt-controller/arm-gic.h> 50 + #include <dt-bindings/clock/sun8i-a83t-ccu.h> 51 + #include <dt-bindings/reset/sun8i-a83t-ccu.h> 52 + 53 + crypto: crypto@1c15000 { 54 + compatible = "allwinner,sun8i-a83t-crypto"; 55 + reg = <0x01c15000 0x1000>; 56 + interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 57 + resets = <&ccu RST_BUS_SS>; 58 + clocks = <&ccu CLK_BUS_SS>, <&ccu CLK_SS>; 59 + clock-names = "bus", "mod"; 60 + };