From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 B7A6D430CC7; Wed, 8 Jul 2026 11:49:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783511397; cv=none; b=bWBajN6VkNr69j0ofWbqDzKEFdoBV6pQ4bQImX5ZTwz2t7angmqfeCtaKc42bEFpc/na0C7sIUYrGVQxJC5utYERO/1smUhCCTihGBEtOaGNH8ckriY11FNoVSTa0EEkhj8CVTLu5TheIUpSi0coSK1VJfAmxck4EehIGCOHKLY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783511397; c=relaxed/simple; bh=wWCRXggrWDmsE9IrP7JqCRf7lnxFLWS+E1KEYhyF2sI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pC9se/wDv+ywQwFthPYm6Raa5DDZe+80gFrRurqJefZxazT+SCMxkKv61trhe2tSlWgYaYql/imAcejeDQ5H8oRF8/Tx6quY2UWRmpuWGABLth3YRtxOs7rUU9PC1BbHzMQuIMAtN7+jNCnAkmL/7dTtzJ4SMC80BUab+MJFnPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=aI1hxgBA; arc=none smtp.client-ip=205.220.168.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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="aI1hxgBA" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 668BSoYb2675542; Wed, 8 Jul 2026 11:49:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=/eNY1lIHK8r 6SkSI0Z+/2I2QhlwGeS+jfnPk+LwhKY0=; b=aI1hxgBAOVCw+w06G3K1CHd1Xwi uW0eAB9JmUbybOyGtlpMKyBBaw3tjldHIf+qZ7eSEOHKBo7nesPSoM0P090Nj/WF m0Wc4tkUpT3SetBRd0c9+3iM6yX05dH7bR1UOv/fOQGPLulqiQHhS/C9ZzIyt2y4 2RX5T006cQ2i3iyky8efQ1icowvIgXPfnuzdaUwZSp332wV6N2hdrK13tdkv9hSs DZvJz9rH/D4itYi4XCLGPXFsZty3jxqhXNHPH2MkXrtfDpN9xTW9/kF+J80JD40y sgwG/V/q774PROuHBOxmu+o46DWDKwxPYE64QRtivWodNivAMlHTURyFUPg== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f9g7hhfs1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jul 2026 11:49:31 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.7/8.18.1.7) with ESMTP id 668BnRG1026287; Wed, 8 Jul 2026 11:49:27 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 4f6u8k3yj7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jul 2026 11:49:27 +0000 (GMT) Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.18.1.12/8.18.1.12) with ESMTP id 668BnRDE026259; Wed, 8 Jul 2026 11:49:27 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-pkumpatl-hyd.qualcomm.com [10.147.245.204]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 668BnRPx026252 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jul 2026 11:49:27 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3914174) id 423723D8; Wed, 8 Jul 2026 17:19:26 +0530 (+0530) From: Prasad Kumpatla To: Bjorn Andersson , Bartosz Golaszewski , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Srinivas Kandagatla , Jaroslav Kysela , Takashi Iwai , Prasad Kumpatla Cc: Krzysztof Kozlowski , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org Subject: [PATCH v1 1/4] ASoC: dt-bindings: qcom: add LPASS LPR vote clock ID Date: Wed, 8 Jul 2026 17:19:21 +0530 Message-Id: <20260708114924.1069239-2-prasad.kumpatla@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260708114924.1069239-1-prasad.kumpatla@oss.qualcomm.com> References: <20260708114924.1069239-1-prasad.kumpatla@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzA4MDExNSBTYWx0ZWRfX8XVNwwTVUqwm 1IGrd9nQZZMc4Vw79bJDVWlnf3Ff9nVqreUU2Obi29BqfxTQlDjmj8/FIlul9CdN/XSfZYFOZep xlialxyPMqhN9DQhynzLVGPd8gQRuiSq15OvnA35z2StNBtBNtrleGfa4UKi8n5W03HTLhqbFXF /6E70t2MuBFxIatXRFvD6X4nCvLXzLNGPNmlfhnfqXwvQ+JKfvn39juIzt8ghOKQPQGnThgP3TX sFJnCy/mHv+wRWL5btlUVbmCmbYxpdwL9otctIt2SbCqt9z7Ziwt98aRFTS3uOd447ijJLttZWJ odF30U00m6k7aJ30R2gn0+TDGBwD7+1fUziB4XNaETTs1fj11AroYdM/kVdIJh567IiucanUc+J VqpVy4DVsODlzJnylZ3DZLhO5oKsBOGmvmKUMyNAxROX1wwfM1Xwg0kkoINcq0Nm8T67HMN5tz0 ATuzDXo5V8WxafOGcbQ== X-Proofpoint-GUID: p6Fp0iCX8TBFhAu2_m0nVhKaQKsrPwwd X-Authority-Analysis: v=2.4 cv=TMp1jVla c=1 sm=1 tr=0 ts=6a4e394b cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=RAioF0-LDSMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=LqfxHgX1jWeFuUILl3YA:9 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzA4MDExNSBTYWx0ZWRfX9sor8ggwrMjE MFeMVA0narA/tD2kuuTbita+83P6Iw8TAIqLjTp4EAcwN32SIKiY9DDDzIIRHe2tMU7CmpQXRQ9 6cvcDs2b+maje4IanzbnxbtEIz7XXkc= X-Proofpoint-ORIG-GUID: p6Fp0iCX8TBFhAu2_m0nVhKaQKsrPwwd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-08_01,2026-07-08_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 suspectscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 phishscore=0 spamscore=0 clxscore=1011 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607080115 Add a new clock ID, LPASS_HW_LPR_VOTE, to represent the LPASS low-power resource (LPR) vote through the PRM interface. The LPASS PRM supports a resource voting mechanism to control low-power states via PARAM_ID_RSC_CPU_LPR. Exposing this as a q6prm clock ID allows clients to request the LPR vote using the existing qcom,q6prm clock provider interface. This functionality is required on newer platforms (e.g. Hawi) where LPASS clients need to explicitly manage LPR resource voting via PRM. Also update Q6AFE_MAX_CLK_ID to account for the newly added clock ID. Signed-off-by: Prasad Kumpatla --- include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h b/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h index 45850f2d4..06ca2c287 100644 --- a/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h +++ b/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h @@ -236,8 +236,9 @@ #define LPASS_HW_AVTIMER_VOTE 101 #define LPASS_HW_MACRO_VOTE 102 #define LPASS_HW_DCODEC_VOTE 103 +#define LPASS_HW_LPR_VOTE 104 -#define Q6AFE_MAX_CLK_ID 104 +#define Q6AFE_MAX_CLK_ID 105 #define LPASS_CLK_ATTRIBUTE_INVALID 0x0 #define LPASS_CLK_ATTRIBUTE_COUPLE_NO 0x1 -- 2.34.1