[PATCH 0/8] Enable Qualcomm Crypto Engine on sm8250

From: Bhupesh Sharma
Date: Wed Mar 10 2021 - 00:26:15 EST


Qualcomm crypto engine is also available on sm8250 SoC.
It supports hardware accelerated algorithms for encryption
and authentication. It also provides support for aes, des, 3des
encryption algorithms and sha1, sha256, hmac(sha1), hmac(sha256)
authentication algorithms.

While at it, also make a minor fix in 'sdm845.dtsi', to make
sure it confirms with the other .dtsi files which expose
crypto nodes on qcom SoCs.

Cc: Thara Gopinath <thara.gopinath@xxxxxxxxxx>
Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: Andy Gross <agross@xxxxxxxxxx>
Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Cc: David S. Miller <davem@xxxxxxxxxxxxx>
Cc: Stephen Boyd <sboyd@xxxxxxxxxx>
Cc: Michael Turquette <mturquette@xxxxxxxxxxxx>
Cc: linux-clk@xxxxxxxxxxxxxxx
Cc: linux-crypto@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: bhupesh.linux@xxxxxxxxx

Bhupesh Sharma (8):
dt-bindings: qcom-qce: Add 'iommus' to required properties
dt-bindings: crypto : Add new compatible strings for qcom-qce
arm64/dts: qcom: sdm845: Use RPMH_CE_CLK macro directly
dt-bindings/clock: qcom: sm8250: Add gcc clocks for sm8250 crypto
block
clk: qcom: clk-rpmh: Add CE clock on sm8250
clk: qcom: Add gcc clocks for crypto block on sm8250
drivers: crypto: qce: Enable support for crypto engine on sm8250.
arm64/dts: qcom: sm8250: Add dt entries to support crypto engine.

.../devicetree/bindings/crypto/qcom-qce.txt | 7 ++-
arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 +-
arch/arm64/boot/dts/qcom/sm8250.dtsi | 36 +++++++++++++++
drivers/clk/qcom/clk-rpmh.c | 1 +
drivers/clk/qcom/gcc-sm8250.c | 44 +++++++++++++++++++
drivers/crypto/qce/core.c | 1 +
include/dt-bindings/clock/qcom,gcc-sm8250.h | 3 ++
7 files changed, 93 insertions(+), 3 deletions(-)

--
2.29.2