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 86B424195A3 for ; Wed, 23 Sep 2026 19:21:48 +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=1790191313; cv=none; b=QemvqYky+HhHVyHpld/qhnESc47xRdWz3xLpKeUQjKntif7nosxzNaP40qf0Eb3/2hGBk8q4kwSGpYAn0/090FvCSXBra9nHuDc8eM4FF2Marnn2HJOSnP2u3BOJ3OpbST/FK6SRQq33sPkNF4ROdYCmer/ZJcPt9B4IowGRtOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790191313; c=relaxed/simple; bh=SxXdQ9x4xrXPna5Lh1tiLIazYVu3Dy/LlggDG/smh7c=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=jgxGW1zJnfewWpscz4cfJsLizZfB7j3t/OqEluw9wjC2bEsZzahvsaZxvlxt0tumSebs4oMkAgc0nySF2jQv66G8ZgW1aU++Q/h4KUbP0QV5LL7onhfwjfEd8QDcAxkbbsztC9/tlrRAUj+NHrGJUe6C+RJByb6C4JkGN7Y6bys= 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=QSu4XVVv; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=OpYedIiy; 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="QSu4XVVv"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="OpYedIiy" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68NGUAbl3106325 for ; Wed, 23 Sep 2026 19:21:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=x0wpg8eQ3E+q8HUKpU4pQ4 nMAtVqxGLo66qa1sOrIrU=; b=QSu4XVVv8pp2hbn/yjP2RMLOp0CUnOWtoS62yZ 7RJVjmubs3YeU5+Cb0UZCc9wKv5lNP+o3k0PMyI5CsCNlWDNTTy8WfUQNP4+8oKk 3CRPuUJxPEj1nZxzGLideiCiOAmb9/oWUrb1/AGyTKMLcq6ltO6h7Tg6AVxM3Fpa zNzbHpeDZo0nozMPLw5BP7q7yPGW/PE6qARrMXAS7otaBDLTK55KemGGnyKuH20x 0oX1yF9cBjz52p2h+qeDFgS4YNBZCit6A2JJHS5e1GqYsp2c5IBnIoTXE8F0WN/p QguaOjW9MnB4kcGHcR0pXD3y7y6jAN8/Ar08jKvLny5bDKzA== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gvfmwhjd3-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 23 Sep 2026 19:21:43 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-33310847fcaso2226521eec.1 for ; Wed, 23 Sep 2026 12:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1790191303; x=1790796103; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=x0wpg8eQ3E+q8HUKpU4pQ4nMAtVqxGLo66qa1sOrIrU=; b=OpYedIiy4DlRDvi6GTIt2A708yZ924eBQyukTfudIvfQaRHrUU15pUKPbn+T+2uhmx jwlgarbHdO52rwaj0fhSMn3JdXYz71s1Ec9+Ds/ZHkxATNn4L5K8ucoPdN7s0MN22EdL 1kFngNMu3HAgFOKFP7iOyfLKlAXYag0cI7yT3OnJv2BW0NkGaUeEaajotc+1XXiwinzK /24eqhWClF7RRPY1ra3pRaKeVAwekxGEpzPkAqEUanoRN0Rlb0xFu+W+3/4EyOTRgm0N 3W6U9hypGCcDqtaaOQRf/HqsIi3D9WambGNqooEpYlQLlY7Mum+33gdUWTjp/0/KZdbE QcDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790191303; x=1790796103; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=x0wpg8eQ3E+q8HUKpU4pQ4nMAtVqxGLo66qa1sOrIrU=; b=dASpNbWHCAi/+2bE8kuWiUtSVLmVqQLut5HgH/wPEOkJZptgB25NJvu8L0Wjmb3ny/ 5NKFeL+Sp/PeHNAvQRsE4K0ldaiexSh49IIWd4wrcb8i8EEHM0gjX9k9EOqVNLWZmw5I 67JCdcnb1tS2m5jekcHGvSQWSudBKqUyORMziubFaTYaOUVOzlrn94/rxwHO+YOBjp2d IbeN3Gl98Q7ylV84v11ZFpC277DlxPYaT5k/Wwfdz/o5T0F0jz3KpF6dCfzYBMp1pLei iNBR/XVCTcb+T8Tn3oSgajc6hAGWnA0AvYv7k826F25BNttwJb03T5GxxQEjgxu5lhST M0jQ== X-Forwarded-Encrypted: i=1; AKwUvBym/ER3suNdwWaEbV72lM/oqnL8wemXfr+sLlFWx174TZ13yo0mN6tL/2Bf/R7mS83WGr3cNcS+YqCvLuk=@vger.kernel.org X-Gm-Message-State: AFuF++m4Y6lJVz9ryZOPTjiWMFEhn3eVLnOzKXKDJIDgjUMDztkC4JlS VIu9O9Lw0A3QPz+rmRm1WaJpEgruDJw/0hd3kkR4JfTKuxtjZIPG76lRx1j+AVH1Zb9smXr8IyQ zQdjOz7GdY7mjzSDQpps4vaNzWHRDFW4fZ5v1hPhgfm8AauiKO9eoAheq/UoVBKewh30= X-Gm-Gg: AYBFou1UGl7U4DHPifWYIGF323zWWQcN/g+0U9SsyYn0N3hkRSUoJM7ALNafNCt3hVX BLhmyRlyK9wKmM9mBsfT8nE5GSAqkNqlHMTy/6719kH2cWCT8+uRbhhXfP8lS4FN0Jk5gtY6buv 0i9YGSTs3qVui8v+d9JAy1OjwMKkAEteDaDYnGkYsicMe24DPmMPyCA0wFbKN2LM+Et0NIZTnpS M6FN4kQ3/u0W3zzKj85t+oStc6B2+u/WCHH1Z0/1zA4obd3OM58NtgyGMZ6kc24TYabmV6ScTx3 sU034c02Hg6nm6CPesgSlOtfPmMqsvzAecaiSETlmuXFqZvxgYkUw8RxDWvNZqR82yPtPWHpjfQ Pvys4ocs4xGL8OYDQYyLH4sjAFXi6Pqw0iQ== X-Received: by 2002:a05:693c:83da:20b0:33b:e9a7:d819 with SMTP id 5a478bee46e88-33fff15ba3amr137899eec.14.1790191302733; Wed, 23 Sep 2026 12:21:42 -0700 (PDT) X-Received: by 2002:a05:693c:83da:20b0:33b:e9a7:d819 with SMTP id 5a478bee46e88-33fff15ba3amr137867eec.14.1790191302019; Wed, 23 Sep 2026 12:21:42 -0700 (PDT) Received: from hu-tdas-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33e9684d643sm17609309eec.18.2026.09.23.12.21.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2026 12:21:41 -0700 (PDT) From: Taniya Das Subject: [PATCH v2 0/3] clk: qcom: Add Nord DPRX clock controller support Date: Thu, 24 Sep 2026 00:51:30 +0530 Message-Id: <20260924-nords_dprx-v2-0-fa4364e087ef@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALomtGoC/03M3wrCIBTH8VcZ5zqHOsnqau8RI8w/TWi6PCWL4 btng6CbA58Dv+8KaJO3CKdmhWSzRx9DBd81oEcVbpZ4Uw2c8j090o6EmAxezJwWIqqNVFofBIM 6mJN1ftli56F69PiM6b21M/t+fxn5n8mMUGKE5Mp1jrIr6yNi+3ipu47T1NYDQynlA01Ofo+rA AAA X-Change-ID: 20260903-nords_dprx-4903d7acc841 To: Bjorn Andersson , Stephen Boyd , Brian Masney , Jerome Brunet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Abel Vesa Cc: Ajit Pandey , Imran Shaik , Jagadeesh Kona , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Taniya Das , Abel Vesa X-Mailer: b4 0.15-dev-aa3f6 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDA3NyBTYWx0ZWRfX0JmIpjI+Je9G hDetGIPXXG+sprn/NTq4NPgn+W7C5B7bMh9vWrvrAC/beZ+quTNop/oo6dpo/2O/LX1gR9KH36i TGiD1aZbre/VavYgw6ljlFxmVKFjKj9STRZ351UNw8bql29Hwr916zZSoiWlwmsUItBv3uJNhhA Kuqcz7gtIxspQqxby/xYplpng6hE3VE/qL6skpVe/WrwDf//Bz459qIX+LykGHYrq34VJO+Y+zG WJgjatB1pXfUgPUHOl8Te0INrpraFJ2snekH91j96PU9H2MK8q1FIJTBqtCf8CA9O6QXfjx93q8 jY89qY4BSd1RRZCbqP29Bu7AGPOo+K2JqE2VbcWZEkJzZ59Mw45mar5EjlTubtxmgnVy6ZO4Ne2 Bdct9trBf3GDjmULHN1TA0fBjQNCGYGXY4TgEPsG0uk5T/iic7fsK0JRP3WsmqiGC4II5ddrXZw HxehIb5Q7rqTuzxGWJA== X-Authority-Analysis: v=2.4 cv=WK/qzXsR c=1 sm=1 tr=0 ts=6ab426c7 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=dhWb7Yg5Oiobcms0P14A:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDA3NyBTYWx0ZWRfX8g5Aodl4tX58 HLveJCJxG0AZEzimya/fdJQRgl90K0j/t49mL0U90p0JHSxhzu/39nuATbvc0VvBjxOJ1VTL52a bPFqm6joQP8JhfnqkyEMXHcrCKRxbcI= X-Proofpoint-ORIG-GUID: M0FzkgTitJa4w0zc6Wn65H9nV2opuzfr X-Proofpoint-GUID: M0FzkgTitJa4w0zc6Wn65H9nV2opuzfr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-23_06,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 bulkscore=0 suspectscore=0 adultscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230077 Add support for the DisplayPort Receiver (DPRX) clock controllers found on Qualcomm Nord devices. There are two identical DPRX clock controller instances (DPRX0 and DPRX1), each providing clocks for the DPRX core, audio, AHB and video memory paths, along with their core PLLs. The DPRX PLLs are ZONDA_OLE instances whose PLL_ALPHA_VAL register has been widened to 28 bits to carry the fractional word at a finer resolution. The existing alpha-PLL core derives the ALPHA_VAL width solely from the register-map layout and can only express 16 or 40 bits, so the first patch adds an optional per-PLL alpha_width override that, when set, feeds the recalc_rate/round_rate scaling and the Zonda set_rate L-adjust MSB check. This is a prerequisite for the DPRX PLLs to lock to and report the correct rate. The series is organised as follows: - Patch 1 - alpha-PLL 28-bit ALPHA_VAL width. - Patch 2 - documents the Nord DPRX clock controller device tree bindings. - Patch 3 - adds the two DPRX clock controller drivers. Changes in v2: - Address review comments: remove unused definitions and includes, rewrap the alpha-width ternary, and clarify that DPRXCC provides clocks and resets. - Add RB-by tag [Abel] - Link to v1: https://lore.kernel.org/r/20260907-nords_dprx-v1-0-d472af3f01b1@oss.qualcomm.com Signed-off-by: Taniya Das --- Taniya Das (3): clk: qcom: clk-alpha-pll: support a 28-bit ALPHA_VAL width dt-bindings: clock: qcom: document the Nord DPRX Clock Controller clk: qcom: dprxcc: Add Nord DPRX clock controller support .../bindings/clock/qcom,nord-dprxcc.yaml | 68 ++++ drivers/clk/qcom/Kconfig | 11 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-alpha-pll.c | 8 +- drivers/clk/qcom/clk-alpha-pll.h | 3 + drivers/clk/qcom/dprxcc0-nord.c | 434 +++++++++++++++++++++ drivers/clk/qcom/dprxcc1-nord.c | 433 ++++++++++++++++++++ include/dt-bindings/clock/qcom,nord-dprxcc.h | 27 ++ 8 files changed, 981 insertions(+), 4 deletions(-) --- base-commit: a8c591ed6b672915e0be57843f943a2a723aff40 change-id: 20260903-nords_dprx-4903d7acc841 Best regards, -- Taniya Das