[PATCH 0/2] *** Ricoh RS5C372: add support for Xtal trimming configuration ***

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Pavel Modilaynen <pavelmn@xxxxxxxx>

*** 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

-- 
2.20.1




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux