rtc: Add support for the SSD202D RTC
authorRomain Perier <romain.perier@gmail.com>
Wed, 13 Sep 2023 15:16:04 +0000 (17:16 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Oct 2023 14:54:15 +0000 (16:54 +0200)
commitebf6255868e6141c737cacb8d62b0b347f344877
tree7e5054830039cc5d99f329b90defcfec092e619a
parente2f57bf827697964ccacef5f69decc050f7d9e24
rtc: Add support for the SSD202D RTC

Newer SigmaStar SSD202D SoCs contain a Real Time Clock, capable of
running while the system is sleeping (battery powered), this is not the
case with the other RTC on older SoCs. This adds basic support for this
RTC block.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Co-developed-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Link: https://lore.kernel.org/r/20230913151606.69494-2-romain.perier@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-ssd202d.c [new file with mode: 0644]