1. 08 10月, 2012 1 次提交
  2. 12 9月, 2012 2 次提交
  3. 10 9月, 2012 1 次提交
    • A
      i2c-designware: Fix build error if CONFIG_I2C_DESIGNWARE_PLATFORM=y && CONFIG_I2C_DESIGNWARE_PCI=y · e68bb91b
      Axel Lin 提交于
      This patch adds config I2C_DESIGNWARE_CORE in Kconfig, and let
      I2C_DESIGNWARE_PLATFORM and I2C_DESIGNWARE_PCI select I2C_DESIGNWARE_CORE.
      
      Because both I2C_DESIGNWARE_PLATFORM and I2C_DESIGNWARE_PCI can be built as
      built-in or module, we also need to export the functions in i2c-designware-core.
      
      This fixes below build error when CONFIG_I2C_DESIGNWARE_PLATFORM=y &&
      CONFIG_I2C_DESIGNWARE_PCI=y:
      
        LD      drivers/i2c/busses/built-in.o
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_clear_int':
      i2c-designware-core.c:(.text+0xa10): multiple definition of `i2c_dw_clear_int'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x928): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_init':
      i2c-designware-core.c:(.text+0x178): multiple definition of `i2c_dw_init'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x90): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `dw_readl':
      i2c-designware-core.c:(.text+0xe8): multiple definition of `dw_readl'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x0): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_isr':
      i2c-designware-core.c:(.text+0x724): multiple definition of `i2c_dw_isr'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x63c): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_xfer':
      i2c-designware-core.c:(.text+0x4b0): multiple definition of `i2c_dw_xfer'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x3c8): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_is_enabled':
      i2c-designware-core.c:(.text+0x9d4): multiple definition of `i2c_dw_is_enabled'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x8ec): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `dw_writel':
      i2c-designware-core.c:(.text+0x124): multiple definition of `dw_writel'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x3c): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_xfer_msg':
      i2c-designware-core.c:(.text+0x2e8): multiple definition of `i2c_dw_xfer_msg'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x200): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_enable':
      i2c-designware-core.c:(.text+0x9c8): multiple definition of `i2c_dw_enable'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x8e0): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_read_comp_param':
      i2c-designware-core.c:(.text+0xa24): multiple definition of `i2c_dw_read_comp_param'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x93c): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_disable':
      i2c-designware-core.c:(.text+0x9dc): multiple definition of `i2c_dw_disable'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x8f4): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_func':
      i2c-designware-core.c:(.text+0x710): multiple definition of `i2c_dw_func'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x628): first defined here
      drivers/i2c/busses/i2c-designware-pci.o: In function `i2c_dw_disable_int':
      i2c-designware-core.c:(.text+0xa18): multiple definition of `i2c_dw_disable_int'
      drivers/i2c/busses/i2c-designware-platform.o:i2c-designware-platdrv.c:(.text+0x930): first defined here
      make[3]: *** [drivers/i2c/busses/built-in.o] Error 1
      make[2]: *** [drivers/i2c/busses] Error 2
      make[1]: *** [drivers/i2c] Error 2
      make: *** [drivers] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Tested-by: NJiri Slaby <jslaby@suse.cz>
      Cc: stable@vger.kernel.org [3.2+]
      e68bb91b
  4. 12 5月, 2012 1 次提交
  5. 08 3月, 2012 1 次提交
  6. 25 2月, 2012 2 次提交
  7. 29 10月, 2011 2 次提交
  8. 21 3月, 2011 1 次提交
  9. 17 3月, 2011 1 次提交
  10. 23 2月, 2011 2 次提交
  11. 27 1月, 2011 1 次提交
  12. 04 1月, 2011 1 次提交
  13. 28 10月, 2010 1 次提交
    • A
      i2c-intel-mid: support for Moorestown and Medfield platform · aa62f85d
      Alan Cox 提交于
      (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: NWen Wang <wen.w.wang@intel.com>
      Signed-off-by: NYong Wang <yong.y.wang@intel.com>
      Signed-off-by: NHong Liu <hong.liu@intel.com>
      Signed-off-by: NBin Yang <bin.yang@intel.com>
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      aa62f85d
  14. 25 10月, 2010 1 次提交
  15. 11 8月, 2010 1 次提交
  16. 03 6月, 2010 1 次提交
  17. 08 3月, 2010 2 次提交
  18. 27 2月, 2010 1 次提交
  19. 07 12月, 2009 1 次提交
  20. 19 9月, 2009 2 次提交
  21. 24 6月, 2009 1 次提交
  22. 17 6月, 2009 1 次提交
  23. 07 4月, 2009 2 次提交
  24. 14 10月, 2008 1 次提交
    • P
      i2c: Renesas Highlander FPGA SMBus support · 4ad48e6a
      Paul Mundt 提交于
      This adds support for the SMBus adapter found in the various FPGAs on
      the Renesas Highlander platforms. Particularly the R0P7780LC0011RL and
      R0P7785LC0011RL FPGAs.
      
      Functionality is fairly restricted, in that only byte and block data
      transfers are supported. Normal/fast mode and IRQ/polling are also
      supported. Primarily used for various RTCs and thermal sensors.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      4ad48e6a
  25. 15 7月, 2008 5 次提交
  26. 23 4月, 2008 3 次提交
  27. 28 1月, 2008 1 次提交