Skip to content

Commit 33ff648

Browse files
DeclanIntelherbertx
authored andcommitted
dt-bindings: crypto: Add Keem Bay OCS HCU bindings
Add device-tree bindings for the Intel Keem Bay Offload Crypto Subsystem (OCS) Hashing Control Unit (HCU) crypto driver. Signed-off-by: Declan Murphy <declan.murphy@intel.com> Signed-off-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com> Acked-by: Mark Gross <mgross@linux.intel.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 44122cc commit 33ff648

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-hcu.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Intel Keem Bay OCS HCU Device Tree Bindings
8+
9+
maintainers:
10+
- Declan Murphy <declan.murphy@intel.com>
11+
- Daniele Alessandrelli <daniele.alessandrelli@intel.com>
12+
13+
description:
14+
The Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit (HCU)
15+
provides hardware-accelerated hashing and HMAC.
16+
17+
properties:
18+
compatible:
19+
const: intel,keembay-ocs-hcu
20+
21+
reg:
22+
maxItems: 1
23+
24+
interrupts:
25+
maxItems: 1
26+
27+
clocks:
28+
maxItems: 1
29+
30+
required:
31+
- compatible
32+
- reg
33+
- interrupts
34+
- clocks
35+
36+
additionalProperties: false
37+
38+
examples:
39+
- |
40+
#include <dt-bindings/interrupt-controller/arm-gic.h>
41+
crypto@3000b000 {
42+
compatible = "intel,keembay-ocs-hcu";
43+
reg = <0x3000b000 0x1000>;
44+
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
45+
clocks = <&scmi_clk 94>;
46+
};

0 commit comments

Comments
 (0)