devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] add NXP RTC driver support for S32G2/S32G3 SoCs
@ 2024-09-11  7:00 Ciprian Costea
  2024-09-11  7:00 ` [PATCH 1/4] dt-bindings: rtc: add schema for NXP " Ciprian Costea
                   ` (3 more replies)
  0 siblings, 4 replies; 33+ messages in thread
From: Ciprian Costea @ 2024-09-11  7:00 UTC (permalink / raw)
  To: Alexandre Belloni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Catalin Marinas, Will Deacon
  Cc: linux-rtc, devicetree, linux-kernel, linux-arm-kernel,
	NXP S32 Linux Team, Ciprian Marian Costea

From: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>

This patch series add support for the NXP
RTC hardware module present on S32G2/S32G3 SoCs.

The RTC module is used to enable Suspend to RAM (STR) support.
RTC tracks clock time during system suspend.

Following is an example of Suspend to RAM trigger on
S32G2/S32G3 SoCs, using userspace tools such as rtcwake:
# rtcwake -s 2 -m mem
# rtcwake: assuming RTC uses UTC ...
# rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Feb  6 06:28:36 2036
#

Ciprian Marian Costea (4):
  dt-bindings: rtc: add schema for NXP S32G2/S32G3 SoCs
  rtc: s32g: add NXP S32G2/S32G3 SoC support
  arm64: defconfig: add S32G RTC module support
  MAINTAINERS: add MAINTAINER for S32G2/S32G3 RTC driver

 .../devicetree/bindings/rtc/nxp,s32g-rtc.yaml |  79 ++
 MAINTAINERS                                   |   2 +
 arch/arm64/configs/defconfig                  |   1 +
 drivers/rtc/Kconfig                           |  10 +
 drivers/rtc/Makefile                          |   1 +
 drivers/rtc/rtc-s32g.c                        | 689 ++++++++++++++++++
 6 files changed, 782 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/nxp,s32g-rtc.yaml
 create mode 100644 drivers/rtc/rtc-s32g.c

-- 
2.45.2


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

end of thread, other threads:[~2024-09-18 15:08 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-11  7:00 [PATCH 0/4] add NXP RTC driver support for S32G2/S32G3 SoCs Ciprian Costea
2024-09-11  7:00 ` [PATCH 1/4] dt-bindings: rtc: add schema for NXP " Ciprian Costea
2024-09-11 18:21   ` Conor Dooley
2024-09-12 10:50     ` Ciprian Marian Costea
2024-09-12 11:27       ` Conor Dooley
2024-09-12 13:02         ` Ciprian Marian Costea
2024-09-12 12:26       ` Alexandre Belloni
2024-09-12 12:36         ` Ciprian Marian Costea
2024-09-12 14:03           ` Alexandre Belloni
2024-09-17  7:21             ` Ciprian Marian Costea
2024-09-17 12:37               ` Conor Dooley
2024-09-17 13:01               ` Alexandre Belloni
2024-09-11 18:22   ` Conor Dooley
2024-09-12 10:55     ` Ciprian Marian Costea
2024-09-12 11:13       ` Conor Dooley
2024-09-12 12:00         ` Ciprian Marian Costea
2024-09-12 12:12           ` Conor Dooley
2024-09-12 12:16             ` Ciprian Marian Costea
2024-09-11  7:00 ` [PATCH 2/4] rtc: s32g: add NXP S32G2/S32G3 SoC support Ciprian Costea
2024-09-12  4:41   ` kernel test robot
2024-09-13 11:58   ` kernel test robot
2024-09-17 17:40   ` Krzysztof Kozlowski
2024-09-18  7:51     ` Ciprian Marian Costea
2024-09-18 10:26   ` Alexandre Belloni
2024-09-18 15:08     ` Ciprian Marian Costea
2024-09-11  7:00 ` [PATCH 3/4] arm64: defconfig: add S32G RTC module support Ciprian Costea
2024-09-17 17:36   ` Krzysztof Kozlowski
2024-09-18  8:02     ` Ciprian Marian Costea
2024-09-18  8:10       ` Krzysztof Kozlowski
2024-09-11  7:00 ` [PATCH 4/4] MAINTAINERS: add MAINTAINER for S32G2/S32G3 RTC driver Ciprian Costea
2024-09-17 17:37   ` Krzysztof Kozlowski
2024-09-18  8:13     ` Ciprian Marian Costea
2024-09-18 10:36       ` Krzysztof Kozlowski

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).