diff options
author | Camel Guo <camelg@axis.com> | 2021-12-06 15:58:31 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-01-05 02:52:10 +0300 |
commit | ed06106614341301b3c4b84b6c0b497a72caec7d (patch) | |
tree | 4767a3897954fb5f369db299cea20a2880ef2a64 /drivers/rtc/rtc-max77686.c | |
parent | dd93849d47ce1517c1383ef30bd7497a001d213f (diff) | |
download | linux-ed06106614341301b3c4b84b6c0b497a72caec7d.tar.xz |
rtc: rs5c372: fix incorrect oscillation value on r2221tl
The XSL bit only exists in RS5C372A/B. On other Ricoh RTC chips
supported in rs5c372, this bit has different meaning. For example, on
R2221x and R2223x, this bit of oscillation adjustment register
determines the operation frequency of oscillation adjustment circuit and
the oscillation is always 32768HZ. But rs5c372_get_trim gives 32000HZ to
osc when DEV is 1.
Signed-off-by: Camel Guo <camelg@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211206125832.6461-1-camel.guo@axis.com
Diffstat (limited to 'drivers/rtc/rtc-max77686.c')
0 files changed, 0 insertions, 0 deletions