mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: lemans: Add OPP-table for ICE UFS device node
@ 2026-05-29 20:27 Abhinaba Rakshit
  2026-06-06 20:45 ` Kuldeep Singh
  0 siblings, 1 reply; 4+ messages in thread
From: Abhinaba Rakshit @ 2026-05-29 20:27 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neeraj Soni, Harshal Dev, Kuldeep Singh
  Cc: linux-arm-msm, devicetree, linux-kernel, Abhinaba Rakshit

Qualcomm Inline Crypto Engine (ICE) platform driver now supports
an optional OPP-table.

Add OPP-table for ICE UFS device nodes for LeMans platform.

Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
---
Testing:
* dtbs_check
* Validated on LeMans-evk platform
---
Changes in v2:
- Fix svs_l1 frequency from 750MHz to 75MHz.
- Link to v1: https://lore.kernel.org/r/20260527-add-opp-table-for-lemans-ice-ufs-v1-1-3f97f5ce60db@oss.qualcomm.com
---
 arch/arm64/boot/dts/qcom/lemans.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
index 522ba43836a2425a8612506f5f7113f291f34706..9624f641212e5a80b74da52b82ea54a303aeee13 100644
--- a/arch/arm64/boot/dts/qcom/lemans.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
@@ -3109,6 +3109,32 @@ ice: crypto@1d88000 {
 			clock-names = "core",
 				      "iface";
 			power-domains = <&gcc UFS_PHY_GDSC>;
+
+			operating-points-v2 = <&ice_opp_table>;
+
+			ice_opp_table: opp-table {
+				compatible = "operating-points-v2";
+
+				opp-75000000 {
+					opp-hz = /bits/ 64 <75000000>;
+					required-opps = <&rpmhpd_opp_svs_l1>;
+				};
+
+				opp-150000000 {
+					opp-hz = /bits/ 64 <150000000>;
+					required-opps = <&rpmhpd_opp_svs_l1>;
+				};
+
+				opp-300000000 {
+					opp-hz = /bits/ 64 <300000000>;
+					required-opps = <&rpmhpd_opp_nom>;
+				};
+
+				opp-600000000 {
+					opp-hz = /bits/ 64 <600000000>;
+					required-opps = <&rpmhpd_opp_nom>;
+				};
+			};
 		};
 
 		cryptobam: dma-controller@1dc4000 {

---
base-commit: c1ecb239fa3456529a32255359fc78b69eb9d847
change-id: 20260525-add-opp-table-for-lemans-ice-ufs-156d70e2696c

Best regards,
-- 
Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: lemans: Add OPP-table for ICE UFS device node
  2026-05-29 20:27 [PATCH v2] arm64: dts: qcom: lemans: Add OPP-table for ICE UFS device node Abhinaba Rakshit
@ 2026-06-06 20:45 ` Kuldeep Singh
  2026-06-08 21:22   ` Abhinaba Rakshit
  2026-06-08 21:59   ` Abhinaba Rakshit
  0 siblings, 2 replies; 4+ messages in thread
From: Kuldeep Singh @ 2026-06-06 20:45 UTC (permalink / raw)
  To: Abhinaba Rakshit, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Neeraj Soni, Harshal Dev
  Cc: linux-arm-msm, devicetree, linux-kernel

On 30-05-2026 01:57, Abhinaba Rakshit wrote:
> Qualcomm Inline Crypto Engine (ICE) platform driver now supports
> an optional OPP-table.
> 
> Add OPP-table for ICE UFS device nodes for LeMans platform.
> 
> Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>

This patch still needs patch-series[1] as prerequisite and cannot work
standalone. Can you send this patch in same original series just like
other DTs are updated?

[1]
https://lore.kernel.org/linux-arm-msm/20260603-enable-ice-clock-scaling-v10-0-b0b728435356@oss.qualcomm.com/

-- 
Regards
Kuldeep


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: lemans: Add OPP-table for ICE UFS device node
  2026-06-06 20:45 ` Kuldeep Singh
@ 2026-06-08 21:22   ` Abhinaba Rakshit
  2026-06-08 21:59   ` Abhinaba Rakshit
  1 sibling, 0 replies; 4+ messages in thread
From: Abhinaba Rakshit @ 2026-06-08 21:22 UTC (permalink / raw)
  To: Kuldeep Singh
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neeraj Soni, Harshal Dev, linux-arm-msm,
	devicetree, linux-kernel

On Sun, Jun 07, 2026 at 02:15:38AM +0530, Kuldeep Singh wrote:
> On 30-05-2026 01:57, Abhinaba Rakshit wrote:
> > Qualcomm Inline Crypto Engine (ICE) platform driver now supports
> > an optional OPP-table.
> > 
> > Add OPP-table for ICE UFS device nodes for LeMans platform.
> > 
> > Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
> 
> This patch still needs patch-series[1] as prerequisite and cannot work
> standalone. Can you send this patch in same original series just like
> other DTs are updated?
> 
> [1]
> https://lore.kernel.org/linux-arm-msm/20260603-enable-ice-clock-scaling-v10-0-b0b728435356@oss.qualcomm.com/

Sure, will include this patch with ICE clock scaling patch and post a new patchseries.

Abhinaba Rakshit

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: lemans: Add OPP-table for ICE UFS device node
  2026-06-06 20:45 ` Kuldeep Singh
  2026-06-08 21:22   ` Abhinaba Rakshit
@ 2026-06-08 21:59   ` Abhinaba Rakshit
  1 sibling, 0 replies; 4+ messages in thread
From: Abhinaba Rakshit @ 2026-06-08 21:59 UTC (permalink / raw)
  To: Kuldeep Singh
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neeraj Soni, Harshal Dev, linux-arm-msm,
	devicetree, linux-kernel

On Sun, Jun 07, 2026 at 02:15:38AM +0530, Kuldeep Singh wrote:
> On 30-05-2026 01:57, Abhinaba Rakshit wrote:
> > Qualcomm Inline Crypto Engine (ICE) platform driver now supports
> > an optional OPP-table.
> > 
> > Add OPP-table for ICE UFS device nodes for LeMans platform.
> > 
> > Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
> 
> This patch still needs patch-series[1] as prerequisite and cannot work
> standalone. Can you send this patch in same original series just like
> other DTs are updated?
> 
> [1]
> https://lore.kernel.org/linux-arm-msm/20260603-enable-ice-clock-scaling-v10-0-b0b728435356@oss.qualcomm.com/

Included this change with ICE clock scaling and posted new patchseries:
https://lore.kernel.org/all/20260609-enable-ice-clock-scaling-v11-0-1cebc8b3275b@oss.qualcomm.com/

Abhinaba Rakshit

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-08 21:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-29 20:27 [PATCH v2] arm64: dts: qcom: lemans: Add OPP-table for ICE UFS device node Abhinaba Rakshit
2026-06-06 20:45 ` Kuldeep Singh
2026-06-08 21:22   ` Abhinaba Rakshit
2026-06-08 21:59   ` Abhinaba Rakshit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®