All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Dario Binacchi <dariobin@libero.it>
Cc: linux-kernel@vger.kernel.org,
	Grygorii Strashko <grygorii.strashko@ti.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	devicetree@vger.kernel.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v2 2/4] dt-bindings: ti: dpll: add spread spectrum support
Date: Thu, 25 Mar 2021 19:18:23 -0600	[thread overview]
Message-ID: <20210326011823.GA2102368@robh.at.kernel.org> (raw)
In-Reply-To: <20210318172627.12173-3-dariobin@libero.it>

On Thu, Mar 18, 2021 at 06:26:24PM +0100, Dario Binacchi wrote:
> DT bindings for enabling and adjusting spread spectrum clocking have
> been added.
> 
> Signed-off-by: Dario Binacchi <dariobin@libero.it>
> ---
> 
> (no changes since v1)
> 
>  .../devicetree/bindings/clock/ti/dpll.txt     | 20 +++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/clock/ti/dpll.txt b/Documentation/devicetree/bindings/clock/ti/dpll.txt
> index df57009ff8e7..0810ae073294 100644
> --- a/Documentation/devicetree/bindings/clock/ti/dpll.txt
> +++ b/Documentation/devicetree/bindings/clock/ti/dpll.txt
> @@ -42,6 +42,11 @@ Required properties:
>  	"idlest" - contains the idle status register base address
>  	"mult-div1" - contains the multiplier / divider register base address
>  	"autoidle" - contains the autoidle register base address (optional)
> +	"ssc-deltam" - DPLL supports spread spectrum clocking (SSC), contains
> +		       the frequency spreading register base address (optional)
> +	"ssc-modfreq" - DPLL supports spread spectrum clocking (SSC), contains
> +		        the modulation frequency register base address
> +			(optional)
>    ti,am3-* dpll types do not have autoidle register
>    ti,omap2-* dpll type does not support idlest / autoidle registers
>  
> @@ -51,6 +56,14 @@ Optional properties:
>  	- ti,low-power-stop : DPLL supports low power stop mode, gating output
>  	- ti,low-power-bypass : DPLL output matches rate of parent bypass clock
>  	- ti,lock : DPLL locks in programmed rate
> +	- ti,min-div : the minimum divisor to start from to round the DPLL
> +		       target rate
> +	- ti,ssc-deltam : DPLL supports spread spectrum clocking, frequency
> +			  spreading in permille (10th of a percent)
> +	- ti,ssc-modfreq : DPLL supports spread spectrum clocking, spread
> +			   spectrum modulation frequency in kHz

Use a standard unit suffix (-hz or -mhz).

> +	- ti,ssc-downspread : DPLL supports spread spectrum clocking, boolean
> +			      to enable the downspread feature
>  
>  Examples:
>  	dpll_core_ck: dpll_core_ck@44e00490 {
> @@ -83,3 +96,10 @@ Examples:
>  		clocks = <&sys_ck>, <&sys_ck>;
>  		reg = <0x0500>, <0x0540>;
>  	};
> +
> +	dpll_disp_ck: dpll_disp_ck {
> +		#clock-cells = <0>;
> +		compatible = "ti,am3-dpll-no-gate-clock";
> +		clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
> +		reg = <0x0498>, <0x0448>, <0x0454>, <0x044c>, <0x0450>;
> +	};
> -- 
> 2.17.1
> 

  reply	other threads:[~2021-03-26  1:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18 17:26 [PATCH v2 0/4] clk: ti: add am33xx spread spectrum clock support Dario Binacchi
2021-03-18 17:26 ` [PATCH v2 1/4] clk: ti: fix typo in routine description Dario Binacchi
2021-03-30  2:23   ` Stephen Boyd
2021-03-18 17:26 ` [PATCH v2 2/4] dt-bindings: ti: dpll: add spread spectrum support Dario Binacchi
2021-03-26  1:18   ` Rob Herring [this message]
2021-03-18 17:26 ` [PATCH v2 3/4] ARM: dts: am33xx-clocks: " Dario Binacchi
2021-03-24 12:09   ` Tony Lindgren
2021-03-18 17:26 ` [PATCH v2 4/4] clk: ti: add am33xx spread spectrum clock support 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=20210326011823.GA2102368@robh.at.kernel.org \
    --to=robh@kernel.org \
    --cc=dariobin@libero.it \
    --cc=devicetree@vger.kernel.org \
    --cc=grygorii.strashko@ti.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.