Commit 42ef0e94 authored by Jia Jie Ho's avatar Jia Jie Ho Committed by Herbert Xu
Browse files

crypto: starfive - Add crypto engine support



Adding device probe and DMA init for StarFive cryptographic module.

Co-developed-by: default avatarHuan Feng <huan.feng@starfivetech.com>
Signed-off-by: default avatarHuan Feng <huan.feng@starfivetech.com>
Signed-off-by: default avatarJia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4b66c6aa
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -20095,6 +20095,13 @@ F: Documentation/devicetree/bindings/clock/starfive,jh71*.yaml
F:	drivers/clk/starfive/clk-starfive-jh71*
F:	include/dt-bindings/clock/starfive?jh71*.h
STARFIVE CRYPTO DRIVER
M:	Jia Jie Ho <jiajie.ho@starfivetech.com>
M:	William Qiu <william.qiu@starfivetech.com>
S:	Supported
F:	Documentation/devicetree/bindings/crypto/starfive*
F:	drivers/crypto/starfive/
STARFIVE JH71X0 PINCTRL DRIVERS
M:	Emil Renner Berthing <kernel@esmil.dk>
M:	Jianlong Huang <jianlong.huang@starfivetech.com>
+1 −0
Original line number Diff line number Diff line
@@ -807,5 +807,6 @@ config CRYPTO_DEV_SA2UL
	  acceleration for cryptographic algorithms on these devices.

source "drivers/crypto/aspeed/Kconfig"
source "drivers/crypto/starfive/Kconfig"

endif # CRYPTO_HW
+1 −0
Original line number Diff line number Diff line
@@ -50,3 +50,4 @@ obj-y += xilinx/
obj-y += hisilicon/
obj-$(CONFIG_CRYPTO_DEV_AMLOGIC_GXL) += amlogic/
obj-y += intel/
obj-y += starfive/
+17 −0
Original line number Diff line number Diff line
#
# StarFive crypto drivers configuration
#

config CRYPTO_DEV_JH7110
	tristate "StarFive JH7110 cryptographic engine driver"
	depends on SOC_STARFIVE || COMPILE_TEST
	select CRYPTO_ENGINE
	select ARM_AMBA
	select DMADEVICES
	select AMBA_PL08X
	help
	  Support for StarFive JH7110 crypto hardware acceleration engine.
	  This module provides acceleration for public key algo,
	  skciphers, AEAD and hash functions.

	  If you choose 'M' here, this module will be called jh7110-crypto.
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_CRYPTO_DEV_JH7110) += jh7110-crypto.o
jh7110-crypto-objs := jh7110-cryp.o
Loading