Devicetree
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: lemans: Enable the Inline Crypto Engine for SDHC
@ 2026-11-24  9:13 Abhinaba Rakshit
  2026-11-24  9:22 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Abhinaba Rakshit @ 2026-11-24  9:13 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Neeraj Soni, Kuldeep Singh
  Cc: linux-arm-msm, devicetree, Abhinaba Rakshit

Add an ICE node to LeMans SoC description and enable it by adding a
phandle to the SDHC node.

Signed-off-by: Abhinaba Rakshit <abhinaba.rakshit@oss.qualcomm.com>
---
This patchseries enables Inline Crypto Engine for LeMans platform
for SDHC storage.

Testing:
* dtbs_check.
* Validated on LeMans-evk with custom Mezzanine board for SDHC support.

Dependencies
============

[1] Enable ICE clock scaling
    https://lore.kernel.org/all/20260824-enable-ice-clock-scaling-v12-0-09271f583dc6@oss.qualcomm.com/
---
Changes in v2:
- Rebase ICE SDHC on latest tip.
- Rename ice_mmc_opp_table to sdhc_ice_opp_table.
- Link to v1: https://lore.kernel.org/r/20261109-enable-ice-sdcc-for-lemans-v1-1-1f25debeea49@oss.qualcomm.com
---
 arch/arm64/boot/dts/qcom/lemans-embedded.dtsi | 29 +++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
index 0be39bb9de1e1cdbb7d67a992172861a5a10a05a..4cb3af416a3fccb094ecc3022aa937669a8d4ce6 100644
--- a/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans-embedded.dtsi
@@ -1651,6 +1651,8 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
 	power-domains = <&rpmhpd SA8775P_CX>;
 	resets = <&gcc GCC_SDCC1_BCR>;
 
+	qcom,ice = <&sdhc_ice>;
+
 	sdhc_opp_table: opp-table {
 		compatible = "operating-points-v2";
 
@@ -1849,6 +1851,33 @@ lpass_ag_noc: interconnect@3c40000 {
 		qcom,bcm-voters = <&apps_bcm_voter>;
 	};
 
+	sdhc_ice: crypto@87c8000 {
+		compatible = "qcom,sa8775p-inline-crypto-engine",
+			     "qcom,inline-crypto-engine";
+		reg = <0x0 0x087c8000 0x0 0x18000>;
+		clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>,
+			 <&gcc GCC_SDCC1_AHB_CLK>;
+		clock-names = "core",
+			      "iface";
+		power-domains = <&rpmhpd SA8775P_CX>;
+
+		operating-points-v2 = <&sdhc_ice_opp_table>;
+
+		sdhc_ice_opp_table: opp-table {
+			compatible = "operating-points-v2";
+
+			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>;
+			};
+		};
+	};
+
 	usb_0_hsphy: phy@88e4000 {
 		compatible = "qcom,sa8775p-usb-hs-phy",
 			     "qcom,usb-snps-hs-5nm-phy";

---
base-commit: 3191063649dbf7c0d0b768e1f3655e4c5fc6edb5
change-id: 20261124-enable-ice-sdhc-for-lemans-7949b5298939

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


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

end of thread, other threads:[~2026-11-24  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  9:13 [PATCH v2] arm64: dts: qcom: lemans: Enable the Inline Crypto Engine for SDHC Abhinaba Rakshit
2026-11-24  9:22 ` sashiko-bot

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