All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Jens Renner <renner@efe-gmbh.de>, linux-clk@vger.kernel.org
Cc: mturquette@baylibre.com, sebastian.hesselbarth@gmail.com,
	s.hauer@pengutronix.de, devicetree@vger.kernel.org,
	robh+dt@kernel.org, renner@efe-gmbh.de
Subject: Re: [PATCH v2 1/2] clk: si5351: Add DT property for phase offset
Date: Thu, 16 Dec 2021 17:50:49 -0800	[thread overview]
Message-ID: <20211217015050.BE640C36AE0@smtp.kernel.org> (raw)
In-Reply-To: <20211208154535.72286-1-renner@efe-gmbh.de>

Quoting Jens Renner (2021-12-08 07:45:35)
> Add optional output clock DT property "silabs,clock-phase" to configure
> the phase offset in degrees with respect to other clock outputs.
> Add missing description for related optional output clock DT property
> "clock-frequency".
> 
> Signed-off-by: Jens Renner <renner@efe-gmbh.de>
> ---
> Changes in v2:
>   - Use vendor-specific DT property silabs,clock-phase
> 
>  .../devicetree/bindings/clock/silabs,si5351.txt        | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/silabs,si5351.txt b/Documentation/devicetree/bindings/clock/silabs,si5351.txt
> index bfda6af76..0f4e4f41f 100644
> --- a/Documentation/devicetree/bindings/clock/silabs,si5351.txt
> +++ b/Documentation/devicetree/bindings/clock/silabs,si5351.txt
> @@ -50,11 +50,17 @@ Optional child node properties:
>    divider.
>  - silabs,pll-master: boolean, multisynth can change pll frequency.
>  - silabs,pll-reset: boolean, clock output can reset its pll.
> -- silabs,disable-state : clock output disable state, shall be
> +- silabs,disable-state: clock output disable state, shall be
>    0 = clock output is driven LOW when disabled
>    1 = clock output is driven HIGH when disabled
>    2 = clock output is FLOATING (HIGH-Z) when disabled
>    3 = clock output is NEVER disabled
> +- clock-frequency: integer in Hz, output frequency to generate (2500-200000000)

Is this assigned-clock-rates?

> +  This defines the output frequency set during boot. It can be reprogrammed
> +  duing runtime through the common clock framework.
> +- silabs,clock-phase: integer, phase shift in degrees (0-359), using the

Do we need an assigned-clock-phase property?

> +  multisynth initial phase offset register (depends on the clock source /
> +  output ratio) and the clock output inverter (180 deg. only).

  parent reply	other threads:[~2021-12-17  1:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-08 15:44 [PATCH v2 0/2] clk: si5351: Add phase offset for clock output Jens Renner
2021-12-08 15:45 ` [PATCH v2 1/2] clk: si5351: Add DT property for phase offset Jens Renner
2021-12-15 16:43   ` Rob Herring
2021-12-17  1:50   ` Stephen Boyd [this message]
2021-12-08 15:46 ` [PATCH v2 2/2] clk: si5351: Add clock output " Jens Renner

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=20211217015050.BE640C36AE0@smtp.kernel.org \
    --to=sboyd@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=renner@efe-gmbh.de \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sebastian.hesselbarth@gmail.com \
    /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.