1. 04 7月, 2013 1 次提交
  2. 30 4月, 2013 1 次提交
  3. 06 10月, 2012 1 次提交
  4. 24 3月, 2012 1 次提交
    • A
      rtc: convert rtc i2c drivers to module_i2c_driver · 0abc9201
      Axel Lin 提交于
      Factor out some boilerplate code for i2c driver registration into
      module_i2c_driver.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Cc: Piotr Ziecik <kosmo@semihalf.com>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
      Cc: Mike Rapoport <mike@compulab.co.il>
      Cc: Sergey Lapin <slapin@ossfans.org>
      Cc: Roman Fietze <roman.fietze@telemotive.de>
      Cc: Herbert Valerio Riedel <hvr@gnu.org>
      Cc: Alexander Bigga <ab@mycable.de>
      Cc: Dale Farnsworth <dale@farnsworth.org>
      Cc: Gregory Hermant <gregory.hermant@calao-systems.com>
      Cc: Wolfgang Grandegger <wg@grandegger.com>
      Cc: Martyn Welch <martyn.welch@ge.com>
      Cc: Byron Bradley <byron.bbradley@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0abc9201
  5. 01 11月, 2011 1 次提交
  6. 31 3月, 2011 1 次提交
  7. 16 12月, 2009 1 次提交
  8. 02 12月, 2009 2 次提交
  9. 20 10月, 2008 1 次提交
  10. 05 7月, 2008 1 次提交
    • M
      rtc-x1205: Fix alarm set · 471d47e3
      Michael Hamel 提交于
      I have discovered that the current version of rtc-x1205.c does not work
      correctly when asked to set the alarm time by the RTC_WKALM_SET ioctl()
      call.  This happens because the alarm registers do not behave like the
      current-time registers.  They are non-volatile.  Two things go wrong:
      
      - the X1205 requires a 10 msec delay after any attempt to write to the
        non-volatile registers.  The x1205_set_datetime() routine does the write
        as 8 single-byte writes without any delay.  Only the first write
        succeeds.  The second is NAKed because the chip is busy.
      
      - the X1205 resets the RWEL bit after any write to the non-volatile
        registers.  This would lock out any further writes after the first even
        with a 10msec delay.
      
      I fix this by doing a single 8-byte write and then waiting 10msec for the
      chip to be ready.  A side effect of this change is that it will speed up
      x1205_rtc_set_time() which uses the same code.
      
      I have also implemented the 'enable' bit in the rtc_wkalm structure, which
      the existing driver does not attempt to do.  I have modified both
      x1205_rtc_set_alarm() to set the AL0E bit, and x1205_rtc_read_alarm() to
      return it.
      
      I have tested this patch on a LinkSys NSLU2 under OpenWRT, but on no other
      hardware.  On the NSLU2 the X1205 correctly asserts its IRQ pin when the
      alarm time matches the current time.
      
      [akpm@linux-foundation.org: clean up over-parenthesisation]
      Signed-off-by: NMichael Hamel <mhamel@adi.co.nz>
      Signed-off-by: NAlessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      471d47e3
  11. 30 4月, 2008 2 次提交
    • J
      i2c: Convert most new-style drivers to use module aliasing · 3760f736
      Jean Delvare 提交于
      Based on earlier work by Jon Smirl and Jochen Friedrich.
      
      Update most new-style i2c drivers to use standard module aliasing
      instead of the old driver_name/type driver matching scheme. I've
      left the video drivers apart (except for SoC camera drivers) as
      they're a bit more diffcult to deal with, they'll have their own
      patch later.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Jon Smirl <jonsmirl@gmail.com>
      Cc: Jochen Friedrich <jochen@scram.de>
      3760f736
    • J
      i2c: Add support for device alias names · d2653e92
      Jean Delvare 提交于
      Based on earlier work by Jon Smirl and Jochen Friedrich.
      
      This patch allows new-style i2c chip drivers to have alias names using
      the official kernel aliasing system and MODULE_DEVICE_TABLE(). At this
      point, the old i2c driver binding scheme (driver_name/type) is still
      supported.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Jochen Friedrich <jochen@scram.de>
      Cc: Jon Smirl <jonsmirl@gmail.com>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      d2653e92
  12. 28 4月, 2008 2 次提交
  13. 28 1月, 2008 1 次提交
  14. 12 7月, 2007 1 次提交
  15. 14 2月, 2007 1 次提交
  16. 11 12月, 2006 1 次提交
  17. 08 12月, 2006 1 次提交
  18. 01 10月, 2006 1 次提交
  19. 11 4月, 2006 4 次提交
  20. 28 3月, 2006 1 次提交