[v3,0/2] drivers: rtc: add max313xx series rtc driver

Message ID 20221108122254.1185-1-Ibrahim.Tilki@analog.com
Headers
Series drivers: rtc: add max313xx series rtc driver |

Message

Tilki, Ibrahim Nov. 8, 2022, 12:22 p.m. UTC
  Hi,

Sending v3 to fix a warning reported by kernel test robot.
Also added reviewed-by tag for Krzysztof since dt-bindings patch
has not been modified.

Best regards,
Ibrahim

changelog:
since v3:
  - add "break" to fix warning: unannotated fall-through 
    Reported-by: kernel test robot <lkp@intel.com>

since v2:
  - dtbinding: update title and description
  - dtbinding: remove last example
  - drop watchdog support
  - support reading 12Hr format instead of forcing 24hr at probe time
  - use "tm_year % 100" instead of range check
  - refactor max313xx_init for readability


Ibrahim Tilki (2):
  drivers: rtc: add max313xx series rtc driver
  dt-bindings: rtc: add max313xx RTCs

 .../devicetree/bindings/rtc/adi,max313xx.yaml |  151 +++
 drivers/rtc/Kconfig                           |   11 +
 drivers/rtc/Makefile                          |    1 +
 drivers/rtc/rtc-max313xx.c                    | 1070 +++++++++++++++++
 4 files changed, 1233 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/adi,max313xx.yaml
 create mode 100644 drivers/rtc/rtc-max313xx.c