All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Daniel Mack <daniel@zonque.org>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	kuninori.morimoto.gx@renesas.com, mturquette@baylibre.com,
	sboyd@kernel.org
Subject: Re: [PATCH v3 3/9] dt-bindings: clock: cs2000-cp: make clk_in optional
Date: Thu, 24 Jun 2021 15:33:17 -0600	[thread overview]
Message-ID: <20210624213317.GA2020700@robh.at.kernel.org> (raw)
In-Reply-To: <20210617190912.262809-4-daniel@zonque.org>

On Thu, Jun 17, 2021 at 09:09:06PM +0200, Daniel Mack wrote:
> CLK_IN is only used in dynamic mode and is hence optional.
> 
> Re-order the clocks so REF_CLK is specified first.

It's not a compatible change. You can't do that unless you can explain 
why it doesn't matter.

> 
> Signed-off-by: Daniel Mack <daniel@zonque.org>
> ---
>  .../devicetree/bindings/clock/cirrus,cs2000-cp.yaml   | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml b/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
> index 79b90500f6ac..68efed8e5033 100644
> --- a/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
> +++ b/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
> @@ -22,14 +22,15 @@ properties:
>  
>    clocks:
>      description:
> -      Common clock binding for CLK_IN, XTI/REF_CLK
> -    minItems: 2
> +      Common clock binding for XTI/REF_CLK, CLK_IN.
> +      CLK_IN is optional and only used in dynamic mode.
> +    minItems: 1
>      maxItems: 2
>  
>    clock-names:
>      items:
> -      - const: clk_in
>        - const: ref_clk
> +      - const: clk_in
>  
>    '#clock-cells':
>      const: 0
> @@ -70,8 +71,8 @@ examples:
>          #clock-cells = <0>;
>          compatible = "cirrus,cs2000-cp";
>          reg = <0x4f>;
> -        clocks = <&rcar_sound 0>, <&x12_clk>;
> -        clock-names = "clk_in", "ref_clk";
> +        clocks = <&x12_clk>, <&rcar_sound 0>;
> +        clock-names = "ref_clk", "clk_in";
>          cirrus,aux-output-source = <CS2000CP_AUX_OUTPUT_CLK_OUT>;
>        };
>      };
> -- 
> 2.31.1
> 
> 

  reply	other threads:[~2021-06-24 21:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17 19:09 [PATCH v3 0/9] clk: cs2000-cp: add dynamic mode and more features Daniel Mack
2021-06-17 19:09 ` [PATCH v3 1/9] dt-bindings: clock: convert cs2000-cp bindings to yaml Daniel Mack
2021-06-17 19:09 ` [PATCH v3 2/9] dt-bindings: clock: cs2000-cp: Document aux-output-source Daniel Mack
2021-06-18 20:05   ` Rob Herring
2021-06-17 19:09 ` [PATCH v3 3/9] dt-bindings: clock: cs2000-cp: make clk_in optional Daniel Mack
2021-06-24 21:33   ` Rob Herring [this message]
2021-06-28 16:03     ` Daniel Mack
2021-07-01 16:07       ` Rob Herring
2021-07-02 12:34         ` Daniel Mack
2021-06-17 19:09 ` [PATCH v3 4/9] dt-bindings: clock: cs2000-cp: document cirrus,clock-skip flag Daniel Mack
2021-06-24 21:33   ` Rob Herring
2021-06-17 19:09 ` [PATCH v3 5/9] clk: cs2000-cp: Make aux output function controllable Daniel Mack
2021-06-17 19:09 ` [PATCH v3 6/9] clk: cs2000-cp: add support for dynamic mode Daniel Mack
2021-06-17 19:09 ` [PATCH v3 7/9] clk: cs2000-cp: make clock skip setting configurable Daniel Mack
2021-06-17 19:09 ` [PATCH v3 8/9] clk: cs2000-cp: freeze config during register fiddling Daniel Mack
2021-06-17 19:09 ` [PATCH v3 9/9] clk: cs2000-cp: convert driver to regmap Daniel Mack

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=20210624213317.GA2020700@robh.at.kernel.org \
    --to=robh@kernel.org \
    --cc=daniel@zonque.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-clk@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.