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 D463A27F19F for ; Tue, 28 Apr 2026 17:25:38 +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=1777397140; cv=none; b=tFmWVEQ1cog/LcMP5WokuJdzLqPWf+dJcFKR/0neTX8zH6MA9dYMO4oxglSaRKKu3exZT6cwriFK8PKXjIItDabccepOAziNqa6ikZWNXg9d3asV7YUagOhdHaKI4FGSPBjAMQNO+kWVHi3urh78ivlvwBaXkcKsO43kB/6/F/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777397140; c=relaxed/simple; bh=fGEvSKKrJp5vnG05fgLesw2rCs8hn7Cq83GP49OrIb4=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=QOxv7sOQLxOb6zCZ7ViOK+gzgvdG926VxBsiJGYxQ1k0X+NMOR6SRKZ8tCe35cHV60KeNZcu7e93HE045LUuyAm9LFewC7ptXgX4HPjWATTuVqBG4Aenucz4XftXKqXq1Eu7VNph4AJza99xeE5/eyCtcJYyF/OEapYZ2mcdDiU= 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=fdjC78W5; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=jrUzf2G4; 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="fdjC78W5"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="jrUzf2G4" 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 63SFsBiZ3634312 for ; Tue, 28 Apr 2026 17:25:37 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= ZmRlkAry5rxLITNug1gUNrl6wTOkbnqP0LFzwMZv0uY=; b=fdjC78W5GCImrW1h D8P5M4uUVcH5n9Cstz7WPpPaknVgkWui2/y63Un/KWzPQI4Zk7VVVymSVeZ6ZFEn F7GSZm5atGso46WxaPoKKNrQ77lyEbm12Y/15w+i71RHUzjNRYv+UR/f9qIefXxt ebYO/tHS/hidCSHH44/mBnUsId0aoXzWNQdBPZGotjXoXcc42aeYETkZU92KEc9t 7SIzvkRXkJWwxPBHb10dz2ttJ86aD8dfJPjAUzMRIj7VN9DNyfl/b9ddYscOiebU ID/BbBWNFcS+eio+gml9M8946N44h+ybr+Nvxruv/4wa/Emb2y9UiavjzJ+Zq3Z3 JYooGw== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dty87rk1n-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 28 Apr 2026 17:25:37 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2aad5fec175so166175275ad.2 for ; Tue, 28 Apr 2026 10:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777397137; x=1778001937; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=ZmRlkAry5rxLITNug1gUNrl6wTOkbnqP0LFzwMZv0uY=; b=jrUzf2G49rD0nK4nmtX+bES4rzw7AJhSxkoLpvEtRtkVHyD6+8EdLwTn1c682lF6Hv c0WFmeJGkYF2zzt7RgQgSv2B02gqkC4CCjJcktbmxwlJcIzcK+bluDxOgSmxrzhZD74E nN0L3YqgdXVwoqecu1z3CJ0aK+pdr2dG/Rk9xlO+fdCBe/S2GsxV6RvfnZw2J/QaKABp v2j9BC+5Ji9GoWonpemt1/Jstz2Ggjnoyh++o9UTWKPxQGrYICwWtJMPal5ydvOkwhYC P8TciEB/lHh0/vgsdH/4rfPc1cR1ohW8vZiWlgLmNYoQwuPk1oiBVLFFP6D+r79hhaJQ Yrww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777397137; x=1778001937; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZmRlkAry5rxLITNug1gUNrl6wTOkbnqP0LFzwMZv0uY=; b=kTVgPC1GLmGWJOI6ZYxVMZgZhkomontAzcXK5Z7uumob00fKXzrbSH0ZsnIoUAbVtQ aSqg3CsUF9iU7+S+L3KBgF+hkkcItM3U2gNvcQ93G74s4K4sGQMBppxUT9jgY9ce0Og7 I8slJTY3m6BYaweJoSGm10Ty2FB62HM9ku43w4nxUD709+typuONWnBwdHj1JqnRsNGl zY2Urp64ZaC7Vcw0EZ/LNuJA3ybJCi5ZowjRIS1l+coTu6IXuUwHX6CmkR2MdRPr/ZMt ZOLZM4zIinNO7gy4gpOGK9EmgkUVxToDD/ySEEjNVmY35Qft/VRqXlJRJ+65j+cAx7Da 9owQ== X-Forwarded-Encrypted: i=1; AFNElJ8JItEI66kCoiP+Ke8pBQxr5OkiPCzEnoYVmColj177cA9jvtt39Xc9DeWMod9uHqEN+IEZ3or3Yp8l@vger.kernel.org X-Gm-Message-State: AOJu0YyrpHqs5coYayaTlBRLA4F359sfuDl638+CCdT8+EvmtRuluud1 4Y8X/DX6nEcc27uKvM6mYFCJZ7vypWGctBg9VMcDKOLdTeBKKHJ9kVeMEWBt2jEP8oGEmEsy3ty Re9jaShQbiCksli4j0r9M89LbNqDaJ/a90un62Zg6m73EVZ7Ilk7mCe0BT/PgPeDl X-Gm-Gg: AeBDievyET91O5kRhi18GkJqsjc1fVIe6IQdicMF+x/JXvJPB0OYR1jfqW81nAufRt1 jyH18WqBBqGgJ7nw3L2rs1YP7Lqqs5vPaCba8EXFnqcbDvSjc1tbLOVmfHHtWQVXXlz1B+GrZ92 PS02KNta3bQxdIsrBntETiQsuKMEsyoI/OtvRRGyUri7dWFCF0/o+TXlVic9x4hYD/WVCisyanG Ju2DTbn45uY4hPeDXllBfNgOJjZWVvf6UqmCR7ppB+JSyBbTxkVbkbhNfOtwljDCsv15FGIZs/6 YlvnoTFDcrxtTb9TOTguHEYZ2B/8oFh/gPPQusa0AeUnFVkrDol721KHlWEdghhVMWDqQPJ3Sb3 3trlBClPNTPiAA+ooMqVFWnhCFALDLNQ6aGqNn4qYi6zWGCQdMKY5fMpX0L9KMbSP X-Received: by 2002:a17:903:3503:b0:2b5:f105:52b2 with SMTP id d9443c01a7336-2b98739675cmr3922755ad.9.1777397136762; Tue, 28 Apr 2026 10:25:36 -0700 (PDT) X-Received: by 2002:a17:903:3503:b0:2b5:f105:52b2 with SMTP id d9443c01a7336-2b98739675cmr3922325ad.9.1777397136215; Tue, 28 Apr 2026 10:25:36 -0700 (PDT) Received: from [192.168.1.4] ([122.177.243.58]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b97aca8b4esm32088765ad.73.2026.04.28.10.25.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Apr 2026 10:25:35 -0700 (PDT) Message-ID: <94a49f16-2e1f-4d32-9d4c-483d56fd2731@oss.qualcomm.com> Date: Tue, 28 Apr 2026 22:55:27 +0530 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Jagadeesh Kona Subject: Re: [PATCH 02/13] dt-bindings: clock: qcom,sm8550-dispcc: Add display CESTA support on SM8750 To: Krzysztof Kozlowski Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Neil Armstrong , Lee Jones , 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> <20260420-cesta-sm870-dispcc-v1-2-eb27d845df9c@oss.qualcomm.com> <20260422-savvy-wolverine-of-chivalry-9ae6fc@quoll> <3ea2c4a2-4a1b-4062-b332-9d5d0a53379b@kernel.org> Content-Language: en-US In-Reply-To: <3ea2c4a2-4a1b-4062-b332-9d5d0a53379b@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=abJRWxot c=1 sm=1 tr=0 ts=69f0ed91 cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=EwI1ikYXukqkrg4G3Narhw==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=HjAgAaymx-b2fZWta2cA:9 a=QEXdDO2ut3YA:10 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-GUID: oqIOqpOTi7VIu-QmHAc2YRccriT3Aakw X-Proofpoint-ORIG-GUID: oqIOqpOTi7VIu-QmHAc2YRccriT3Aakw X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDI4MDE2NyBTYWx0ZWRfX3gkGwRnRwtlK iwhoYNa3RoR6HFkCHCbbykIy9DIXJzzsqRMQcHjYcwUQRiQg/UETU58iZSYYbfmXGPVqQh3Uk6R i3cRLsO2mdpsIBTdd57Iq/rGopm9BYfd5isQP7FlchfWzKWAYDDmTNRTY1xTvQTe7+XvnKjjYJF G57TbCmBzi6VJnr4xpDiBrlHfMgnvUhZPvwGL56WNdDRaPCYmS34BsqeargyOBLP+sRCHuFh07j 8ms1tReUaw7zfe9MRyDo9QDnSIDQHAWupy+3Bx1IqxGyQXt62xWy27bZhbyJxHwHm/duxUHjFqy SDmgp5Qy5AKJ6p6LcWx2MZ5xCYtDNzkHUmzpM23RdiokAjiXKSWWHaNCur9u+8/6WFFbRIFz9Z0 DpXovsrFRlc2Ob26pxwpzyZRDjgFVfvvv3/qh/d9AR1km/N9uGWMu9XUOaDdGXGOiuV3OpQDat3 MLu0PM6Gd3kbMmWIWtg== 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-04-28_05,2026-04-28_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 spamscore=0 phishscore=0 bulkscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604280167 On 4/24/2026 2:39 PM, Krzysztof Kozlowski wrote: > On 22/04/2026 09:41, Krzysztof Kozlowski wrote: >> On Mon, Apr 20, 2026 at 09:58:55PM +0530, Jagadeesh Kona wrote: >>> On SM8750, a subset of DISPCC clocks is controlled by the display CESTA >>> (Client State Aggregator) hardware. These clocks can be scaled to the >>> desired frequency by sending votes to the display CRM(CESTA Resource >>> manager) instead of programming DISPCC registers directly. >> >> This looks like completely new, vendor clock API, so no. >> >> Resource voting or clock scaling is nothing new and you do not get a >> vendor phandle to do it. That's like basic upstreaming 101: we do not >> want another vendor re-implementation of common or typical solutions. > > I'll provide a bit more context, what I am looking for: > Are CESTA and CRMC truly separate blocks? Do they have their own > resources or maybe something is shared with clock controller, e.g. parts > of address space? > Thanks Krzysztof for your review CRMC is sub-block within the CESTA block. CRMC block contains the clocks frequency lookup tables information for CESTA controlled RCGs, which clock driver needs to read and populate the RCG's frequency tables. DISPCC block is outside of CESTA block, so CRMC block is mapped as syscon device and is used in DISPCC node only to read & populate the CESTA controlled RCGs frequency lookup tables. The actual clock scaling is done later by converting the frequency into a perf level & sending it to CESTA HW via CRM APIs. > If they manage clocks, they should receive some of the clocks as inputs, > because I don't imagine a block which gates clock somewhere else, to > which it has no access (IOW, that gate to manage clock is part of the > clock). Or maybe it's some shadow registers? Or display clock controller > does not have direct clock access in the first place? > Yes, there are few dispcc clocks required for accessing the display CRM/CRMC register blocks but those clocks are already kept ON from bootloader and they will stay ON as long as MMCX rail is voted. So if MMCX is ON, we can access CRM/CRMC blocks. Thanks, Jagadeesh