From: Rob Herring <robh@kernel.org>
To: Adam Ford <aford173@gmail.com>
Cc: linux-clk@vger.kernel.org, aford@beaconembedded.com,
Luca Ceresoli <luca@lucaceresoli.net>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH V3 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property
Date: Wed, 10 Feb 2021 14:18:41 -0600 [thread overview]
Message-ID: <20210210201841.GA2688439@robh.at.kernel.org> (raw)
In-Reply-To: <20210207185140.3653350-1-aford173@gmail.com>
On Sun, Feb 07, 2021 at 12:51:38PM -0600, Adam Ford wrote:
> There are two registers which can set the load capacitance for
> XTAL1 and XTAL2. These are optional registers when using an
> external crystal. Since XTAL1 and XTAL2 will set to the same value,
> update the binding to support a single property called
> xtal-load-femtofarads.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
> ---
> V3: No Change
> V2: No Change
>
> A couple people suggested that I not use the $ref, but without it,
> the bindings check failed with errors.
>
> diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml
> index 2ac1131fd922..c268debe5b8d 100644
> --- a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml
> +++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml
> @@ -59,6 +59,12 @@ properties:
> minItems: 1
> maxItems: 2
>
> + idt,xtal-load-femtofarads:
> + $ref: /schemas/types.yaml#/definitions/uint32
Don't need a type with standard unit suffix.
> + minimum: 9000
> + maximum: 22760
> + description: Optional load capacitor for XTAL1 and XTAL2
> +
> patternProperties:
> "^OUT[1-4]$":
> type: object
> --
> 2.25.1
>
next prev parent reply other threads:[~2021-02-10 20:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-07 18:51 [PATCH V3 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property Adam Ford
2021-02-07 18:51 ` [PATCH V3 2/2] clk: vc5: Add support for optional load capacitance Adam Ford
2021-02-08 12:00 ` Luca Ceresoli
2021-02-11 20:10 ` Stephen Boyd
2021-02-10 20:18 ` Rob Herring [this message]
2021-02-10 20:40 ` [PATCH V3 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property Adam Ford
2021-02-11 2:35 ` Stephen Boyd
2021-02-11 14:52 ` Rob Herring
2021-02-11 20:09 ` Stephen Boyd
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=20210210201841.GA2688439@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=aford173@gmail.com \
--cc=aford@beaconembedded.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca@lucaceresoli.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).