1. 08 Dec, 2009 2 commits
    • Sekhar Nori's avatar
      davinci: da8xx/omap-l1: mark RTC as a wakeup source · 6630ed0a
      Sekhar Nori authored
      On da850, RTC alarm is a wakeup source from deep sleep.
      Mark it as a wakeup source after the rtc platform device
      is registered.
      
      Without this patch, the rtc-omap driver suspends the RTC
      during the suspend sequence and hence it cannot wakeup the
      SoC.
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      6630ed0a
    • Sekhar Nori's avatar
      davinci: cp_intc: provide set_wake function · 4f69d04d
      Sekhar Nori authored
      There is nothing special to be done for interrupts
      which can wakeup the device from sleep on CP-INTC,
      but not having a set_wake implemented prevents use
      of common drivers which expect this function to be
      implemented for all wakeup interrupt sources.
      
      This patch fixes the issue encountered when using the
      omap-rtc driver on DA850. On DA850 the RTC alarm
      interrupt is used to wake up the SoC from deep sleep
      mode. Without this patch, the disable_irq_wake throws
      an unbalanced wake disable warning while resuming
      because the previous enable call fails for lack of
      set_wake implementation.
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      4f69d04d
  2. 07 Dec, 2009 38 commits