From: Anjana Hari <anjana.hari@oss.qualcomm.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Ulf Hansson <ulfh@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Adrian Hunter <adrian.hunter@intel.com>,
linux-arm-msm@vger.kernel.org, linux-mmc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Shazad Hussain <shazad.hussain@oss.qualcomm.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>,
Nitin Rawat <nitin.rawat@oss.qualcomm.com>,
Ram Gupta <ram.gupta@oss.qualcomm.com>
Subject: Re: [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document bindings for Nord SDCC
Date: Thu, 3 Dec 2026 16:05:51 +0530 [thread overview]
Message-ID: <05aae74e-ee93-40db-91b1-a46319d0351f@oss.qualcomm.com> (raw)
In-Reply-To: <90ad258b-00f3-45b2-bf7d-5865a9d66258@oss.qualcomm.com>
On 11/6/2026 4:06 PM, Anjana Hari wrote:
>
>
> On 11/4/2026 7:28 PM, Krzysztof Kozlowski wrote:
>> On Mon, Nov 02, 2026 at 07:33:41PM +0530, Anjana Hari wrote:
>>> Add Device Tree binding for the Nord SDHCI variant of the Qualcomm
>>> sdhci-msm controller, where platform resources are managed by firmware
>>> through the SCMI power protocol rather than being directly accessible
>>> to Linux.
>>
>> A nit, subject: drop second/last, redundant "bindings". The
>> "dt-bindings" prefix is already stating that these are bindings.
>> See also:
>> https://elixir.bootlin.com/linux/v7.1-rc7/source/Documentation/
>> devicetree/bindings/submitting-patches.rst#L23
>>
> Acked, will address in the upcoming v2 patch.>>
>>> Unlike existing sdhci-msm variants, this binding does not require
>>> clock, interconnect, reset, or regulator properties. Instead, platform
>>> resource control is abstracted behind two logical power domains:
>>>
>>> - "power": controls the SDCC rail power state. The kernel requests
>>> power-on and power-off transitions via the runtime PM framework;
>>> these are forwarded to firmware as SCMI power-state messages.
>>>
>>> - "perf": exposes the supported clock frequencies as OPPs populated
>>> dynamically by the SCMI perf domain driver at probe time via the
>>> SCMI performance protocol. The driver selects operating points via
>>> dev_pm_opp_find_freq_floor() and dev_pm_opp_set_opp().
>>>
>>> Both domains must be listed under power-domains with their names
>>> declared in power-domain-names.
>>>
>>> The compatible string "qcom,nord-sdhci" selects this variant at probe
>>> time and causes the driver to attach the two power domains via
>>> dev_pm_domain_attach_list() with PD_FLAG_DEV_LINK_ON, ensuring correct
>>> suspend/resume ordering between the SDCC controller and the firmware
>>> power domain devices.
>>
>> Do not describe driver. How is it exactly relevant here for the hardware
>> description?
>>
> Agreed, will be addressed.>>
>>> Signed-off-by: Anjana Hari <anjana.hari@oss.qualcomm.com>
>>> ---
>>> .../devicetree/bindings/mmc/qcom,nord-sdhci.yaml | 89 +++++++++++
>>> +++++++++++
>>> 1 file changed, 89 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/mmc/qcom,nord-
>>> sdhci.yaml b/Documentation/devicetree/bindings/mmc/qcom,nord-sdhci.yaml
>>> new file mode 100644
>>> index 000000000000..c512628617b0
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/mmc/qcom,nord-sdhci.yaml
>>> @@ -0,0 +1,89 @@
>>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/mmc/qcom,nord-sdhci.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: Qualcomm Nord SDHCI Controller
>>> +
>>> +maintainers:
>>> + - Anjana Hari <anjana.hari@oss.qualcomm.com>
>>> +
>>> +description:
>>> + SDHCI (SD Host Controller Interface) present on Qualcomm Nord SoC.
>>> + Clock and power resources are managed by firmware through an SCMI
>>> + server, so no clock entries are required in the device tree node.
>>> +
>>> +properties:
>>> + compatible:
>>> + const: qcom,nord-sdhci
>>> +
>>> + reg:
>>> + maxItems: 1
>>> +
>>> + reg-names:
>>> + items:
>>> + - const: hc
>>
>> Where is CQHCI?
>>
SDC4 node on Nord supports only SDIO/ SD card connectivity, hence CQHCI
is not present.
>>> +
>>> + interrupts:
>>> + maxItems: 2
>>> +
>>> + interrupt-names:
>>> + items:
>>> + - const: hc_irq
>>> + - const: pwr_irq
>>> +
>>> + iommus:
>>> + maxItems: 1
>>> + description: phandle to the apps SMMU node with SID mask.
>>
>> Drop description
>>
>>> +
>>> + dma-coherent: true
>>> +
>>> + power-domains:
>>> + maxItems: 2
>>> +
>>> + power-domain-names:
>>> + items:
>>> + - const: power
>>> + - const: perf
>>
>> Best regards,
>> Krzysztof
>
next prev parent reply other threads:[~2026-12-03 10:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 14:03 [PATCH 0/2] mmc: sdhci-msm: Add firmware-managed resource support " Anjana Hari
2026-11-02 14:03 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: Document bindings " Anjana Hari
2026-11-04 13:58 ` Krzysztof Kozlowski
2026-11-06 10:36 ` Anjana Hari
2026-12-03 10:35 ` Anjana Hari [this message]
2026-11-02 14:03 ` [PATCH 2/2] mmc: sdhci-msm: Add support for firmware-managed resource platforms Anjana Hari
2026-11-04 12:02 ` Adrian Hunter
2026-11-06 10:38 ` Anjana Hari
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=05aae74e-ee93-40db-91b1-a46319d0351f@oss.qualcomm.com \
--to=anjana.hari@oss.qualcomm.com \
--cc=adrian.hunter@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=manivannan.sadhasivam@oss.qualcomm.com \
--cc=nitin.rawat@oss.qualcomm.com \
--cc=ram.gupta@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=shazad.hussain@oss.qualcomm.com \
--cc=ulfh@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
all inboxes | Powered by JetHome®