From: Krzysztof Kozlowski <krzk@kernel.org>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com,
Abel Vesa <abelvesa@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Peng Fan <peng.fan@nxp.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Rob Herring <robh@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>, Stephen Boyd <sboyd@kernel.org>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v5 15/20] dt-bindings: clock: imx8m-clock: support spread spectrum clocking
Date: Thu, 19 Dec 2024 10:47:22 +0100 [thread overview]
Message-ID: <27f5b3a4-8e79-4648-8603-13cce068bfe6@kernel.org> (raw)
In-Reply-To: <CABGWkvoQzAhpVJ+QRfVZeps-Jn8REGF+21SPN=f24Tdf1d5DDQ@mail.gmail.com>
On 08/12/2024 17:47, Dario Binacchi wrote:
>>> '#clock-cells':
>>> const: 1
>>> @@ -43,6 +43,34 @@ properties:
>>> ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8m-clock.h
>>> for the full list of i.MX8M clock IDs.
>>>
>>> + fsl,ssc-modfreq-hz:
>>> + description:
>>> + The values of modulation frequency (Hz unit) for each clock
>>> + supporting spread spectrum.
>>> + minItems: 7
>>> + maxItems: 10
>>
>> Why all cloks receive now spread spectrum? I had impression - and all
>> your previous versions were doing this - that you have only three or
>> four clocks with SSC.
>
> Exactly. Indeed, the first six values are not valid as SSC properties but are
> only used to reach the point where the first PLL with SSC (i.e., audio_pll1)
> can be indexed, which is in position 7 in the clocks list.
> This was the rationale I followed.
> And it is explicitly outlined in the example section.
> The "" for the fsl,ssc-method property is precisely aimed at specifying a
> "no SSC" method, which also fixes the warning:
>
> fsl,ssc-method:0: '' is not one of ['down-spread', 'up-spread', 'center-spread']
>
> raised by
> make dt_binding_check DT_SCHEMA_FILES=imx8m-clock.yaml
>
> Or would it be acceptable to specify a list of SSC values that applies only to
> the last 4 PLLs in the clocks list?
Lists are strictly ordered, so their items are known. You take some
clocks, of which last clocks are "foo" and "bar". Then you have new
property for configuring SSC for clocks - again list - "foo" and "bar".
>
> I feel like I might be missing something.
>
> Could you kindly suggest what to do or provide a DTS example to show me
> what you expect?
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-12-19 9:47 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-05 11:17 [PATCH v5 00/20] Support spread spectrum clocking for i.MX8N PLLs Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 01/20] dt-bindings: clock: imx8mm: add VIDEO_PLL clocks Dario Binacchi
2024-12-06 12:56 ` Krzysztof Kozlowski
2024-12-05 11:17 ` [PATCH v5 02/20] clk: imx8mm: rename video_pll1 to video_pll Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 03/20] dt-bindings: clock: imx8mp: add VIDEO_PLL clocks Dario Binacchi
2024-12-06 12:56 ` Krzysztof Kozlowski
2024-12-05 11:17 ` [PATCH v5 04/20] clk: imx8mp: rename video_pll1 to video_pll Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 05/20] dt-bindings: clock: imx8m-anatop: define clocks/clock-names Dario Binacchi
2024-12-06 12:58 ` Krzysztof Kozlowski
2024-12-05 11:17 ` [PATCH v5 06/20] arm64: dts: imx8mm: add anatop clocks Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 07/20] arm64: dts: imx8mn: " Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 08/20] arm64: dts: imx8mp: " Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 09/20] arm64: dts: imx8mq: " Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 10/20] dt-bindings: clock: imx8mm: add binding definitions for anatop Dario Binacchi
2024-12-06 12:59 ` Krzysztof Kozlowski
2024-12-05 11:17 ` [PATCH v5 11/20] dt-bindings: clock: imx8mn: " Dario Binacchi
2024-12-06 13:00 ` Krzysztof Kozlowski
2024-12-05 11:17 ` [PATCH v5 12/20] dt-bindings: clock: imx8mp: " Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 13/20] clk: imx: add hw API imx8m_anatop_get_clk_hw Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 14/20] clk: imx: add support for i.MX8MN anatop clock driver Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 15/20] dt-bindings: clock: imx8m-clock: support spread spectrum clocking Dario Binacchi
2024-12-06 13:04 ` Krzysztof Kozlowski
2024-12-08 16:47 ` Dario Binacchi
2024-12-19 9:47 ` Krzysztof Kozlowski [this message]
2024-12-05 11:17 ` [PATCH v5 16/20] arm64: dts: imx8mm: add PLLs to clock controller module (ccm) Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 17/20] arm64: dts: imx8mn: " Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 18/20] arm64: dts: imx8mp: " Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 19/20] clk: imx: pll14xx: support spread spectrum clock generation Dario Binacchi
2024-12-05 11:17 ` [PATCH v5 20/20] clk: imx8mn: " Dario Binacchi
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=27f5b3a4-8e79-4648-8603-13cce068bfe6@kernel.org \
--to=krzk@kernel.org \
--cc=abelvesa@kernel.org \
--cc=conor+dt@kernel.org \
--cc=dario.binacchi@amarulasolutions.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-amarula@amarulasolutions.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=peng.fan@nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=shawnguo@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