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 3BF991BC3F; Wed, 25 Dec 2024 05:53:43 +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=1735106025; cv=none; b=j7TErgfDVFBTqeoaFBE7l+3gpEtM0NZQmVOyOHUk+WCpqF1SeHrfVHHyPJ8PJcptPGyEVlnjCU4cY0M1NogA1ZKRuekzcInJJhsKlcWmkpq2+Zv04fzRsUMJhtkSGsg4S+9JztRa9RO33+3jbtXWH5KChQJjxJ3HnQQ8Vqzbo1o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735106025; c=relaxed/simple; bh=L/VfpL7a/RC750HokGPaYurytb1J7wbU2OYsdKUsXB4=; h=Message-ID:Date:MIME-Version:From:Subject:To:CC:References: In-Reply-To:Content-Type; b=p8hq+zMcor+/F4OJguKcU8xptrpqGqUaeahsGGhrxmJB7hO5JWSljP2Myd95PCU20r3Y3xgyseT0HoS72FZspl//fnv3pdfEzbNv3hZw6qZtWAiQPiY6jM9RNBIKGl4cFl+o6UTxCBIimBJvopx9kZ0919o3MMIK1q25flP9B1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=FWAh0bEG; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="FWAh0bEG" 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 4BP2Zd0J028916; Wed, 25 Dec 2024 05:31:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= mb7WuNDg/h+gcu1HzUJ0E+KuOjfSoXfih9L1QEr84h0=; b=FWAh0bEGdOvIWyL1 K1VCwg4EXpGrycUs7WYlZoE/PKL+T+9jKK+6I0aloki1MwctgMYOnhKpaW/Vd3dJ 9zjwLA4Mf5n0bF7xm6b/ZLt7pKMkSCsGOF4/3fCCZ9fYrOKb5tyd7nW+twdwyxdJ gnazOKJjTK2DVk+6uoCtxNZyRfui0Xe5LuBhwx/OZrEPpX30yne4oeMhP0gdLDVQ cZgO+FLXG1vK87LNdFGjM/RdStN3ZhcZxi8bJWQXe+GHge4ljIyz/I1DL/9+pzqR qXBSeUr8spCE/osS/wxeSa4nlpq8/Iw5eLzfY/MDWC0bBdd0+vZJEjGGTDzWwjLu HG7eaw== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43r9dd8ttx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Dec 2024 05:31:31 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BP5VUHm000982 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Dec 2024 05:31:30 GMT Received: from [10.253.8.100] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 24 Dec 2024 21:31:25 -0800 Message-ID: Date: Wed, 25 Dec 2024 13:31:23 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Jie Luo Subject: Re: [PATCH v7 1/5] dt-bindings: clock: qcom: Add CMN PLL clock controller for IPQ SoC To: Krzysztof Kozlowski CC: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , Konrad Dybcio , , , , , , , , , , , , References: <20241220-qcom_ipq_cmnpll-v7-0-438a1b5cb98e@quicinc.com> <20241220-qcom_ipq_cmnpll-v7-1-438a1b5cb98e@quicinc.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: I3vJbnkRByZMZX6dqT7siyi529It5B8D X-Proofpoint-GUID: I3vJbnkRByZMZX6dqT7siyi529It5B8D X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=999 bulkscore=0 impostorscore=0 adultscore=0 mlxscore=0 clxscore=1015 phishscore=0 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412250047 On 12/22/2024 4:19 PM, Krzysztof Kozlowski wrote: > On Fri, Dec 20, 2024 at 09:22:42PM +0800, Luo Jie wrote: >> The CMN PLL controller provides clocks to networking hardware blocks >> and to GCC on Qualcomm IPQ9574 SoC. It receives input clock from the >> on-chip Wi-Fi, and produces output clocks at fixed rates. These output >> rates are predetermined, and are unrelated to the input clock rate. >> The primary purpose of CMN PLL is to supply clocks to the networking >> hardware such as PPE (packet process engine), PCS and the externally >> connected switch or PHY device. The CMN PLL block also outputs fixed >> rate clocks to GCC, such as 24 MHZ as XO clock and 32 KHZ as sleep >> clock supplied to GCC. >> >> Reviewed-by: Krzysztof Kozlowski >> Signed-off-by: Luo Jie >> --- >> .../bindings/clock/qcom,ipq9574-cmn-pll.yaml | 85 ++++++++++++++++++++++ >> include/dt-bindings/clock/qcom,ipq-cmn-pll.h | 22 ++++++ >> 2 files changed, 107 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/clock/qcom,ipq9574-cmn-pll.yaml b/Documentation/devicetree/bindings/clock/qcom,ipq9574-cmn-pll.yaml >> new file mode 100644 >> index 000000000000..db8a3ee56067 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/clock/qcom,ipq9574-cmn-pll.yaml >> @@ -0,0 +1,85 @@ >> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/clock/qcom,ipq9574-cmn-pll.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm CMN PLL Clock Controller on IPQ SoC >> + >> +maintainers: >> + - Bjorn Andersson >> + - Luo Jie >> + >> +description: >> + The CMN (or common) PLL clock controller expects a reference >> + input clock. This reference clock is from the on-board Wi-Fi. >> + The CMN PLL supplies a number of fixed rate output clocks to >> + the devices providing networking functions and to GCC. These >> + networking hardware include PPE (packet process engine), PCS >> + and the externally connected switch or PHY devices. The CMN >> + PLL block also outputs fixed rate clocks to GCC. The PLL's >> + primary function is to enable fixed rate output clocks for >> + networking hardware functions used with the IPQ SoC. >> + >> +properties: >> + compatible: >> + enum: >> + - qcom,ipq9574-cmn-pll >> + >> + reg: >> + maxItems: 1 >> + >> + clocks: >> + items: >> + - description: The reference clock. The supported clock rates include >> + 25000000, 31250000, 40000000, 48000000, 50000000 and 96000000 HZ. >> + - description: The AHB clock >> + - description: The SYS clock >> + description: >> + The reference clock is the source clock of CMN PLL, which is from the >> + Wi-Fi. The AHB and SYS clocks must be enabled to access CMN PLL >> + clock registers. >> + >> + clock-names: >> + items: >> + - const: ref >> + - const: ahb >> + - const: sys >> + >> + "#clock-cells": >> + const: 1 >> + >> + assigned-clocks: > > Drop OK. > >> + maxItems: 1 >> + >> + assigned-clock-rates-u64: >> + maxItems: 1 > > These wasn't here when you received review. Adding new properties always > invalidates review. > > No, drop them. OK. I will remove the reviewed-by tag next time when such modifications are made. > > >> + >> +required: >> + - compatible >> + - reg >> + - clocks >> + - clock-names >> + - "#clock-cells" >> + - assigned-clocks > > Drop OK. > >> + - assigned-clock-rates-u64 > > Drop... or explain I will drop it as the core DTS schema allows it for the clock provider. The DT property 'assigned-clock-rates-u64' is used for configuring the clock rate of CMN PLL to 12 GHZ, which is the working clock rate of CMN PLL on IPQ9574. > > Drop all review tags after making significant changes like that. Sure I will. > > Best regards, > Krzysztof >