Re: [PATCH 2/2] arm64: dts: qcom: sm8350: Add the inline crypto engine
From: Krzysztof Kozlowski
Date: Mon Nov 09 2026 - 08:23:38 EST
On Thu, Nov 05, 2026 at 03:29:31PM +0000, Demeter Barna wrote:
> Describe the UFS inline crypto engine at 0x1d88000 and hand it to the
> UFS host controller with qcom,ice. The region covers the engine and its
> hardware key manager (0x8000 + 0x9000), as in Qualcomm's SM8350 device
> tree; it is clocked by the UFS ICE core and AHB clocks and powered by
> the UFS PHY GDSC, as on SM8450. Without it the UFS driver logs
> "Disabling inline encryption support" and fscrypt has no hardware path.
>
> Signed-off-by: Demeter Barna <me@xxxxxxxxxxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/sm8350.dtsi | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi
> index 55b32050c..2b258c4b4 100644
> --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi
> @@ -1782,6 +1782,8 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
> <0 0>,
> <0 0>,
> <0 0>;
> + qcom,ice = <&ice>;
> +
> status = "disabled";
> };
>
> @@ -1807,6 +1809,17 @@ ufs_mem_phy: phy@1d87000 {
> status = "disabled";
> };
>
> + ice: crypto@1d88000 {
> + compatible = "qcom,sm8350-inline-crypto-engine",
> + "qcom,inline-crypto-engine";
> + reg = <0 0x01d88000 0 0x11000>;
> + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
> + <&gcc GCC_UFS_PHY_AHB_CLK>;
> + clock-names = "core",
> + "iface";
Odd, your binding was hinting towards incomplete/legacy DTS, but I see
complete - at least in clocks part.
Best regards,
Krzysztof