OSDN Git Service

arm64: dts: qcom: sm8450: add Inline Crypto Engine registers and clock
authorEric Biggers <ebiggers@google.com>
Fri, 26 Aug 2022 07:12:44 +0000 (00:12 -0700)
committerBjorn Andersson <andersson@kernel.org>
Mon, 29 Aug 2022 22:25:39 +0000 (17:25 -0500)
commit276ee34a40c1440544f609b54b23b99ead8f2205
treed965dcc032d89bfb834b48109482f2b50c85c390
parent643d05163e3a18f224e4e1a80de09b2b74e1d249
arm64: dts: qcom: sm8450: add Inline Crypto Engine registers and clock

Add the registers and clock for the Inline Crypto Engine (ICE) to the
device tree node for the UFS host controller on sm8450.  This makes
ufs_qcom support inline encryption when CONFIG_SCSI_UFS_CRYPTO=y.

The address and size of the register range, and the minimum and maximum
frequency of the ICE core clock, all match the values used downstream.

I've validated this on an SM8450 HDK using the 'encrypt' group of
xfstests on ext4 with MOUNT_OPTIONS="-o inlinecrypt".

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220826071244.185584-1-ebiggers@kernel.org
arch/arm64/boot/dts/qcom/sm8450.dtsi