From: Vignesh Viswanathan <vignesh.viswanathan@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: soc: qcom: Document CDSP Power Management
Date: Tue, 26 May 2026 13:08:05 +0530 [thread overview]
Message-ID: <8d9f78d2-d414-4ffb-bdf2-e2e7bda73aaf@oss.qualcomm.com> (raw)
In-Reply-To: <da2443f4-b80e-4ba5-8f83-4a4e893dd51b@oss.qualcomm.com>
On 5/20/2026 3:29 PM, Konrad Dybcio wrote:
> On 5/19/26 9:05 PM, Vignesh Viswanathan wrote:
>> Add documentation for the CDSP Power Management driver, which handles
>> Dynamic Clock and Voltage Scaling (DCVS) requests via SMEM, manages Low
>> Power Mode (LPM) transitions via MPM handshake, and provides virtual
>> regulators for the remoteproc driver to control CDSP power rails.
>>
>> Signed-off-by: Vignesh Viswanathan <vignesh.viswanathan@oss.qualcomm.com>
>> ---
>
> [...]
>
>> +maintainers:
>> + - Vignesh Viswanathan <vignesh.viswanathan@oss.qualcomm.com>
>> +
>> +description:
>> + The CDSP Power Management driver provides power management services for the
>> + Qualcomm Compute DSP (CDSP) subsystem. It handles Dynamic Clock and Voltage
>> + Scaling (DCVS) requests via SMEM, manages Low Power Mode (LPM) transitions
>> + via MPM handshake, and provides virtual regulators that are consumed by the
>> + CDSP remoteproc driver.
>> +
>> +properties:
>> + compatible:
>> + const: qcom,cdsp-power
>
> This really needs to be SoC-specific
Ack, will make it specific to ipq9650.
>
>> +
>> + reg:
>> + items:
>> + - description: MPM (Modem Power Manager) register region
>> + - description: RSCC (RSC Configuration) register region
>
> I was under the impression that these two belong to separate
> universes..
MPM registers are used to control the power mode for the CDSP.
RSCC region has RSCC_BR_EVENT register from where the APSS reads
which mode the CDSP wants to enter and executes the corresponding sequence
in the MPM.
>
>> + vdd-cx-supply:
>> + description:
>> + Phandle to the CX voltage regulator. This is the actual hardware regulator
>> + (e.g., from MP8899 PMIC) that supplies power to the CDSP CX rail.
>
> I believe the second sentence is wholly redundant
Will drop this.
>
> [...]
>
>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>> + #include <dt-bindings/interrupt-controller/irq.h>
>> + #include <dt-bindings/mailbox/qcom-ipcc.h>
>> +
>> + soc {
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> +
>> + cdsp_power: cdsp-power@4ae000 {
>> + compatible = "qcom,cdsp-power";
>> + reg = <0x0 0x004ae000 0x0 0x1000>,
>
> MPM is a top-level peripheral, but this is a slice dedicated to the
> CDSP so maybe it'd pass, but..
>
>> + <0x0 0x26018018 0x0 0x4>;
>
> This is a single random register within the CDSP's register space, so
> we should definitely be able to describe this better..
Will document this more clearly in the next version.
Thanks,
Vignesh
>
> Konrad
next prev parent reply other threads:[~2026-05-26 7:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 19:05 [PATCH 0/2] Add CDSP Power Manangement Driver Vignesh Viswanathan
2026-05-19 19:05 ` [PATCH 1/2] dt-bindings: soc: qcom: Document CDSP Power Management Vignesh Viswanathan
2026-05-19 19:17 ` sashiko-bot
2026-05-20 9:59 ` Konrad Dybcio
2026-05-26 7:38 ` Vignesh Viswanathan [this message]
2026-06-16 12:27 ` Konrad Dybcio
2026-05-20 10:43 ` Krzysztof Kozlowski
2026-05-20 10:46 ` Krzysztof Kozlowski
2026-05-26 7:46 ` Vignesh Viswanathan
2026-05-21 23:29 ` Bjorn Andersson
2026-05-26 7:57 ` Vignesh Viswanathan
2026-06-17 4:39 ` Krzysztof Kozlowski
2026-05-19 19:05 ` [PATCH 2/2] soc: qcom: Add CDSP power management driver Vignesh Viswanathan
2026-05-19 19:43 ` sashiko-bot
2026-05-20 10:50 ` Krzysztof Kozlowski
2026-05-26 7:49 ` Vignesh Viswanathan
2026-05-22 2:49 ` Bjorn Andersson
2026-05-26 8:00 ` Vignesh Viswanathan
2026-05-20 10:44 ` [PATCH 0/2] Add CDSP Power Manangement Driver Krzysztof Kozlowski
2026-05-26 7:49 ` Vignesh Viswanathan
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=8d9f78d2-d414-4ffb-bdf2-e2e7bda73aaf@oss.qualcomm.com \
--to=vignesh.viswanathan@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.