[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20180907193508.24974-1-sam@ravnborg.org>
Date: Fri, 7 Sep 2018 21:35:03 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Andrew Jeffery <andrew@...id.au>,
Fabio Estevam <fabio.estevam@....com>,
Joel Stanley <joel@....id.au>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
Russell King <linux@...linux.org.uk>,
Sascha Hauer <s.hauer@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-rtc@...r.kernel.org
Cc: Sam Ravnborg <sam@...nborg.org>
Subject: [PATCH v1 0/5] add quartz load support to NXP rtc drivers
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(-)
Powered by blists - more mailing lists