Skip to content

Add i.MX system controller RTC driver

Anson Huang linux-arm-kernel linux-devicetree linux-rtc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rtc: add i.MX system controller RTC supportdrivers/rtc/Kconfig drivers/rtc/Makefile drivers/rtc/rtc-imx-sc.c+111 -01 reply
1/4rtc: add i.MX system controller RTC supportdrivers/rtc/Kconfig drivers/rtc/Makefile drivers/rtc/rtc-imx-sc.c+111 -00 replies
2/4dt-bindings: rtc: add binding doc for i.MX system controller RTC driverDocumentation/devicetree/bindings/rtc/rtc-imx-sc.txt+10 -01 reply
2/4dt-bindings: rtc: add binding doc for i.MX system controller RTC driverDocumentation/devicetree/bindings/rtc/rtc-imx-sc.txt+10 -00 replies
3/4defconfig: arm64: add i.MX system controller RTC supportarch/arm64/configs/defconfig+1 -01 reply
3/4defconfig: arm64: add i.MX system controller RTC supportarch/arm64/configs/defconfig+1 -00 replies
4/4ARM64: dts: imx: add i.MX8QXP system controller RTC supportarch/arm64/boot/dts/freescale/imx8qxp.dtsi+4 -010 replies
4/4ARM64: dts: imx: add i.MX8QXP system controller RTC supportarch/arm64/boot/dts/freescale/imx8qxp.dtsi+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Add i.MX system controller RTC driver

NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation.

Since the RTC set time MUST to be done in secure EL3 mode (required by system controller firmware) and ALARM functions needs to be done with general MU IRQ handle, these are NOT ready NOW, so this patch ONLY supports RTC read time for now.

Note that this patch set is based on [V4,5/5] defconfig: arm64: add imx8qxp support,
https://patchwork.kernel.org/patch/10677315/

Anson Huang (4):
rtc: add i.MX system controller RTC support
dt-bindings: rtc: add binding doc for i.MX system controller RTC
driver
defconfig: arm64: add i.MX system controller RTC support
ARM64: dts: imx: add i.MX8QXP system controller RTC support

 .../devicetree/bindings/rtc/rtc-imx-sc.txt         |  10 ++
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi         |   4 +
 arch/arm64/configs/defconfig                       |   1 +
 drivers/rtc/Kconfig                                |   6 ++
 drivers/rtc/Makefile                               |   1 +
 drivers/rtc/rtc-imx-sc.c                           | 104 +++++++++++++++++++++
 6 files changed, 126 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/rtc-imx-sc.txt
 create mode 100644 drivers/rtc/rtc-imx-sc.c
Signature · 1 line
2.7.4