forked from gregkh/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Corentin Labbe <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
Documentation/devicetree/bindings/crypto/cortina,sl3516-crypto.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/crypto/cortina,sl3516-crypto.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: SL3516 cryptographic offloader driver | ||
|
||
maintainers: | ||
- Corentin Labbe <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- cortina,sl3516-crypto | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
resets: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- clocks | ||
- resets | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
#include <dt-bindings/clock/cortina,gemini-clock.h> | ||
#include <dt-bindings/reset/cortina,gemini-reset.h> | ||
crypto@62000000 { | ||
compatible = "cortina,sl3516-crypto"; | ||
reg = <0x62000000 0x10000>; | ||
interrupts = <7 IRQ_TYPE_EDGE_RISING>; | ||
resets = <&syscon GEMINI_RESET_SECURITY>; | ||
clocks = <&syscon GEMINI_CLK_GATE_SECURITY>; | ||
}; |