* [PATCH v3 0/2] Enable inline crypto engine on SM8250
@ 2026-03-10 3:12 Alexander Koskovich
2026-03-10 3:12 ` [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine Alexander Koskovich
2026-03-10 3:12 ` [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add " Alexander Koskovich
0 siblings, 2 replies; 8+ messages in thread
From: Alexander Koskovich @ 2026-03-10 3:12 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
Alexander Koskovich, Dmitry Baryshkov
Add the ICE found on SM8250 to DTS and link it to the UFS node,
and document the compatible used for the inline crypto engine.
This series depends on WIP changes that requires power-domains and
iface clk to be specified [1].
[1]: https://lore.kernel.org/linux-arm-msm/20260123-qcom_ice_power_and_clk_vote-v1-0-e9059776f85c@qti.qualcomm.com
Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
---
Changes in v3:
- Add missed Reviewed-by from Dmitry
- Link to v2: https://lore.kernel.org/r/20260309-sm8250-ice-v2-0-0c8c46ccc814@pm.me
Changes in v2:
- Fixed From/SoB mismatch
- Added iface clk & UFSPHY GDSC (adds dependency on in review changes)
- Link to v1: https://lore.kernel.org/r/20260307-sm8250-ice-v1-0-a0c987371c62@pm.me
---
Alexander Koskovich (2):
dt-bindings: crypto: ice: Document sm8250 inline crypto engine
arm64: dts: qcom: sm8250: Add inline crypto engine
.../bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
arch/arm64/boot/dts/qcom/sm8250.dtsi | 13 +++++++++++++
2 files changed, 14 insertions(+)
---
base-commit: 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681
change-id: 20260307-sm8250-ice-800e656d7321
Best regards,
--
Alexander Koskovich <akoskovich@pm.me>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine
2026-03-10 3:12 [PATCH v3 0/2] Enable inline crypto engine on SM8250 Alexander Koskovich
@ 2026-03-10 3:12 ` Alexander Koskovich
2026-03-10 8:03 ` Krzysztof Kozlowski
2026-03-11 18:26 ` Krzysztof Kozlowski
2026-03-10 3:12 ` [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add " Alexander Koskovich
1 sibling, 2 replies; 8+ messages in thread
From: Alexander Koskovich @ 2026-03-10 3:12 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
Alexander Koskovich
Document the compatible used for the inline crypto engine found on
SM8250.
Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
---
Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
index 061ff718b23d..ccb74ea14ce8 100644
--- a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
@@ -19,6 +19,7 @@ properties:
- qcom,sa8775p-inline-crypto-engine
- qcom,sc7180-inline-crypto-engine
- qcom,sc7280-inline-crypto-engine
+ - qcom,sm8250-inline-crypto-engine
- qcom,sm8450-inline-crypto-engine
- qcom,sm8550-inline-crypto-engine
- qcom,sm8650-inline-crypto-engine
--
2.53.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add inline crypto engine
2026-03-10 3:12 [PATCH v3 0/2] Enable inline crypto engine on SM8250 Alexander Koskovich
2026-03-10 3:12 ` [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine Alexander Koskovich
@ 2026-03-10 3:12 ` Alexander Koskovich
2026-03-10 14:11 ` Konrad Dybcio
2026-03-17 9:27 ` Harshal Dev
1 sibling, 2 replies; 8+ messages in thread
From: Alexander Koskovich @ 2026-03-10 3:12 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
Alexander Koskovich, Dmitry Baryshkov
Add the ICE found on sm8250 and link it to the UFS node.
qcom-ice 1d90000.crypto: Found QC Inline Crypto Engine (ICE) v3.1.81
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index c7dffa440074..b49007934278 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -2513,6 +2513,8 @@ ufs_mem_hc: ufshc@1d84000 {
power-domains = <&gcc UFS_PHY_GDSC>;
+ qcom,ice = <&ice>;
+
iommus = <&apps_smmu 0x0e0 0>, <&apps_smmu 0x4e0 0>;
clock-names =
@@ -2592,6 +2594,17 @@ ufs_mem_phy: phy@1d87000 {
status = "disabled";
};
+ ice: crypto@1d90000 {
+ compatible = "qcom,sm8250-inline-crypto-engine",
+ "qcom,inline-crypto-engine";
+ reg = <0 0x01d90000 0 0x8000>;
+ clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
+ <&gcc GCC_UFS_PHY_AHB_CLK>;
+ clock-names = "ice_core_clk",
+ "iface_clk";
+ power-domains = <&gcc UFS_PHY_GDSC>;
+ };
+
cryptobam: dma-controller@1dc4000 {
compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
reg = <0 0x01dc4000 0 0x24000>;
--
2.53.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine
2026-03-10 3:12 ` [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine Alexander Koskovich
@ 2026-03-10 8:03 ` Krzysztof Kozlowski
2026-03-11 18:26 ` Krzysztof Kozlowski
1 sibling, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-10 8:03 UTC (permalink / raw)
To: Alexander Koskovich
Cc: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
linux-crypto, devicetree, linux-kernel
On Tue, Mar 10, 2026 at 03:12:53AM +0000, Alexander Koskovich wrote:
> Document the compatible used for the inline crypto engine found on
> SM8250.
>
> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
> ---
> Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
<form letter>
This is a friendly reminder during the review process.
It looks like you received a tag and forgot to add it.
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new
versions of patchset, under or above your Signed-off-by tag, unless
patch changed significantly (e.g. new properties added to the DT
bindings). Tag is "received", when provided in a message replied to you
on the mailing list. Tools like b4 can help here. However, there's no
need to repost patches *only* to add the tags. The upstream maintainer
will do that for tags received on the version they apply.
Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
If a tag was not added on purpose, please state why and what changed.
</form letter>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add inline crypto engine
2026-03-10 3:12 ` [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add " Alexander Koskovich
@ 2026-03-10 14:11 ` Konrad Dybcio
2026-03-17 9:27 ` Harshal Dev
1 sibling, 0 replies; 8+ messages in thread
From: Konrad Dybcio @ 2026-03-10 14:11 UTC (permalink / raw)
To: Alexander Koskovich, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
Dmitry Baryshkov
On 3/10/26 4:12 AM, Alexander Koskovich wrote:
> Add the ICE found on sm8250 and link it to the UFS node.
>
> qcom-ice 1d90000.crypto: Found QC Inline Crypto Engine (ICE) v3.1.81
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine
2026-03-10 3:12 ` [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine Alexander Koskovich
2026-03-10 8:03 ` Krzysztof Kozlowski
@ 2026-03-11 18:26 ` Krzysztof Kozlowski
2026-03-17 9:25 ` Harshal Dev
1 sibling, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-11 18:26 UTC (permalink / raw)
To: Alexander Koskovich, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel
On 10/03/2026 04:12, Alexander Koskovich wrote:
> Document the compatible used for the inline crypto engine found on
> SM8250.
>
> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
> ---
> Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
> index 061ff718b23d..ccb74ea14ce8 100644
> --- a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
> +++ b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
> @@ -19,6 +19,7 @@ properties:
> - qcom,sa8775p-inline-crypto-engine
> - qcom,sc7180-inline-crypto-engine
> - qcom,sc7280-inline-crypto-engine
> + - qcom,sm8250-inline-crypto-engine
SM8250 does not need two clocks?
https://lore.kernel.org/r/20260310-qcom_ice_power_and_clk_vote-v2-1-b9c2a5471d9e@oss.qualcomm.com/
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine
2026-03-11 18:26 ` Krzysztof Kozlowski
@ 2026-03-17 9:25 ` Harshal Dev
0 siblings, 0 replies; 8+ messages in thread
From: Harshal Dev @ 2026-03-17 9:25 UTC (permalink / raw)
To: Krzysztof Kozlowski, Alexander Koskovich, Herbert Xu,
David S. Miller, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel
On 3/11/2026 11:56 PM, Krzysztof Kozlowski wrote:
> On 10/03/2026 04:12, Alexander Koskovich wrote:
>> Document the compatible used for the inline crypto engine found on
>> SM8250.
>>
>> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
>> ---
>> Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
>> index 061ff718b23d..ccb74ea14ce8 100644
>> --- a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
>> +++ b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml
>> @@ -19,6 +19,7 @@ properties:
>> - qcom,sa8775p-inline-crypto-engine
>> - qcom,sc7180-inline-crypto-engine
>> - qcom,sc7280-inline-crypto-engine
>> + - qcom,sm8250-inline-crypto-engine
>
> SM8250 does not need two clocks?
>
> https://lore.kernel.org/r/20260310-qcom_ice_power_and_clk_vote-v2-1-b9c2a5471d9e@oss.qualcomm.com/
It does need the two clocks along with the power-domain. I can see they have been
added in the DTS but with the updated DT binding, I think they should also be made
'required' for sm8250 similar to Eliza and Milos.
https://lore.kernel.org/all/20260317-qcom_ice_power_and_clk_vote-v3-2-53371dbabd6a@oss.qualcomm.com/
Regards,
Harshal
>
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add inline crypto engine
2026-03-10 3:12 ` [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add " Alexander Koskovich
2026-03-10 14:11 ` Konrad Dybcio
@ 2026-03-17 9:27 ` Harshal Dev
1 sibling, 0 replies; 8+ messages in thread
From: Harshal Dev @ 2026-03-17 9:27 UTC (permalink / raw)
To: Alexander Koskovich, Herbert Xu, David S. Miller, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
Dmitry Baryshkov
Hi Alexander,
On 3/10/2026 8:42 AM, Alexander Koskovich wrote:
> Add the ICE found on sm8250 and link it to the UFS node.
>
> qcom-ice 1d90000.crypto: Found QC Inline Crypto Engine (ICE) v3.1.81
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
> ---
> arch/arm64/boot/dts/qcom/sm8250.dtsi | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> index c7dffa440074..b49007934278 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
> @@ -2513,6 +2513,8 @@ ufs_mem_hc: ufshc@1d84000 {
>
> power-domains = <&gcc UFS_PHY_GDSC>;
>
> + qcom,ice = <&ice>;
> +
> iommus = <&apps_smmu 0x0e0 0>, <&apps_smmu 0x4e0 0>;
>
> clock-names =
> @@ -2592,6 +2594,17 @@ ufs_mem_phy: phy@1d87000 {
> status = "disabled";
> };
>
> + ice: crypto@1d90000 {
> + compatible = "qcom,sm8250-inline-crypto-engine",
> + "qcom,inline-crypto-engine";
> + reg = <0 0x01d90000 0 0x8000>;
> + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>,
> + <&gcc GCC_UFS_PHY_AHB_CLK>;
> + clock-names = "ice_core_clk",
> + "iface_clk";
As per comments on v2 of this patch, the clock names have been updated to 'core' and 'iface'.
Please update the same here since your patch depends on this one:
https://lore.kernel.org/all/20260317-qcom_ice_power_and_clk_vote-v3-1-53371dbabd6a@oss.qualcomm.com/
Regards,
Harshal
> + power-domains = <&gcc UFS_PHY_GDSC>;
> + };
> +
> cryptobam: dma-controller@1dc4000 {
> compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
> reg = <0 0x01dc4000 0 0x24000>;
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-03-17 9:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10 3:12 [PATCH v3 0/2] Enable inline crypto engine on SM8250 Alexander Koskovich
2026-03-10 3:12 ` [PATCH v3 1/2] dt-bindings: crypto: ice: Document sm8250 inline crypto engine Alexander Koskovich
2026-03-10 8:03 ` Krzysztof Kozlowski
2026-03-11 18:26 ` Krzysztof Kozlowski
2026-03-17 9:25 ` Harshal Dev
2026-03-10 3:12 ` [PATCH v3 2/2] arm64: dts: qcom: sm8250: Add " Alexander Koskovich
2026-03-10 14:11 ` Konrad Dybcio
2026-03-17 9:27 ` Harshal Dev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox