dt-binding: pcf8523: add xtal load capacitance
authorSam Ravnborg <sam@ravnborg.org>
Sat, 19 Jan 2019 09:00:28 +0000 (10:00 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 22 Jan 2019 17:56:52 +0000 (18:56 +0100)
commit8c12af15e7340a14e2978814ef28df58962283d6
treeda68280cb8c57bec9ae4f055ba5ac28d83c8fa58
parentd08fd7c1b9bd78b10345d2f9b115c5fd362b75cd
dt-binding: pcf8523: add xtal load capacitance

The NXP pcf8523 supports two different xtal load capacitance
- 7000fF  (7pF)    HW default
12500fF (12.5pF) Minimum power consumption, driver default

To obtain a precise RTC the pcf8523 must be configured
with the correct capacitance load of the xtal.

Add a property to specify the xtal capacitance load.
The default value matches that of the current Linux driver.

With a dedicated binding remove the entry in rtc.txt

Signed-off-by: Søren Andersen <san@skov.dk>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/nxp,pcf8523.txt [new file with mode: 0644]
Documentation/devicetree/bindings/rtc/rtc.txt