1. 18 Jan, 2019 1 commit
    • Anson Huang's avatar
      imx: add wakeup source SIP runtime service support · ebdbc25b
      Anson Huang authored
      
      
      On i.MX8QM/i.MX8QX with system controller inside, the wakeup
      source is managed in SCFW(system controller firmware), if the
      wakeup source is belonged to system controller partition, then
      before Linux suspend, the wakeup source should be set to
      SC_PM_WAKE_SRC_SCU, and if the wakeup source is belonged to
      Cortex-A partition, the wakeup source should be set to
      SC_PM_WAKE_SRC_IRQSTEER, so need to add wakeup source SIP runtime
      service to get Linux kernel's wakeup source and set the correct
      wakeup source for system controller.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      ebdbc25b
  2. 17 Jan, 2019 2 commits
    • Anson Huang's avatar
      imx: add cpu-freq SIP runtime service support · d3996c59
      Anson Huang authored
      
      
      On i.MX8QM/i.MX8QX with system controller inside, the CPU's clock
      rate is managed by SCFW(system controller firmware) and can ONLY be
      changed from secure world, so SIP runtime service is needed for
      setting CPU's clock rate, this patch adds cpu-freq SIP runtime service
      support.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      d3996c59
    • Anson Huang's avatar
      imx: add imx8qm/imx8qx SRTC SIP runtime service support · 025514ba
      Anson Huang authored
      
      
      On i.MX8QM/i.MX8QX with system controller inside, the SRTC is
      managed by SCFW(system controller firmware) and some functions
      like setting SRTC's time etc. can ONLY be requested from secure
      world, so SIP runtime service is needed for such kind of operations,
      this patch adds SRTC SIP runtime service support for i.MX8QM and
      i.MX8QX.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      025514ba