[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240911070028.127659-1-ciprianmarian.costea@oss.nxp.com>
Date: Wed, 11 Sep 2024 10:00:24 +0300
From: Ciprian Costea <ciprianmarian.costea@....nxp.com>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>
Cc: linux-rtc@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
NXP S32 Linux Team <s32@....com>,
Ciprian Marian Costea <ciprianmarian.costea@....nxp.com>
Subject: [PATCH 0/4] add NXP RTC driver support for S32G2/S32G3 SoCs
From: Ciprian Marian Costea <ciprianmarian.costea@....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
Powered by blists - more mailing lists