devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] *** Ricoh RS5C372: add support for Xtal trimming configuration ***
@ 2021-10-30 22:50 Pavel Modilaynen
  2021-10-30 22:50 ` [PATCH 1/2] rtc: rs5c372: Add support for trim configuration Pavel Modilaynen
  2021-10-30 22:50 ` [PATCH 2/2] dt-bindings: rtc: Add bindings for Ricoh rs5c372 Pavel Modilaynen
  0 siblings, 2 replies; 8+ messages in thread
From: Pavel Modilaynen @ 2021-10-30 22:50 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt
  Cc: linux-rtc, devicetree, linux-kernel, lkml, kernel,
	Pavel Modilaynen

From: Pavel Modilaynen <pavelmn@axis.com>

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-11-05 15:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 22:50 [PATCH 0/2] *** Ricoh RS5C372: add support for Xtal trimming configuration *** Pavel Modilaynen
2021-10-30 22:50 ` [PATCH 1/2] rtc: rs5c372: Add support for trim configuration Pavel Modilaynen
2021-10-30 22:57   ` Alexandre Belloni
2021-10-31 10:29     ` Pavel Modilaynen
2021-11-01 18:23       ` Alexandre Belloni
2021-11-01 23:14         ` Pavel Modilaynen
2021-11-05 15:26           ` Alexandre Belloni
2021-10-30 22:50 ` [PATCH 2/2] dt-bindings: rtc: Add bindings for Ricoh rs5c372 Pavel Modilaynen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).