The current rtc drivers for NXP pcf8523 and pcf85063
have different configuration of the quartz load.
pcf8523 hardcode the quartz load to 12.5 Pf
pcf85063 uses the reset default of 7 pF
Introduce a new property to the bindings for the two
rtc devices to specify if the quartz load is 12.5 pF.
Update all in-kernel DT files using the pcf8523 to specify this property.
And finally update the drivers to support the property.
NOTE:
This has the side-effect that any users of the
pcf8523 driver using out-of-tree DTS files needs to
add the new property to get the same behaviour as before.
Sam
Søren Andersen (5):
dt-binding: rtci-pcf8523: add binding with quartz_load property
dt-binding: rtc-pcf85063: add binding with quartz load property
dts: add nxp,quartz_load_12.5pf to all pcf8523 nodes
rtc: pcf8523: add quartz load configuration from DT
rtc: pcf85063: add quartz load configuration from DT
.../devicetree/bindings/rtc/nxp,pcf85063.txt | 19 +++++++++++++
.../devicetree/bindings/rtc/nxp,pcf8523.txt | 19 +++++++++++++
.../devicetree/bindings/trivial-devices.txt | 2 --
arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dts | 1 +
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 1 +
arch/arm/boot/dts/imx6q-h100.dts | 1 +
arch/arm/boot/dts/imx6q-novena.dts | 1 +
arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 1 +
arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | 1 +
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 1 +
drivers/rtc/rtc-pcf85063.c | 31 ++++++++++++++++++++++
drivers/rtc/rtc-pcf8523.c | 6 ++---
12 files changed, 79 insertions(+), 5 deletions(-)