From: sashiko-bot@kernel.org
To: "Varadarajan Narayanan" <varadarajan.narayanan@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v9 06/11] arm64: dts: qcom: ipq5210: Add ICE support to SDHCI
Date: Thu, 12 Nov 2026 04:57:53 +0000 [thread overview]
Message-ID: <sashiko-outbox-210403@kernel.org> (raw)
In-Reply-To: <20261112-08-dts-v9-6-c34de4f78fbb@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: qcom: ipq5210: 300 MHz ICE OPP table attached to
sdhc node
--
commit 26d7894a0ee84572c70f5300978aa25be22d94a5
Author: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
arm64: dts: qcom: ipq5210: Add ICE support to SDHCI
This commit adds the SDHCI inline crypto engine (ICE) node, a 300 MHz OPP
table, and CQE support for the IPQ5210 SDHCI controller, and enables ICE on
RDP504.
> diff --git a/arch/arm64/boot/dts/qcom/ipq5210.dtsi b/arch/arm64/boot/dts/qcom/ipq5210.dtsi
> index f3d688fded802..267255d2980a3 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5210.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq5210.dtsi
> @@ -164,6 +164,14 @@ opp-1416000000 {
> };
> };
>
> + sdhc_opp_table_300mhz: opp-table-300mhz {
> + compatible = "operating-points-v2";
> +
> + opp-300000000 {
> + opp-hz = /bits/ 64 <300000000>;
> + };
> + };
> +
> pmu {
> compatible = "arm,cortex-a53-pmu";
> interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
> @@ -456,7 +464,25 @@ sdhc: mmc@7804000 {
> clock-names = "iface",
> "core",
> "xo";
> +
> + qcom,ice = <&sdhc_ice>;
> +
> non-removable;
> + operating-points-v2 = <&sdhc_opp_table_300mhz>;
> + supports-cqe;
> +
> + status = "disabled";
> + };
> +
> + sdhc_ice: crypto@7808000 {
> + compatible = "qcom,ipq5210-inline-crypto-engine",
> + "qcom,inline-crypto-engine";
> + reg = <0x0 0x07808000 0x0 0x2000>;
> +
> + clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>,
> + <&gcc GCC_SDCC1_AHB_CLK>;
> + clock-names = "core",
> + "iface";
>
> status = "disabled";
> };
[Severity: Medium]
Is sdhc_opp_table_300mhz attached to the wrong node here?
sdhci_msm_probe() calls devm_pm_opp_set_clkname(&pdev->dev, "core") and
devm_pm_opp_of_add_table(&pdev->dev), which binds operating-points-v2 on
sdhc to sdhc's "core" clock (GCC_SDCC1_APPS_CLK). In
drivers/clk/qcom/gcc-ipq5210.c, ftbl_gcc_sdcc1_apps_clk_src only supports
rates up to 200 MHz, whereas 300 MHz is the rate in
ftbl_gcc_sdcc1_ice_core_clk_src for GCC_SDCC1_ICE_CORE_CLK on sdhc_ice.
Attaching the 300 MHz OPP table to sdhc gives GCC_SDCC1_APPS_CLK an
unreachable 300 MHz OPP while leaving GCC_SDCC1_ICE_CORE_CLK on sdhc_ice
with no rate configuration (qcom_ice_create() only enables its "core" clock
and does not parse an OPP table).
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261112-08-dts-v9-0-c34de4f78fbb@oss.qualcomm.com?part=6
next prev parent reply other threads:[~2026-11-12 4:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 4:36 [PATCH v9 00/11] Enable mutliple peripherals in IPQ5210 Varadarajan Narayanan
2026-11-12 4:36 ` [PATCH v9 01/11] arm64: dts: qcom: ipq5210: Add nodes for multiple peripherals Varadarajan Narayanan
2026-11-12 5:00 ` sashiko-bot
2026-11-12 4:36 ` [PATCH v9 02/11] arm64: dts: qcom: ipq5210: Introduce RDP504 common DT file Varadarajan Narayanan
2026-11-12 4:58 ` sashiko-bot
2026-11-12 4:36 ` [PATCH v9 03/11] arm64: dts: qcom: ipq5210: Introduce RDP504 NAND variant " Varadarajan Narayanan
2026-11-12 4:49 ` sashiko-bot
2026-11-12 4:36 ` [PATCH v9 04/11] arm64: dts: qcom: ipq5210: Add support for WPS button Varadarajan Narayanan
2026-11-12 4:36 ` [PATCH v9 05/11] arm64: dts: qcom: ipq5210: Add C3 CPU idle state Varadarajan Narayanan
2026-11-12 4:36 ` [PATCH v9 06/11] arm64: dts: qcom: ipq5210: Add ICE support to SDHCI Varadarajan Narayanan
2026-11-12 4:57 ` sashiko-bot [this message]
2026-11-12 4:36 ` [PATCH v9 07/11] arm64: dts: qcom: ipq5210: Enable download mode support Varadarajan Narayanan
2026-11-12 4:36 ` [PATCH v9 08/11] arm64: dts: qcom: ipq5210: Enable the PWM block Varadarajan Narayanan
2026-11-12 4:48 ` sashiko-bot
2026-11-12 4:36 ` [PATCH v9 09/11] arm64: dts: qcom: ipq5210: Add I2C nodes Varadarajan Narayanan
2026-11-12 4:56 ` sashiko-bot
2026-11-12 4:36 ` [PATCH v9 10/11] arm64: dts: qcom: ipq5210: Add SPI node definitions Varadarajan Narayanan
2026-11-12 5:00 ` sashiko-bot
2026-11-12 4:36 ` [PATCH v9 11/11] arm64: dts: qcom: ipq5210: Add random number generator node Varadarajan Narayanan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-210403@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=varadarajan.narayanan@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox