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 F3AB32D320B for ; Fri, 25 Jul 2025 09:31:03 +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=1753435865; cv=none; b=RZsC9mV0mgPkY7XXVIBPnhjQL/BoHu+if1knouTDIxCdFDKcdY6BYvrrKi9oPB2/zrm3peZsIztoL4DjHaTeMpHfV2YNptKZleJy3P9FJQSCkVsIfonjNBwNUXFI+WRAB2WJvDHAZLTSuwbJRlZTLyrtZTY/6Sry/jGbVFRKXU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753435865; c=relaxed/simple; bh=nUHw6qP239Oq8jyKrq+quvMkdXJhaA8f0RlXWhVYRvg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Or0NhUPnOm5I1LVCKlLRY4t8MCMiEqO8hzVlmyvxWH1K3xZwV56ec/YOCFHg83jdnX7VhEo/2W2Q785CuCJnOTeyqjT2XfLWnxgwMA+LDq2VwMYjOJAT03Yx6G/NsLEU+N+wAZpEqugGunZFTRLZhU4kQL+cwJT2y8GTH6RPYf8= 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=H0AgewKN; 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=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="H0AgewKN" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56P8hQi4026758 for ; Fri, 25 Jul 2025 09:31:03 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= UHICGwDwDl8daLhetFxgvsPtxOilAqYGnlpMT/3FILM=; b=H0AgewKNMaOsW8EU f62QnRdnuAMqJkLNTgd73eMxoIxelTBzL/moR+Xlwlx7jqG2DmfoV0xu/YRgdZlB xjV9TT2nKmIbjxQATJhS+BIeiFTG5vIA03BIWcbpbBGzfFltb0IR/rRhLfAtDeRp yeurOMn+YsbaQwf5K4mjwMG/wUExUPmXs+udOFOY/qTko0jTHZ65VCxPNYa4iN/G BiNliyjDAnj3cAD38IzoXaFCZV5OcalSlh8toeYKFqyNMJmeyBeNaJ7mKg2iTo3b BE/W8zYo8dhDtnMyHKfyg9/+nbf4yr4J8Z3r+KlJ6+tb//C+uJb2Tylf7ctol42n MLmBbQ== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 483w2u1j9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 25 Jul 2025 09:31:03 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-7e344f333beso35493985a.2 for ; Fri, 25 Jul 2025 02:31:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753435862; x=1754040662; 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=UHICGwDwDl8daLhetFxgvsPtxOilAqYGnlpMT/3FILM=; b=IKR59uDBuZbtiSYw1KGwFw1NaKbDlw2+idI0zEDWub9vyP7byWNJWoo5lEFtNh3gVp 7qHz/H079U/T4jYj7XPoxfOQ9zp7nylxUYVs3rhxSoYtWFKqWJhjTBfcnI0WZzDUp9Qz 1kq506Cnl4d7ao5+HiylpSDtseQb8SohNdtD3nOY8mFtCA8Yxg//fit2OXfcUzec+MnS 8/GNPUa2U0lKOQVglBqCGIx/PqsG9KLNzR7oVMYsCAb3IU3gc7+OhIiVZcdo2WoMwtbN HQ6Qamd3/2fgPVHzklHWH3w0PodexqAnz28IFR109w//tXuv1KY6uoR72/faUGJymknp o2JA== X-Forwarded-Encrypted: i=1; AJvYcCWKz0DP28racuoOJ5GKKIni6HbJA3WJ3M3kho8wl0Z3a9WKBfEuIweyE2gR5CgIm92GUFsTl0STDnk=@vger.kernel.org X-Gm-Message-State: AOJu0YwzE4u9QkfkBq5O1varOQ9nPqYzImD66DpVu4mjINYzdavgBicW MNSBjL4bkFt7hKF7Jv7VLKSgm6e/na3ipcH2+AVUxaFUq74UkJpUC+8KAq7qPp5KmI7xXYSFDSD rjKfyx/w0Iq1lInmccx9Iat32Sq4IFlj8K4wftv+UOxfvH3Owc9NgQUpang+2HfakeB5WYKw= X-Gm-Gg: ASbGnctun59G7wa2aWW8+N5zsb7yqKa6cubP2rFk92Jga5U15zMPdAPmkzqWNtVEAMj PEZfXst5UnU8baqc+xzS3McucvjMFUD0HxhkOFLOx3inYi1pkBalzX2Jnref16uOvc/nBqiJLJh nntXQxPnzNfwQIw5lCY7J5RbAirR3pxANxhdiUe0Xmf0Xcox4oIG0Q4meKt07QitZJe4cU+DhKU MsXQmAoX8ABcDSTtbjAAdNs8BOS88j6AtF4xeUpP50ViYVTtvYoNZk/KaalX/IMp3AAsrUmVwND RijON/njeAoQmdJWdYVd9Pb69gOZaLb+vS8RSRNp3epa6IA4PqaMqwBtsnSoWl+TYBr38J12pI7 4VmY8ATGLP+uBDdViPg== X-Received: by 2002:a05:620a:472b:b0:7e3:49b9:d06a with SMTP id af79cd13be357-7e63bfa59f0mr48179785a.9.1753435861414; Fri, 25 Jul 2025 02:31:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2nBHxoBD5pfk+D4HZkaX/oRldqRoW3uOXw1dgDzm0zFAJsz26a1olh1gz5zMUTAt4W1if2w== X-Received: by 2002:a05:620a:472b:b0:7e3:49b9:d06a with SMTP id af79cd13be357-7e63bfa59f0mr48176885a.9.1753435860738; Fri, 25 Jul 2025 02:31:00 -0700 (PDT) Received: from [192.168.43.16] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-af47cd650basm240182766b.58.2025.07.25.02.30.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Jul 2025 02:31:00 -0700 (PDT) Message-ID: <54b617c1-bd1b-4244-b75d-57eaaa2c083d@oss.qualcomm.com> Date: Fri, 25 Jul 2025 11:30:57 +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> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20250724-blazing-therapeutic-python-1e96ca@kuoka> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzI1MDA4MCBTYWx0ZWRfX1BAuj1lkoRqO UmcprKkh+KB/LojGSE7r3/Y6zNUeQwqFHuIhSjvIzrH7p1nuhoS3g8yp2sKZlKOJ4Glg3PIIUmT q/hkPo1xLXXcL2e3JuC3kCfloLoWVdvAwRgXlyIDKj5eUg78uJNciEPZG2OiySAAPijCE/n356u +Z9B0aKAxviG//BndoEYKW7R0TPX7UnVwjTk1VwdVwBd2IF6Z5cmLZ6iE3OEWj3I30Nx132RsWb 5lIQR57iYed7V4twrSMEg2CgAIPt7bV4fQxzd8Imu/0xRusie1VmHlItLAoOgC2mqKOfc7ohRZL Unrngc8KFnx679UcJe2AGeKP0fdscwtxyj/WBkpJGzQcFvz7M2iPraXLUisS5gvnrPN8X/Vb9/F 4u5CuIc6hsD3QlmuVHpWC2NmrrVSA6RPiekknwDWLPxwOwtDqytmlRvI0sL8TocTexVpxmDL X-Proofpoint-ORIG-GUID: 4J9b_eW-h5025jOBc4S8S5_orpXD1x0J X-Authority-Analysis: v=2.4 cv=FcA3xI+6 c=1 sm=1 tr=0 ts=68834ed7 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=Wb1JkmetP80A:10 a=EUspDBNiAAAA:8 a=ZXpw8kv6nMavt5JzddgA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-GUID: 4J9b_eW-h5025jOBc4S8S5_orpXD1x0J 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-25_02,2025-07-24_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 adultscore=0 suspectscore=0 impostorscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 clxscore=1015 mlxscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507250080 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 >> --- >> .../bindings/clock/qcom,sm8450-gpucc.yaml | 5 ++ >> .../bindings/clock/qcom,sm8750-gxcc.yaml | 61 ++++++++++++++++++++++ >> include/dt-bindings/clock/qcom,sm8750-gpucc.h | 53 +++++++++++++++++++ >> 3 files changed, 119 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml >> index 02968632fb3af34d6b3983a6a24aa742db1d59b1..d1b3557ab344b071d16dba4d5c6a267b7ab70573 100644 >> --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml >> +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml >> @@ -20,6 +20,7 @@ description: | >> include/dt-bindings/clock/qcom,sm8550-gpucc.h >> include/dt-bindings/reset/qcom,sm8450-gpucc.h >> include/dt-bindings/reset/qcom,sm8650-gpucc.h >> + include/dt-bindings/reset/qcom,sm8750-gpucc.h >> include/dt-bindings/reset/qcom,x1e80100-gpucc.h >> >> properties: >> @@ -31,6 +32,7 @@ properties: >> - qcom,sm8475-gpucc >> - qcom,sm8550-gpucc >> - qcom,sm8650-gpucc >> + - qcom,sm8750-gpucc >> - qcom,x1e80100-gpucc >> - qcom,x1p42100-gpucc >> >> @@ -40,6 +42,9 @@ properties: >> - description: GPLL0 main branch source >> - description: GPLL0 div branch source >> >> + power-domains: >> + maxItems: 1 > > This should be a different binding or you need to restrict other > variants here. Actually looks like this is the same case as the recent videocc changes (15 year old technical debt catching up to us..) I'll send a mass-fixup for this. Some platforms require 2 and some require 3 entries here. Do I have to restrict them very specifically, or can I do: power-domains: description: Power domains required for the clock controller to operate minItems: 2 items: - description: CX power domain - description: MX power domain - description: MXC power domain ? Konrad