[0/2] Add support for RTC MAX31335

Message ID 20231030115016.97823-1-antoniu.miclaus@analog.com
Headers
Series Add support for RTC MAX31335 |

Message

Antoniu Miclaus Oct. 30, 2023, 11:50 a.m. UTC
  The MAX31335 is an automotive qualified (AEC-Q100) real-time clock (RTC) driven
by an internal temperature compensated microelectromechanical systems (MEMS)
resonator. The oscillator provides a stable and accurate reference clock and
maintains the RTC to within ±2ppm accuracy from -40°C to +85°C, and within ±5ppm
up to +125°C.

NOTE:

Although the datasheet is not public yet, the driver can be made public (on
other linux custon trees it is already).

The driver was tested with actual hardware and works as expected.

Even though the datasheet is not available, if there are any queries about
the functionality of the part, these can be provided/inserted as code comments
inside the driver.

Antoniu Miclaus (2):
  dt-bindings: rtc: max31335: add max31335 bindings
  drivers: rtc: max31335: initial commit

 .../devicetree/bindings/rtc/adi,max31335.yaml |  61 ++
 drivers/rtc/Kconfig                           |  11 +
 drivers/rtc/Makefile                          |   1 +
 drivers/rtc/rtc-max31335.c                    | 759 ++++++++++++++++++
 4 files changed, 832 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/adi,max31335.yaml
 create mode 100644 drivers/rtc/rtc-max31335.c