[lkml]   [2021]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] *** Ricoh RS5C372: add support for Xtal trimming configuration ***
From: Pavel Modilaynen <>

*** BLURB HERE ***

Add support for Xtal trimming configuration with new DT property: ricoh,trim.
This uint8 property is to contain raw value to setup Oscillation Adjustment
register (0x7) of Ricoh RS5C372 and similar RTC controllers.
This raw value has device model specific format and is used to adjust
(subtract or add) time counts per second (normally 32768) on regular
intervals (e.g. every 20th second).

Pavel Modilaynen (2):
rtc: rs5c372: Add support for trim configuration
dt-bindings: rtc: Add bindings for Ricoh rs5c372

.../bindings/rtc/ricoh,rs5c372.yaml | 58 +++++++++++++++++++
.../devicetree/bindings/rtc/trivial-rtc.yaml | 12 ----
drivers/rtc/rtc-rs5c372.c | 18 +++++-
3 files changed, 75 insertions(+), 13 deletions(-)
create mode 100644 Documentation/devicetree/bindings/rtc/ricoh,rs5c372.yaml


 \ /
  Last update: 2021-10-31 00:52    [W:0.049 / U:2.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site