forked from torvalds/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.
Merge tag 'v6.2-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…herbert/crypto-2.6 Pull crypto updates from Herbert Xu: "API: - Optimise away self-test overhead when they are disabled - Support symmetric encryption via keyring keys in af_alg - Flip hwrng default_quality, the default is now maximum entropy Algorithms: - Add library version of aesgcm - CFI fixes for assembly code - Add arm/arm64 accelerated versions of sm3/sm4 Drivers: - Remove assumption on arm64 that kmalloc is DMA-aligned - Fix selftest failures in rockchip - Add support for RK3328/RK3399 in rockchip - Add deflate support in qat - Merge ux500 into stm32 - Add support for TEE for PCI ID 0x14CA in ccp - Add mt7986 support in mtk - Add MaxLinear platform support in inside-secure - Add NPCM8XX support in npcm" * tag 'v6.2-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (184 commits) crypto: ux500/cryp - delete driver crypto: stm32/cryp - enable for use with Ux500 crypto: stm32 - enable drivers to be used on Ux500 dt-bindings: crypto: Let STM32 define Ux500 CRYP hwrng: geode - Fix PCI device refcount leak hwrng: amd - Fix PCI device refcount leak crypto: qce - Set DMA alignment explicitly crypto: octeontx2 - Set DMA alignment explicitly crypto: octeontx - Set DMA alignment explicitly crypto: keembay - Set DMA alignment explicitly crypto: safexcel - Set DMA alignment explicitly crypto: hisilicon/hpre - Set DMA alignment explicitly crypto: chelsio - Set DMA alignment explicitly crypto: ccree - Set DMA alignment explicitly crypto: ccp - Set DMA alignment explicitly crypto: cavium - Set DMA alignment explicitly crypto: img-hash - Fix variable dereferenced before check 'hdev->req' crypto: arm64/ghash-ce - use frame_push/pop macros consistently crypto: arm64/crct10dif - use frame_push/pop macros consistently crypto: arm64/aes-modes - use frame_push/pop macros consistently ...
- Loading branch information
Showing
255 changed files
with
13,365 additions
and
7,088 deletions.
There are no files selected for viewing
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
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
127 changes: 127 additions & 0 deletions
127
Documentation/devicetree/bindings/crypto/rockchip,rk3288-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,127 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/crypto/rockchip,rk3288-crypto.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Rockchip Electronics Security Accelerator | ||
|
||
maintainers: | ||
- Heiko Stuebner <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- rockchip,rk3288-crypto | ||
- rockchip,rk3328-crypto | ||
- rockchip,rk3399-crypto | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 3 | ||
maxItems: 4 | ||
|
||
clock-names: | ||
minItems: 3 | ||
maxItems: 4 | ||
|
||
resets: | ||
minItems: 1 | ||
maxItems: 3 | ||
|
||
reset-names: | ||
minItems: 1 | ||
maxItems: 3 | ||
|
||
allOf: | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
const: rockchip,rk3288-crypto | ||
then: | ||
properties: | ||
clocks: | ||
minItems: 4 | ||
clock-names: | ||
items: | ||
- const: aclk | ||
- const: hclk | ||
- const: sclk | ||
- const: apb_pclk | ||
resets: | ||
maxItems: 1 | ||
reset-names: | ||
items: | ||
- const: crypto-rst | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
const: rockchip,rk3328-crypto | ||
then: | ||
properties: | ||
clocks: | ||
maxItems: 3 | ||
clock-names: | ||
items: | ||
- const: hclk_master | ||
- const: hclk_slave | ||
- const: sclk | ||
resets: | ||
maxItems: 1 | ||
reset-names: | ||
items: | ||
- const: crypto-rst | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
const: rockchip,rk3399-crypto | ||
then: | ||
properties: | ||
clocks: | ||
maxItems: 3 | ||
clock-names: | ||
items: | ||
- const: hclk_master | ||
- const: hclk_slave | ||
- const: sclk | ||
resets: | ||
minItems: 3 | ||
reset-names: | ||
items: | ||
- const: master | ||
- const: slave | ||
- const: crypto-rst | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- clocks | ||
- clock-names | ||
- resets | ||
- reset-names | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
#include <dt-bindings/clock/rk3288-cru.h> | ||
crypto@ff8a0000 { | ||
compatible = "rockchip,rk3288-crypto"; | ||
reg = <0xff8a0000 0x4000>; | ||
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&cru ACLK_CRYPTO>, <&cru HCLK_CRYPTO>, | ||
<&cru SCLK_CRYPTO>, <&cru ACLK_DMAC1>; | ||
clock-names = "aclk", "hclk", "sclk", "apb_pclk"; | ||
resets = <&cru SRST_CRYPTO>; | ||
reset-names = "crypto-rst"; | ||
}; |
28 changes: 0 additions & 28 deletions
28
Documentation/devicetree/bindings/crypto/rockchip-crypto.txt
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -6,12 +6,18 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: STMicroelectronics STM32 CRYP bindings | ||
|
||
description: The STM32 CRYP block is built on the CRYP block found in | ||
the STn8820 SoC introduced in 2007, and subsequently used in the U8500 | ||
SoC in 2010. | ||
|
||
maintainers: | ||
- Lionel Debieve <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- st,stn8820-cryp | ||
- stericsson,ux500-cryp | ||
- st,stm32f756-cryp | ||
- st,stm32mp1-cryp | ||
|
||
|
@@ -27,6 +33,19 @@ properties: | |
resets: | ||
maxItems: 1 | ||
|
||
dmas: | ||
items: | ||
- description: mem2cryp DMA channel | ||
- description: cryp2mem DMA channel | ||
|
||
dma-names: | ||
items: | ||
- const: mem2cryp | ||
- const: cryp2mem | ||
|
||
power-domains: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
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
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 |
---|---|---|
|
@@ -17941,6 +17941,13 @@ F: Documentation/ABI/*/sysfs-driver-hid-roccat* | |
F: drivers/hid/hid-roccat* | ||
F: include/linux/hid-roccat* | ||
|
||
ROCKCHIP CRYPTO DRIVERS | ||
M: Corentin Labbe <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml | ||
F: drivers/crypto/rockchip/ | ||
|
||
ROCKCHIP I2S TDM DRIVER | ||
M: Nicolas Frattaroli <[email protected]> | ||
L: [email protected] | ||
|
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
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
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
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
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
Oops, something went wrong.