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 204A222AE7A for ; Mon, 28 Jul 2025 09:25:05 +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=1753694707; cv=none; b=dY/ybF2MIKT+vJlojyyQ9bEQq7454S8AyWC91ywDBTnByZ3N9K4uDtAo4iMORCsu3m0/GKipg6Ycrn/RIGbold2FZ16uG0aD/n7Zv/8fDVvXSGv+25OVYOa4saeqnYTS6AokJyHV0KNyy3i3qTykpRItPecT2p6FW8BIQWNVt5o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753694707; c=relaxed/simple; bh=PvPKcE3eALATxUJe1yT+rLheC5LBnXtwdUiRFngfSqk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=C3mL6SEC8K+S2l9F/IA7pNxOQOBvvR6/R9sEWD9BBIFa6xA+rid4Zi0q74W4vjfxpyGb533GFOmIQNcKJxFBJDkj9TwG1olrJBSw3MoCp9oCmDE6mggeLnhC6OBjwlJxpn2QLNk57d3/0YGmG5KmlPC3dzpCE6vO7geaU5/DmCs= 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=pBbJn40v; 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="pBbJn40v" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56S4rPuq023356 for ; Mon, 28 Jul 2025 09:25:05 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= xO1DkZAA9DCroi1+CycGEgMcsvDK1LPRrUiGmAaML1o=; b=pBbJn40v9A1yBZb+ L95XkkmCpRgxUZx1VEtq7L2Sx/PamdGr4//heZn9OqRMMFTkPAGQCLMvulXn+uNP QzFHiRCknpCBjIHU9rrn4QpCywqzVr9oJPgRZ/kdd3+zvW5he3zEQz/+KDhAoQ2w QTuMKv8KFPSKWbvfPQ72L3tXcYsncM39Ft4pWlOz/fi7vfFk6YH9PO+nASgt9Rpl itjUvh5ol0Zzhat49B2hetJXw1iUxFN4HUsMvUXj4/ndSlsJVYEciOhvO1R8/mCM sMGTb6v1iUsuTAWd6HC0nX0vGq0HPt7HEMa/84xlI6nFZ0FZlBbhM856c3VQMzfj VBMcvg== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 484mcr46t3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 28 Jul 2025 09:25:04 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-4ab3ab7f74bso13115891cf.2 for ; Mon, 28 Jul 2025 02:25:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753694704; x=1754299504; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xO1DkZAA9DCroi1+CycGEgMcsvDK1LPRrUiGmAaML1o=; b=Sx1v/HMBB8lJNdg+rCqbmFlVe1OMPs6H+mTAwTgReRPoq/ooVPgXrBOXJvipHggmQN hKfImGNLZKBZ/KePixlg9Z0umH9PvCSthxX9t7qUI66V5DTe27bbsW+W7uHx4gbw7WdO PiJsrvmcmrQNeCb7esy0GQtQtyUXItchFEMQa0oshT+4e0CS1IaellkurKz1mhfeGNU1 Z07hDDpDHaWqMjTFMiTWw+T2l3Fv9u2RbOa0weaKfeawy42K/jV7NqXGaxdDuj9mhqI/ GAZEJKY9mCJ5pomxrrBJUI+AeVPYWfA4ytzysR5oyfQfCR7I22yFqhxS6scWwCJoRkRh pfcA== X-Forwarded-Encrypted: i=1; AJvYcCXs3fpz30BGXt3Adi8LT8d5xLjJh4YpeMyo+DV2hwDB4tu7MXm3SwfUwl/EgNEv09+T3SBTpQaP5sw=@vger.kernel.org X-Gm-Message-State: AOJu0YwRGlzMcyiaBWQ6ey2n9zUQwSnaol9S8lbaWpjc1WOkscOpJVz+ JuhkC2HQDsHSoTFR7yaRA81xh5elfI4hDb1bRiQJC4sQ2xL2HCuhX6GUMqHtRad/HvQ7WLJQPCA +XRjkblkRaBcNTrKudtIUtGFcju9WiQtS4x8KIZD2H3g1dhBBp+/5U4A37sbYG+LIHiqoYuE= X-Gm-Gg: ASbGncsw7I1sGGoxbkDVBn6RpuqTgbp2wQwr0Y9GT6AjhoXH7l7jJvo4RjoqKu5x/BX 10shNoAAm5f62/79Lj26Q5UzC7BytqWWpS1meTctkiwhcogDhOrssZGu64UhrXVjgoaI9VUPgZe VOZYXfTCQVlXNWTPmUzDEVtKRpV/hY05tx5hAqbw/6t0gwpylHDqAkBE28pLlecaUVNXx25M/4I tfX/CrU1mwM5poDbGVeDf6odjzFeqkkPga88fuphZkt16VUJ4YRaWfVNm81bZUg875TP/pn3cYG QWT/lllIuRk51mBV/l4ze21w/nufrOBTxd6elvJGYDyJxzLI0tFMUNlCdMx29Phnjp9Gl35grbX dSdm+EeJ6PeDOgzRWDg== X-Received: by 2002:a05:622a:1b92:b0:4a9:a2d2:5cd5 with SMTP id d75a77b69052e-4ae8ef7e796mr58446261cf.6.1753694704002; Mon, 28 Jul 2025 02:25:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHxAT4whBsHT+qBFJmzRTiibTXpVW5iNbuG0sn1pmyCWfzieUITf0fIw8UP0wtE2IZXWRpuTA== X-Received: by 2002:a05:622a:1b92:b0:4a9:a2d2:5cd5 with SMTP id d75a77b69052e-4ae8ef7e796mr58446161cf.6.1753694703376; Mon, 28 Jul 2025 02:25:03 -0700 (PDT) Received: from [192.168.43.16] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61500ae2f31sm3003928a12.51.2025.07.28.02.25.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jul 2025 02:25:02 -0700 (PDT) Message-ID: <6e8bcafc-da00-424a-81a3-439e7ed6e080@oss.qualcomm.com> Date: Mon, 28 Jul 2025 11:24:59 +0200 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] dt-bindings: clock: qcom: Add SM8750 GPU clocks To: Krzysztof Kozlowski , Konrad Dybcio Cc: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250723-topic-8750_gpucc-v2-0-56c93b84c390@oss.qualcomm.com> <20250723-topic-8750_gpucc-v2-1-56c93b84c390@oss.qualcomm.com> <20250724-blazing-therapeutic-python-1e96ca@kuoka> <7d444f4c-fa1f-4436-b93a-f2d2b6d49de2@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzI4MDA2NyBTYWx0ZWRfX/geJHNTu0XZc t5c7fxMI1YOZEpgHnMVyuhdDqQuCJ4BbtwXf23veaY5z55KhFKKzItzdPKq44EAMCpIW0w73iPL fORrYA3Vrj2lD7R+WXVpBLq9zD08rHTXy3mQP4phYzK2VqViOeAe6XSoL4rUwn6BHy4TyeGMDh/ GatduARx75L2neDke9+D/q8QSlxXlbuqriGJUQpZyUgj3S5A9JaA2+GWhQuSEg6uZL2Va0EWyeA 9tPnO1z/STf2C/NrUtH87fSGMxyoc8yoPHzXtFeDqh6VvWwNk9tJr5RhHuOMCOihFciLI4ICIGj CCu5RZA3Byx3Le0zzMQSP5ktLfWld8qMzEsybo8NOHE7QWQg4TJTZM0y/VKJLiJdJuGYjX/MAYV qok5HX62f+xiUuT7pTMYbE1ZOQg+Z+SClQrhmhadmKuyec+UiHef6WpdTagmcTAjyV3zJ/2Q X-Authority-Analysis: v=2.4 cv=Hth2G1TS c=1 sm=1 tr=0 ts=688741f0 cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=Wb1JkmetP80A:10 a=EUspDBNiAAAA:8 a=Rh5PIcw8VRhVldmlYEYA:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU:22 X-Proofpoint-GUID: YY7Syxir5rzk24r_EK5VwdKMNBXg6tTs X-Proofpoint-ORIG-GUID: YY7Syxir5rzk24r_EK5VwdKMNBXg6tTs X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-07-28_03,2025-07-24_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 adultscore=0 malwarescore=0 mlxlogscore=999 clxscore=1015 spamscore=0 bulkscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507280067 On 7/28/25 7:05 AM, Krzysztof Kozlowski wrote: > On 25/07/2025 11:23, Konrad Dybcio wrote: >> On 7/24/25 4:42 PM, Krzysztof Kozlowski wrote: >>> On 24/07/2025 12:53, Konrad Dybcio wrote: >>>> On 7/24/25 10:18 AM, Krzysztof Kozlowski wrote: >>>>> On Wed, Jul 23, 2025 at 10:38:48PM +0200, Konrad Dybcio wrote: >>>>>> From: Konrad Dybcio >>>>>> >>>>>> The SM8750 features a "traditional" GPU_CC block, much of which is >>>>>> controlled through the GMU microcontroller. Additionally, there's >>>>>> an separate GX_CC block, where the GX GDSC is moved. >>>>>> >>>>>> Add bindings to accommodate for that. >>>>>> >>>>>> Signed-off-by: Konrad Dybcio >>>>>> --- >> >> [...] >> >>> Yes, qcom,gcc. If that was missing intentionally, it is fine assuming >>> you implement the rest of comments. >> >> With the description addition that you suggested above, should I keep >> this file in clocks/ after all? > > Good point, I don't know, this is unusual case. The question is whether > there could be user of this binding/DTS, which would need/use > clock-cells? If none of possible users could use it as a clock > controller, I think it is not a clock controller from how SW sees it. > IOW, it does not matter what it is fully (in bigger picture) if it > cannot be used in that way. > > If all users of the binding can use it only as power domain provided, I > would move it to power with rest of power domains. Also rename the node > name to power-controller or power-domain. The hardware block can be accessed from the CPU directly, skipping the microcontroller (although that is undesirable and the only "real" use for it I can think about is someone trying to get rid of a blob). I can add clock/reset-cells to describe the hardware accurately, but the Linux driver(s - this is a block that exists on many >=2024 SoCs as you may imagine) will continue to only provide a single power domain. With that, I think clock/ makes sense, as this is essentially the same hardware template as other instances of QCOM_*CC Konrad