From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796274005; b=yPSKK0N4omUBzL0cJ2hbtXGKcGLNBSPVYtKK5cb8sSRKVK0UyAlE70Hv2t772NU+B11C 7LW0C00F9SEjmRfPY+h5+FVU9JzJo9Dsqqe/TDXDP0RcawJw48H5M6v+HJIcLlPAi1wf2 29LzWffLtGtzKnsik7iO9qvBUrktOeZ4Qk/MgceGo24JARmD2bFf8La4+EN45WhCGAAa3 KeOQqN2a34mG7NQHUZ2cCxaPPZTti+1iO0DvcilKTStpuRFLGfJAHpwIighzomZ25CWto /cHa+qqbTdSeTPSN8JbTGKTrYrSj5Gb5MFBgyvvQabJkxrxuFBu9UxCxMKwGfejLUHQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796274005; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-ORIG-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=vD8378luLoTjgMm1+AIhrtzv3em1wf6ekjsQzYgCHl0=; b=l6drSnG2ow8LhLvT5sto6XaZ0SoYmgasrwDkF7f142EZslNpmRR6AQvdDDaeoFIPBtIk jJmMoYieZvvmYv14OF9/2SCf/BunCy1ElzJK0xPxU9LAosCLKQ2frsyjkW48RFAKDuzgQ TTKuMiDBSRLTEr92BizrPNcVpHsSodv4lbCrPLL6eppuNNyP5MJNu4zOAARmI85ov/fYU dgXPCgdLxOqiIcXMPpL/DTHT07J62uwYgNQvMZkB1JqNMPj5OcFJCXqaW+hKTyDhbmvrZ FLBBDxp35F05Ao18C5yyGjV6rtoojQlbVJSWxGb0/+O0FUa4ohqERJn10TKn4CqzMnA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=kErHzekf; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="UFQqhzb/"; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F20AD606A336 for ; Thu, 3 Dec 2026 05:00:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F20AD606A336 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=kErHzekf; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=UFQqhzb/ Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B336IXD2342533 for ; Thu, 3 Dec 2026 05:00:04 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= vD8378luLoTjgMm1+AIhrtzv3em1wf6ekjsQzYgCHl0=; b=kErHzekfnRYkPElE NM/3IlTR2EwsvV4J7HJG9rTxcL/s2x/2iwhUcdMsO+0HVJf5z7nXj1RCxiL9cZRd fp2rzMBbIy+OIBBDS5Bd2aNe4UQxrZmFwF/DH1WhVF9Lka7vc5fk0v639qMQgIEc u/40qNEPpnBpiyliwQ2E2NppIZ/+a1SAktfDhRmGDVP027oGAqxBWzezHiCfTjrT kvWKBXAdXy9g/HDxCEswhtgaKreqsNIXbh/mDHsWWPzPURuSH7GCnimKlxroc60u UL9M1P8CEPwnYJtp/wvqRKtBfpWZsquxbl7tJALnO/gKuiY8fNumX0UKavGqzQbZ cS7YPw== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jak3y3t86-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 05:00:03 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2f0f5721453so59657685ad.0 for ; Wed, 02 Dec 2026 21:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796274002; x=1796878802; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=vD8378luLoTjgMm1+AIhrtzv3em1wf6ekjsQzYgCHl0=; b=UFQqhzb/EuFg0geVz10zqEExgdsFxCd8rH9PfxDKrBes/akwuE92osOFf6ZOiTN77G dvFuuL+A9MWx47tyMWp5Ts85O9aePld7iCFuYMK96tnDFeNAr+EFPchBZ5tCtCzUEebL 1QwZHEX346/5E8eudrF1LN81XYu6eP13o4F/wh5QGkC4//FMAHkW6r/aGFuwqCBT8lgU UQrmP1W7FrDcBz3nSS7h1+pPS6mt5TiKnmYhRgDmq0K4IHplCtxyPaZIE/7n60FRuxCH UeEVs8VT3w0VbJxRPFBvR9f4wpdq1r6hYo5lb2ybOAFHvBoocizG27B+z3WqEU0KnL0/ JNqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796274002; x=1796878802; h=content-transfer-encoding:content-type: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:content-type; bh=vD8378luLoTjgMm1+AIhrtzv3em1wf6ekjsQzYgCHl0=; b=XSjcAXWYz/zk4rbn6ig2LcXf2VaE7a9cDDXqDAUJ8JV25+Drc3QI66lh80Jv1ICTfS NFSLX3pKEXVU13bRmlESXZozOB7ju2x90FPnNPwqbnCoTUgr9mpjlTzkMl5lNxjTWrRx b5YDx5jCP2br7tWkgkBhlCfJj0mWK8w3ypszWDQGlKz683cX4vgdeQru+D/kDvK4GRyI uYxAllIW2V2UJDy8MnC35N1CfhwW9JGVJwhtO+fD6Mz1XnHHW7bX3lCooDP48ENvxq08 usDfxYcw4gnn/bWEl8ukx6Nd6qgx9DgXflR19ZlWP8XyrZjlAOh/OX1gFFpxLPjlzeW9 ExVA== X-Forwarded-Encrypted: i=1; AL+hErGIkGS53l44EBNdJUA/QNix8pZt62v0c2EyzJsNreryG6z9f7CnbHDSm3AlN9Pw1r2GcCIwcFTJzymLaKA=@vger.kernel.org X-Gm-Message-State: APuU4Z+58emKEj6tIRBhEhroe3mMuXWbrzo1CVECi35/MwWuo/eakKEl e805vHsh/Aj5JspB8EZfjnA1Ci2RRUidBDx/ZKsuYShLjucccLQRWXkMDyAQAa7nOyaP3z530P+ 8PYzZO3XwsF8TI88eO621UMN0smNpbjFvb8EG3DDnPvrz7uQUd+5I5nPrgRR1OlAbYrs= X-Gm-Gg: AZFdTZeHfwWsUR5RVxIiSElydTNxmKnpDBvydvSe5JWRupMWdS1FQXMBLIlK5KnSCys Td0EIlGYo/w7PSW3qJpTU2gxKO8gvT7QebdM5/ckMTnwvMmTLwBxyalm+5LedaZb+tpjpe8Qr8R xVoaGW0u77dBFcPhDBZB8nQCiSsfJLHZBYQv5jgG+r/gUpubkBw5jJ1MXbTmEhvwKF4prG3hPqH k4DG7IJciJde6H2v25t7iogb1gcDoIm0LSYbBRN0lv0PV0lO8bQ88JrPpVjYVqXI9nuVfl3oOfK 3yzIB0R6+N4AG2ufGRRxGY0jrk1MtTgcFn2EBpxDWSrjUMMMYgFKSKmDquLClY0jnuheYZgw8OK DqxGejnulAbV2ipce5707Dr+pc7lP2TcQE0M6LRRNugm/LwJ63qszJ+zvO7WU0DYN61BnisX0gD 6Xfsok X-Received: by 2002:a17:902:c942:b0:2f0:2547:a302 with SMTP id d9443c01a7336-2f03f1200eamr471324955ad.28.1796274002234; Wed, 02 Dec 2026 21:00:02 -0800 (PST) X-Received: by 2002:a17:902:c942:b0:2f0:2547:a302 with SMTP id d9443c01a7336-2f03f1200eamr471324755ad.28.1796274001759; Wed, 02 Dec 2026 21:00:01 -0800 (PST) Received: from [10.217.216.47] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f04a49cfffsm204182295ad.46.2026.12.02.20.59.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 21:00:01 -0800 (PST) Message-ID: <25b27896-de15-4214-8be9-d84368cd9991@oss.qualcomm.com> Date: Thu, 3 Dec 2026 10:29:55 +0530 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/13] Add support to control clocks using CESTA Resource manager To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Neil Armstrong , Lee Jones Cc: Ajit Pandey , Imran Shaik , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Maulik Shah , Taniya Das References: <20260420-cesta-sm870-dispcc-v1-0-eb27d845df9c@oss.qualcomm.com> Content-Language: en-US From: Jagadeesh Kona In-Reply-To: <20260420-cesta-sm870-dispcc-v1-0-eb27d845df9c@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: 8zlwin2Gx98bBaVoh-IBxtc_JRa2F3cq X-Authority-Analysis: v=2.4 cv=NPdAaE6g c=1 sm=1 tr=0 ts=6b10f753 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=YRf7fWBPp0RL-j9SrxAA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDAxOSBTYWx0ZWRfX5TVo8ZPpVo6/ 1b/OrTDob0A1/iOTmKy71YseBNQXsLtIFEYHwcTwGF+TFYRLy0oreaSlHkaS+O1TBitKAwD+KNb nH6cjRlbHJ3+fzASoXWEm1jfETQ06EPl73KPHP5i3wOut64FVfY0UNvZs1IuRj6mx/s7zNiPPB6 j//e6ZKavQ8yxGDbHc+GWHLwPZxljqe6G/jPMCbYIRA0keNgleMbnlqsZuh65LpePcmKp+HFgq4 nREBED4wZHqGTVgTJvsrAhjqMLMIeEGpC20J1ebLg6ouufJ3cRwVbOSlcjx6aAbARRhx9/QNjRv /4nkSZGZZKIBkjv1LqAf2GuIJef+vvWQg8t96si2PdqY3rgzepkN0Rwj/J6c1+kZgXraHrXhUtk kzy/xhURIAUDRZxOesaIDua1lTNr7GKo7e7jHUCiH5O3QDEkQQnbIYo4jidO/MERAsZgydC+rg6 QbCu09kY0J6OiXpS3xQ== X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDAxOSBTYWx0ZWRfX8bLTI1YggAAk 8sfn70raVFfx1Qwv7nkRA0H/eUYgMP5ENHC6oPbgvR7iS3Zqfv7y7/JJBkCRmoPDyP4qJt/VS3C EC3tJoerg/j7fPGQXQAc95o5iPamlxg= X-Proofpoint-GUID: 8zlwin2Gx98bBaVoh-IBxtc_JRa2F3cq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-03_01,2026-12-02_07,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 adultscore=0 clxscore=1015 malwarescore=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030019 On 4/20/2026 9:58 PM, Jagadeesh Kona wrote: > This series adds support for managing SM8750 DISPCC MDP clocks through > CESTA (Client-side State Aggregation). CESTA provides resource management > (e.g clocks) for local subsystem resources. > > Without CESTA, the clock driver directly programs the clock tree (PLLs, > RCGs, CBCs). With CESTA, the clock driver instead sends a performance > level request to the CESTA Resource Manager (CRM) driver. The CESTA > hardware then aggregates requests and scales clocks to the required > frequencies. > > Without CESTA (direct clock programming) > ---------------------------------------- > > +------------------+ > | Clock driver | > +------------------+ > | > | programs PLLs / RCGs / CBCs directly > v > +------------------+ +------------------+ +------------------+ > | PLLs | ---> | RCGs | ---> | CBCs | > +------------------+ +------------------+ +------------------+ > > With CESTA (clock driver invokes CRM API's) > ------------------------------------ > > +------------------+ > | Clock driver | > +------------------+ > | > | sends perf_level request > v > +------------------+ > | CRM driver | > +------------------+ > | > | sends received request to CESTA HW > | (CESTA HW programs PLLs / RCGs / CBCs) > v > +------------------+ +------------------+ +------------------+ > | PLLs | ---> | RCGs | ---> | CBCs | > +------------------+ +------------------+ +------------------+ > > This series includes: > 1) Base support for the CRM drivers > 2) Clock drivers support to communicate with CRM and control clocks via > CESTA > 3) SM8750 DISPCC changes to control the DISPCC MDP clock and display PLL0 > using CESTA > > Signed-off-by: Maulik Shah > Signed-off-by: Taniya Das > Signed-off-by: Jagadeesh Kona > --- > Jagadeesh Kona (9): > dt-bindings: clock: qcom,sm8550-dispcc: Add display CESTA support on SM8750 > dt-bindings: mfd: syscon: Add qcom,crmc-syscon compatible > clk: qcom: common: Add helpers to control clocks using CRM > clk: qcom: clk-alpha-pll: Add support for CRM based PLL ops > clk: qcom: clk-alpha-pll: Add support to skip PLL configuration > clk: qcom: clk-rcg2: Add support for CRM based RCG ops > clk: qcom: common: Add support to register and control clocks using CRM > clk: qcom: dispcc-sm8750: Add support to control MDP clocks using CESTA > arm64: dts: qcom: sm8750: Add disp_crmc node and CRM properties to dispcc > > Maulik Shah (4): > dt-bindings: soc: Introduce device bindings for CESTA Resource Manager > soc: qcom: Introduce CESTA resource manager driver > arm64: dts: qcom: sm8750: Add Display CRM device > arm64: defconfig: Enable Qualcomm CESTA Resource Manager > > .../bindings/clock/qcom,sm8550-dispcc.yaml | 48 + > Documentation/devicetree/bindings/mfd/syscon.yaml | 2 + > .../devicetree/bindings/soc/qcom/qcom,crm.yaml | 83 ++ > arch/arm64/boot/dts/qcom/sm8750.dtsi | 23 + > arch/arm64/configs/defconfig | 1 + > drivers/clk/qcom/clk-alpha-pll.c | 15 +- > drivers/clk/qcom/clk-alpha-pll.h | 3 + > drivers/clk/qcom/clk-rcg.h | 23 +- > drivers/clk/qcom/clk-rcg2.c | 242 +++++ > drivers/clk/qcom/common.c | 93 ++ > drivers/clk/qcom/common.h | 57 +- > drivers/clk/qcom/dispcc-sm8750.c | 89 +- > drivers/soc/qcom/Kconfig | 10 + > drivers/soc/qcom/Makefile | 2 + > drivers/soc/qcom/crm.c | 996 +++++++++++++++++++++ > drivers/soc/qcom/trace-crm.h | 111 +++ > include/soc/qcom/crm.h | 72 ++ > 17 files changed, 1834 insertions(+), 36 deletions(-) > --- > base-commit: c7275b05bc428c7373d97aa2da02d3a7fa6b9f66 > change-id: 20260419-cesta-sm870-dispcc-5e4fab72b53e > > Best regards, Thanks Krzysztof, Dmitry and Konrad for your reviews of this series. ACK to all the comments. We’ll address them in v2. Thanks, Jagadeesh