mbox series

[V2,0/4] Add i.MX SCU general interrupt support

Message ID 1550115535-14488-1-git-send-email-Anson.Huang@nxp.com (mailing list archive)
Headers show
Series Add i.MX SCU general interrupt support | expand

Message

Anson Huang Feb. 14, 2019, 3:44 a.m. UTC
This patch series adds i.MX SCU general interrupt support, the SCU general
interrupt supports RTC alarm, wdog, thermal alarm etc., e.g. RTC alarm
irq is controlled by system controller and when RTC alarm fires, system
controller will general SCU MU general interrupt rather than RTC IRQ, so
need to use notification for RTC driver to handle the alarm event.

RTC alarm function patch depends on i.MX SCU general interrupt support,
so put it into same series for review.

Anson Huang (4):
  dt-bindings: fsl: scu: add general interrupt support
  firmware: imx: enable imx scu general irq function
  arm64: dts: freescale: imx8qxp: enable scu general irq channel
  rtc: imx-sc: add rtc alarm support

 .../devicetree/bindings/arm/freescale/fsl,scu.txt  |  18 ++--
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi         |   6 +-
 drivers/firmware/imx/imx-scu.c                     | 101 +++++++++++++++++++++
 drivers/rtc/rtc-imx-sc.c                           | 100 ++++++++++++++++++++
 include/linux/firmware/imx/sci.h                   |   3 +
 5 files changed, 220 insertions(+), 8 deletions(-)