From: Jie Luo <quic_luoj@quicinc.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
<linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<quic_kkumarcs@quicinc.com>, <quic_suruchia@quicinc.com>,
<quic_pavir@quicinc.com>, <quic_linchen@quicinc.com>,
<quic_leiwei@quicinc.com>, <bartosz.golaszewski@linaro.org>,
<srinivas.kandagatla@linaro.org>
Subject: Re: [PATCH v7 1/5] dt-bindings: clock: qcom: Add CMN PLL clock controller for IPQ SoC
Date: Wed, 25 Dec 2024 13:31:23 +0800 [thread overview]
Message-ID: <bdab600c-82ec-4880-a0d0-cb0adc2123a0@quicinc.com> (raw)
In-Reply-To: <yngf4ngbnkcmohjfkd6muynfr72v5yhynmyqfjmxh6qbxidmo7@bsvimplmpwsl>
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 <krzysztof.kozlowski@linaro.org>
>> Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
>> ---
>> .../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 <andersson@kernel.org>
>> + - Luo Jie <quic_luoj@quicinc.com>
>> +
>> +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
>
next prev parent reply other threads:[~2024-12-25 5:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 13:22 [PATCH v7 0/5] Add CMN PLL clock controller driver for IPQ9574 Luo Jie
2024-12-20 13:22 ` [PATCH v7 1/5] dt-bindings: clock: qcom: Add CMN PLL clock controller for IPQ SoC Luo Jie
2024-12-22 8:19 ` Krzysztof Kozlowski
2024-12-25 5:31 ` Jie Luo [this message]
2024-12-20 13:22 ` [PATCH v7 2/5] clk: qcom: Add CMN PLL clock controller driver " Luo Jie
2024-12-20 13:22 ` [PATCH v7 3/5] arm64: defconfig: Enable Qualcomm IPQ CMN PLL clock controller Luo Jie
2024-12-20 13:22 ` [PATCH v7 4/5] arm64: dts: qcom: Add CMN PLL node for IPQ9574 SoC Luo Jie
2024-12-20 13:22 ` [PATCH v7 5/5] arm64: dts: qcom: Update IPQ9574 xo_board_clk to use fixed factor clock Luo Jie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bdab600c-82ec-4880-a0d0-cb0adc2123a0@quicinc.com \
--to=quic_luoj@quicinc.com \
--cc=andersson@kernel.org \
--cc=bartosz.golaszewski@linaro.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=quic_kkumarcs@quicinc.com \
--cc=quic_leiwei@quicinc.com \
--cc=quic_linchen@quicinc.com \
--cc=quic_pavir@quicinc.com \
--cc=quic_suruchia@quicinc.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®