From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05A4A3CB918 for ; Tue, 26 May 2026 07:38:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779781095; cv=none; b=JV0iD0S901QjIBS6HOjG47tr1uEjlW+2y7Sa7t5E6XiUBu3NWfsmoGgMSnUotsTzLv4ia4SSLzVg+eP0pAhqTSA+iRHRPNsyphGxazp9tBZdxOsNaGTq7R6Tb2BylqpykghbB+L+sDL1pP8e6Jv32YW7F8Yi4DI78aha4S4FCfI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779781095; c=relaxed/simple; bh=hBg+nfSw2r2A6y/6VmD3zCK2r0ocJxNLv2H3B0R5g4E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=L/SEz82HiKAsCE/AlA8KCwSCbgjY3qtZ2VjeKr1zcuBP6zVGvof+Eolxk3UObAHdxU0jnZ8WT4MtcJMBBJogoJtrjhNvL/abiY0T0ZZ9x4axO98lML6I25pQUbHr/OUUF6FT0/PkTfpLDJM2eXdAXQESjTMGbcknuG8XeN6avD8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=b8ml76sZ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=WF64dob8; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="b8ml76sZ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="WF64dob8" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64Q2n6sG3658001 for ; Tue, 26 May 2026 07:38:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= pKu262Sj1Vla6Ii3OWVDDKTfHAYx8gM0SgzGiCDXG9M=; b=b8ml76sZcbkt8hQK sDgUYRnbog/qCZlehjI5BwlEqoFY7FBELrWAMJz0XJWnGi+1y7DWVkrWqtFYP5EM rP6zRGNUIofUrzIS6wkJgFX7CTCQHG+bH/1XGGe1JELq+N6twYiDfZaKGym0i914 y2g/o1z0LHi6aY3xw0bSYt30rNLcY00VNpsu/XyjT0hO/xqgtckti4GWPU6MM+G9 7W3hq9uyKk1NvfKCd4L7AtsBHvgsHViOgxVUvWdmqmySq7S+vGb0hpJJoJZMbs21 j/GKlUCPziPnXcQfkDiV9nBvDYVSqO702PPTuADi9XoWQH388lzGQuyvoLuGkpdb 9fnryw== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ecqynan30-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 26 May 2026 07:38:12 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-367fd7b8825so10245782a91.0 for ; Tue, 26 May 2026 00:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779781092; x=1780385892; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=pKu262Sj1Vla6Ii3OWVDDKTfHAYx8gM0SgzGiCDXG9M=; b=WF64dob8MVXSFoixJwqIyJdpDpkKI0r1gvWqZa6gZIxPikNKYbaZfJ7Krt3hJmzdl2 dlUEeaBtxk+iT2TVffGmfPHr+Kav3KuWoETEpPnDWP9tHlwo9ozgrV3dd5jRy6Qoar5c x+UnMBNZuZTX1IDgPhnLBKcR0g+zKQ+UA6tDHx7NU3ceW/Q7vgxq66CjxxOBuRvUov/1 xCuVmh+x9gGNxtDOX3ECNGdZUqvmfZRKdDvsOl2BxEbtsEhAkB9fThK2F0cgJK9xroRh HtQLiLuLDqjWgN/LDxeqsbL/E8anjTYQ36jOunAx66o0F2mnpCOb3O8tuD3MPu288+tD z8gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779781092; x=1780385892; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pKu262Sj1Vla6Ii3OWVDDKTfHAYx8gM0SgzGiCDXG9M=; b=juB2pcidUbR+NVAwQNyUJrSSpNYCq2a13GakVkPhQixRME8EKD01g1+CQOdv+TMTL/ 7OULgF1VKc09UGc6I9nFqfBmACAs4z95v2zs24k+YaDlsHocEkVKh6vw9NrL8cYfVAlF ZsQh9Cz7ceG9pA4BzLQd38d4/vSBz78mPd10sPqWSPTVACSxNBBLWUGIf467i3OkuuGt 4MtM01XrV+6fO3ulnjZDFpM3LaNi8XOogur3t2wWSi+7ZShpItNYCwOfWVatNbp67Nmc D4WjCL+C99lO0wM4Dwa9NuhklsY5rpjS3rLv9aumOtDGvPBYUaPXWjix+VoXMNh4p8vj igAQ== X-Forwarded-Encrypted: i=1; AFNElJ/MPNtvtuU7reoS2/MHygkKkCEr4gqhhtVbU5ZdPz5Kjc/kV73fOjb4FyRhePQebKcq1Zx81rS0qfNyKM4=@vger.kernel.org X-Gm-Message-State: AOJu0YyslaFvUsfYVXOJUAJ6DBUkiIjHDY6RsC7WIATem7Zo1rs/xDgC s9EivBlARrzKCKfQ8NcOXawUnvzrzDJIaTkI2Lpqv2HUwNbwdpweEoFFfBRV2DLatgVVsJoKXER ejP5fa5EOuXX5duUGb57DTO0KwitJxaTn2VM0wxKyerT9MP6euLi4ZZlD6YRCpokInt8= X-Gm-Gg: Acq92OG26A+CgwpLx4pON7sbVOi0ts8PJW+b6wWsCeAIXS9lRihKBAjClQQpU0UEUvR ec+Eiwx5OZwz61/zulH2q6kcQEDXHMG4wHcjwX3U5kKEmWsWn1KAAGJprdqDQgh8MGpIdfeXl/m 5mCDNcD2eCGDB6DlC6WmddLm6IhzfV7jB1crfXFos1nEWW4ByUx4iJYO84yHJHES3qsM9hGFJmo Urv+BVDI5wkBDT5EF/W6NSnvkC9CKE+KugJmOKVDU2hddEjJzTq+SUMtZ+Ee/7Ol5ZitDbmVGRn 8+lb/R9A0yEoi/59v2mz813AYRP8FREr326yRuOm2uFp8W1S49d8oLQ6n2cQw+PJUjJ4PIcX6qZ 1g0EwQj+XQz2AqgXYW/AwJDf5t7oNCxDt3svo9OfQMtwz1rwbBvJCtKFPdKs= X-Received: by 2002:a05:6a21:394c:b0:3b2:86c9:baa5 with SMTP id adf61e73a8af0-3b328f3adb3mr18196178637.38.1779781091828; Tue, 26 May 2026 00:38:11 -0700 (PDT) X-Received: by 2002:a05:6a21:394c:b0:3b2:86c9:baa5 with SMTP id adf61e73a8af0-3b328f3adb3mr18196142637.38.1779781091281; Tue, 26 May 2026 00:38:11 -0700 (PDT) Received: from [10.151.36.45] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c85202b3867sm9294952a12.11.2026.05.26.00.38.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 May 2026 00:38:10 -0700 (PDT) Message-ID: <8d9f78d2-d414-4ffb-bdf2-e2e7bda73aaf@oss.qualcomm.com> Date: Tue, 26 May 2026 13:08:05 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: soc: qcom: Document CDSP Power Management To: Konrad Dybcio , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260520-cdsp-power-v1-0-85eb9501a1cd@oss.qualcomm.com> <20260520-cdsp-power-v1-1-85eb9501a1cd@oss.qualcomm.com> Content-Language: en-US From: Vignesh Viswanathan In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=Wpwb99fv c=1 sm=1 tr=0 ts=6a154de4 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=CbSWp4jS9IVN9doBrZEA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-GUID: 52yMyZHjgc4pWzMIzn2ZxDyd6dITMRAa X-Proofpoint-ORIG-GUID: 52yMyZHjgc4pWzMIzn2ZxDyd6dITMRAa X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTI2MDA2NCBTYWx0ZWRfX1K29ZQCgAmeg evkLyh01hyXd9equ3/LMY4+xjd8ayskQbesBU/Lv9H1G4wPvktNG7IVBiXgAcDqng5YaGXeRZdm wMScVvvZGRDzw60e/4MbktupsUhcVojSBfoq088BYRK2ps9RpEyPCt/TC8Sx34M9GfzOHWb69wW e+d6yMtym/qaGKhwl153Ge2FyaKaMEqLPKJoPBLHKLnQmPdmKbOoL3tlK9ib8Jtm1MCmMmnLlbP qbbwhrT85I4G+TJMt+th3AWFiQ1Xdiq934uGRbjyv6iG+Uv4vpD+02QcelbVa5f7Sdea54EWSPK p4FSaK9naUQot1DCzvKHvTPqhQu6DC2Tvc5jJdtG51TlC4DdLj69P1gpedKfWlk6kNlJTSJNzyE TpcdpjaKPKh/wtuCCRU6NmXfh+wAzZ+CSgxik/AMaqVnkkbCRYNxgiFvGN+L8xAXEpriwQos4rV dAhuyAS4kX4eoow9JtA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-26_01,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 suspectscore=0 impostorscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 bulkscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605260064 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 >> --- > > [...] > >> +maintainers: >> + - Vignesh Viswanathan >> + >> +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 >> + #include >> + #include >> + >> + 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