From: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>
To: sashiko-reviews@lists.linux.dev
Cc: conor+dt@kernel.org, vkoul@kernel.org, robh@kernel.org,
Frank.Li@kernel.org, devicetree@vger.kernel.org,
dmaengine@vger.kernel.org
Subject: Re: [PATCH v4 6/6] arm64: dts: qcom: shikra: Add ICE, TRNG and QCE nodes
Date: Wed, 15 Jul 2026 11:25:35 +0530 [thread overview]
Message-ID: <e34de9f0-f828-4b96-a115-27d262969a25@oss.qualcomm.com> (raw)
In-Reply-To: <20260714102240.B586C1F00A3A@smtp.kernel.org>
>> + sdhc_ice: crypto@4748000 {
>> + compatible = "qcom,shikra-inline-crypto-engine",
>> + "qcom,inline-crypto-engine";
>> + reg = <0x0 0x04748000 0x0 0x18000>;
>> + clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>,
>> + <&gcc GCC_SDCC1_AHB_CLK>;
>> + clock-names = "core",
>> + "iface";
>> + power-domains = <&rpmpd RPMHPD_CX>;
>
> [Severity: Low]
> Does this code use an RPMh power domain macro (RPMHPD_CX) for an RPM SMD
> power controller instead of RPMPD_VDDCX?
>
> The sdhc_ice node references the rpmpd (RPM SMD) provider but incorrectly
> assigns it the RPMHPD_CX macro. Because dt-bindings/power/qcom-rpmpd.h
> explicitly includes dt-bindings/power/qcom,rpmhpd.h, the macro is defined
> and evaluates to 0, which happens to match RPMPD_VDDCX.
>
> While this avoids build errors and runtime impact, should this use the
> correct RPMPD_VDDCX macro to prevent a semantic mismatch?
This is valid, though both macros resolve to 0 value but best to match
with RPMPD_VDDCX which also matches sdhc power-domains property too.
--
Regards
Kuldeep
next prev parent reply other threads:[~2026-07-15 5:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-14 10:05 [PATCH v4 0/6] Shikra: Add DT support for ICE, RNG and QCE Kuldeep Singh
2026-07-14 10:05 ` [PATCH v4 1/6] dt-bindings: crypto: qcom,inline-crypto-engine: Fix legacy/new SoC strictness split Kuldeep Singh
2026-07-15 9:20 ` Krzysztof Kozlowski
2026-07-15 12:14 ` Bartosz Golaszewski
2026-07-14 10:05 ` [PATCH v4 2/6] dt-bindings: crypto: qcom,inline-crypto-engine: Document Shikra ICE Kuldeep Singh
2026-07-14 10:05 ` [PATCH v4 3/6] dt-bindings: crypto: qcom,prng: Document Shikra TRNG Kuldeep Singh
2026-07-14 10:05 ` [PATCH v4 4/6] dt-bindings: crypto: qcom-qce: Document the Shikra crypto engine Kuldeep Singh
2026-07-14 10:05 ` [PATCH v4 5/6] dt-bindings: dma: qcom,bam-dma: Increase iommus maxItems to 7 Kuldeep Singh
2026-07-15 12:13 ` Bartosz Golaszewski
2026-07-14 10:05 ` [PATCH v4 6/6] arm64: dts: qcom: shikra: Add ICE, TRNG and QCE nodes Kuldeep Singh
2026-07-14 10:22 ` sashiko-bot
2026-07-15 5:55 ` Kuldeep Singh [this message]
2026-07-29 14:16 ` Konrad Dybcio
2026-07-14 12:36 ` (subset) [PATCH v4 0/6] Shikra: Add DT support for ICE, RNG and QCE Vinod Koul
2026-07-27 0:33 ` Herbert Xu
2026-08-31 20:21 ` (subset) " Bjorn Andersson
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=e34de9f0-f828-4b96-a115-27d262969a25@oss.qualcomm.com \
--to=kuldeep.singh@oss.qualcomm.com \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
/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