summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pcf85063.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-01-19 10:00:30 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-01-22 18:57:08 +0100
commit189927e719e36ceefbb8037f23d3849e47833aef (patch)
treeeaa926f119a6c93ebe86ef3baed9aac1ad9eacb3 /drivers/rtc/rtc-pcf85063.c
parente4a604cbee5470fc116ac9a4f852152070984286 (diff)
rtc: pcf8523: set xtal load capacitance from DT
Add support for specifying the xtal load capacitance in the DT node. The pcf8523 supports xtal load capacitance of 7pF or 12.5pF. If the rtc has the wrong configuration the time will drift several hours/week. The driver use the default value 12.5pF. The DT may specify either 7000fF or 12500fF. (The DT uses femto Farad to avoid decimal numbers). Other values are warned and the driver uses the default value. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-pcf85063.c')
0 files changed, 0 insertions, 0 deletions