linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/4] Add i.MX system controller RTC driver
@ 2018-11-29  1:49 Anson Huang
  2018-11-29  1:50 ` [PATCH V4 1/4] dt-bindings: fsl: scu: add rtc binding Anson Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Anson Huang @ 2018-11-29  1:49 UTC (permalink / raw)
  To: a.zummo, alexandre.belloni, robh+dt, mark.rutland,
	catalin.marinas, will.deacon, Aisheng DONG, Andy Gross, arnd,
	horms+renesas, heiko, bjorn.andersson, enric.balletbo,
	amit.kucheria, ezequiel, olof, LW, shawnguo, linux-rtc,
	devicetree, linux-kernel, linux-arm-kernel
  Cc: dl-linux-imx

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

-- 
2.7.4


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

end of thread, other threads:[~2018-12-19 10:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29  1:49 [PATCH V4 0/4] Add i.MX system controller RTC driver Anson Huang
2018-11-29  1:50 ` [PATCH V4 1/4] dt-bindings: fsl: scu: add rtc binding Anson Huang
2018-12-10 22:22   ` Rob Herring
2018-11-29  1:50 ` [PATCH V4 2/4] rtc: add i.MX system controller RTC support Anson Huang
2018-12-19  8:54   ` Alexandre Belloni
2018-12-19  9:37     ` Anson Huang
2018-12-19  9:48       ` Aisheng Dong
2018-12-19 10:17         ` Alexandre Belloni
2018-12-19 10:12   ` Aisheng Dong
2018-11-29  1:50 ` [PATCH V4 3/4] defconfig: arm64: " Anson Huang
2018-11-29  1:50 ` [PATCH V4 4/4] ARM64: dts: imx: add i.MX8QXP " Anson Huang

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