1. 11 12月, 2014 16 次提交
  2. 07 6月, 2014 4 次提交
  3. 13 11月, 2013 1 次提交
  4. 12 9月, 2013 1 次提交
  5. 04 7月, 2013 2 次提交
  6. 18 5月, 2013 1 次提交
  7. 30 4月, 2013 3 次提交
  8. 18 12月, 2012 3 次提交
    • V
      rtc: omap: add runtime pm support · fc9bd902
      Vaibhav Hiremath 提交于
      OMAP1 RTC driver is used in multiple devices like, OMAPL138 and AM33XX.
      Driver currently doesn't handle any clocks, which may be right for OMAP1
      architecture but in case of AM33XX, the clock/module needs to be enabled
      in order to access the registers.
      
      So convert this driver to runtime pm, which internally handles rest.
      
      [afzal@ti.com: handle error path]
      Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com>
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Daniel Mack <zonque@gmail.com>
      Cc: Vaibhav Hiremath <hvaibhav@ti.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fc9bd902
    • A
      rtc: omap: dt support · 9e0344dc
      Afzal Mohammed 提交于
      Enhance rtc-omap driver with DT capability
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Daniel Mack <zonque@gmail.com>
      Cc: Vaibhav Hiremath <hvaibhav@ti.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9e0344dc
    • A
      rtc: omap: kicker mechanism support · cab1458c
      Afzal Mohammed 提交于
      OMAP RTC IP can have kicker feature.  This prevents spurious writes to
      register.  To write to registers kicker lock has to be released.
      Procedure to do it as follows,
      
      1. write to kick0 register, 0x83e70b13
      2. write to kick1 register, 0x95a4f1e0
      
      Writing value other than 0x83e70b13 to kick0 enables write locking, more
      details about kicker mechanism can be found in section 20.3.3.5.3 of
      AM335X TRM @www.ti.com/am335x
      
      Here id table information is added and is used to distinguish those that
      require kicker handling and the ones that doesn't need it.  There are more
      features in the newer IP's compared to legacy ones other than kicker,
      which driver currently doesn't handle, supporting additional features
      would be easier with the addition of id table.
      
      Older IP (of OMAP1) doesn't have revision register as per TRM, so revision
      register can't be relied always to find features, hence id table is being
      used.
      
      While at it, replace __raw_writeb/__raw_readb with writeb/readb; this
      driver is used on ARMv7 (AM335X SoC)
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Daniel Mack <zonque@gmail.com>
      Cc: Vaibhav Hiremath <hvaibhav@ti.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cab1458c
  9. 24 3月, 2012 1 次提交
  10. 04 8月, 2011 1 次提交
  11. 18 4月, 2011 1 次提交
  12. 10 3月, 2011 1 次提交
    • J
      RTC: Clean out UIE icotl implementations · e428c6a2
      John Stultz 提交于
      With the generic RTC rework, the UIE mode irqs are handled
      in the generic layer, and only hardware specific ioctls
      get passed down to the rtc driver layer.
      
      So this patch removes the UIE mode ioctl handling in the rtc
      driver layer, which never get used.
      
      CC: Thomas Gleixner <tglx@linutronix.de>
      CC: Alessandro Zummo <a.zummo@towertech.it>
      CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      CC: rtc-linux@googlegroups.com
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      e428c6a2
  13. 04 2月, 2011 1 次提交
  14. 14 1月, 2011 1 次提交
  15. 28 10月, 2010 1 次提交
  16. 20 5月, 2010 1 次提交
  17. 07 5月, 2010 1 次提交
    • S
      rtc: omap: let device wakeup capability be configured from chip init logic · 9c0a342c
      Sekhar Nori 提交于
      The rtc-omap driver currently hardcodes the RTC wakeup capability
      to be "not capable". While this seems to be true for existing OMAP1
      boards which are not wired for this, the DA850/OMAP-L138 SoC, the
      RTC can always be wake up source from its "deep sleep" mode.
      
      This patch lets the wakeup capability to be set from platform data and
      does not override the setting from the driver. For DA850/OMAP-L138, this
      is done from arch/arm/mach-davinci/devices-da8xx.c:da8xx_register_rtc()
      
      Note that this patch does not change the behavior on any existing OMAP1
      board since the platform device registration sets the wakeup capability
      to 0 by default.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      9c0a342c