1. 29 Oct, 2010 1 commit
    • Randy Dunlap's avatar
      i2c-intel-mid: Driver depends on PCI · 9cc11dee
      Randy Dunlap authored
      i2c-intel-mid driver uses PCI data structs and interfaces,
      so it should depend on PCI.  Fixes these build errors:
      
      drivers/i2c/busses/i2c-intel-mid.c:977: error: implicit declaration of function 'pci_request_region'
      drivers/i2c/busses/i2c-intel-mid.c:1077: error: implicit declaration of function 'pci_release_region'
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Ba Zheng <zheng.ba@intel.com>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: linux-i2c@vger.kernel.org
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      9cc11dee
  2. 28 Oct, 2010 3 commits
    • Ben Dooks's avatar
      e0b11c3c
    • Ben Dooks's avatar
      37516385
    • Alan Cox's avatar
      i2c-intel-mid: support for Moorestown and Medfield platform · aa62f85d
      Alan Cox authored
      (Updated to address Ben's comments. With regard to the message segment
       restriction it's not something we hit on the actual platform so while
       I will investigate that further I don't think its a blocker to submission.
       At worst its a spot over-restrictive)
      
      From: Wen Wang <wen.w.wang@intel.com>
      
      Initial release of the driver. Updated and verified on hardware.
      
      Cleaned up as follows
      
      Alan Cox:
         Squash down the switches into tables, and use the PCI ident field. We
         could perhaps take this further and put the platform and port number into
         this.
         uint32t -> u32
         bracketing of case statements
         spacing and '!' usage
         Check the speed (which is now 0/1/2) is valid and ignore otherwise.
         Fix remaining problems/suggestions from Jean's review
         Fix items from Ben's review
      
      Arjan van de Ven:
         Initial power management hooks
      
      Yong Wang <youg.y.wang@intel.com>:
         Shared IRQ support
      
      Wen Wang <wen.w.wang@intel.com>:
         D3 support
         Fixes for OCT test runs
         Interrupt optimisations
      
      Hong Liu <hong.liu@intel.com>
         The runtime PM code is working on the wrong device (i2c_adapter->dev).
         The correct one should be pci_dev->dev. This breaks attached i2c
         slave devices with runtime PM enabled. Slave device needs to runtime
         resume parent device before runtime resuming itself, but we always get
         error since we don't have pm_runtime callback for i2c_adapter->dev.
      
      Bin Yang <bin.yang@intel.com>:
         Update speed table
      
      Saadi Maalem <saadi.maalem@intel.com>:
         Clear all interrupts in the hardware init
      
      Celine Chotard <celinex.chotard@intel.com>:
         Correct ordering of clear/disable of IRQs
      Signed-off-by: default avatarWen Wang <wen.w.wang@intel.com>
      Signed-off-by: default avatarYong Wang <yong.y.wang@intel.com>
      Signed-off-by: default avatarHong Liu <hong.liu@intel.com>
      Signed-off-by: default avatarBin Yang <bin.yang@intel.com>
      Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      aa62f85d
  3. 26 Oct, 2010 2 commits
  4. 25 Oct, 2010 34 commits