linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property
@ 2021-01-16 21:54 Adam Ford
  2021-01-16 21:54 ` [PATCH 2/2] clk: vc5: Add support for optional load capacitance Adam Ford
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Ford @ 2021-01-16 21:54 UTC (permalink / raw)
  To: linux-clk
  Cc: aford, Adam Ford, Luca Ceresoli, Michael Turquette, Stephen Boyd,
	Rob Herring, devicetree, linux-kernel

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>

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
+    minimum: 9000
+    maximum: 22760
+    description: Optional load capacitor for XTAL1 and XTAL2
+
 patternProperties:
   "^OUT[1-4]$":
     type: object
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-18 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-16 21:54 [PATCH 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property Adam Ford
2021-01-16 21:54 ` [PATCH 2/2] clk: vc5: Add support for optional load capacitance Adam Ford
2021-01-18 15:26   ` Adam Ford

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).