1. 23 8月, 2009 1 次提交
  2. 30 7月, 2009 1 次提交
    • M
      i2c-sh_mobile: change module_init() to subsys_initcall() · ccb3bc16
      Magnus Damm 提交于
      Convert the i2c-sh_mobile i2c bus driver to use
      subsys_initcall() instead of module_init().
      
      This change makes the driver register a bit earlier which
      together with earlier platform data moves the time for probe().
      The earlier probe() makes it possible to use i2c_get_adapter()
      and i2c_transfer() from device_initcall().
      
      The same strategy is used by other i2c bus drivers such as
      i2c-pxa.c and i2c-s3c2410.c.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      [ben-linux@fluff.org: minor subject updaye]
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      ccb3bc16
  3. 23 7月, 2009 1 次提交
  4. 15 7月, 2009 1 次提交
  5. 07 1月, 2009 1 次提交
  6. 22 12月, 2008 1 次提交
  7. 13 11月, 2008 1 次提交
  8. 05 9月, 2008 1 次提交
    • M
      i2c: fix i2c-sh_mobile timing issues · 4eb00c9f
      Magnus Damm 提交于
      This patch teaches the i2c-sh_mobile driver to make use of wait irqs.
      Without this patch only dte irqs are used which may lead to overruns
      and cases of missing stop and extra bytes being read on the i2c bus.
      
      Use of wait irqs forces the hardware to pause and wait until the cpu
      is ready. Polling is also reworked in this patch to fix ms delay issues.
      
      Verified with bus analyzer and tested on MigoR and AP325RXA boards.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4eb00c9f
  9. 23 4月, 2008 1 次提交