Skip to content
Snippets Groups Projects
  1. May 24, 2011
  2. Mar 31, 2011
  3. Mar 20, 2011
  4. Jan 26, 2011
  5. Jan 10, 2011
    • Peter Korsgaard's avatar
      i2c: Add generic I2C multiplexer using GPIO API · 92ed1a76
      Peter Korsgaard authored
      
      Add an i2c mux driver providing access to i2c bus segments using a
      hardware MUX sitting on a master bus and controlled through gpio pins.
      
      E.G. something like:
      
        ----------              ----------  Bus segment 1   - - - - -
       |          | SCL/SDA    |          |-------------- |           |
       |          |------------|          |
       |          |            |          | Bus segment 2 |           |
       |  Linux   | GPIO 1..N  |   MUX    |---------------   Devices
       |          |------------|          |               |           |
       |          |            |          | Bus segment M
       |          |            |          |---------------|           |
        ----------              ----------                  - - - - -
      
      SCL/SDA of the master I2C bus is multiplexed to bus segment 1..M
      according to the settings of the GPIO pins 1..N.
      
      Signed-off-by: default avatarPeter Korsgaard <peter.korsgaard@barco.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      92ed1a76
  6. Oct 31, 2010
  7. Aug 11, 2010
  8. Aug 04, 2010
    • Justin P. Mattock's avatar
      Documentation: update broken web addresses. · 0ea6e611
      Justin P. Mattock authored
      
      Below you will find an updated version from the original series bunching all patches into one big patch
      updating broken web addresses that are located in Documentation/*
      Some of the addresses date as far far back as 1995 etc... so searching became a bit difficult,
      the best way to deal with these is to use web.archive.org to locate these addresses that are outdated.
      Now there are also some addresses pointing to .spec files some are located, but some(after searching
      on the companies site)where still no where to be found. In this case I just changed the address
      to the company site this way the users can contact the company and they can locate them for the users.
      
      Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
      Signed-off-by: default avatarThomas Weber <weber@corscience.de>
      Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
      Cc: Paulo Marques <pmarques@grupopie.com>
      Cc: Randy Dunlap <rdunlap@xenotime.net>
      Cc: Michael Neuling <mikey@neuling.org>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      0ea6e611
  9. Jun 03, 2010
  10. May 21, 2010
  11. May 04, 2010
  12. Mar 02, 2010
    • Zhangfei Gao's avatar
      i2c: Document the message size limit · 0c43ea54
      Zhangfei Gao authored
      
      i2c_master_send & i2c_master_recv do not support more than 64 kb
      transfer, since msg.len is u16.
      
      Signed-off-by: default avatarZhangfei Gao <zgao6@marvell.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      0c43ea54
    • Jean Delvare's avatar
      i2c-parport-light: Add SMBus alert support · 927ab2f8
      Jean Delvare authored
      
      Add support for the SMBus alert mechanism to the i2c-parport-light
      driver. The ADM1032 evaluation board at least is properly wired for
      this.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Trent Piepho <tpiepho@freescale.com>
      927ab2f8
    • Jean Delvare's avatar
      i2c-parport: Add SMBus alert support · 35859254
      Jean Delvare authored
      
      Add support for the SMBus alert mechanism to the i2c-parport driver.
      The ADM1032 evaluation board at least is properly wired for this.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Trent Piepho <tpiepho@freescale.com>
      35859254
    • Jean Delvare's avatar
      i2c: Add SMBus alert support · b5527a77
      Jean Delvare authored
      
      SMBus alert support. The SMBus alert protocol allows several SMBus
      slave devices to share a single interrupt pin on the SMBus master,
      while still allowing the master to know which slave triggered the
      interrupt.
      
      This is based on preliminary work by David Brownell. The key
      difference between David's implementation and mine is that his was
      part of i2c-core, while mine is split into a separate, standalone
      module named i2c-smbus. The i2c-smbus module is meant to include
      support for all SMBus extensions to the I2C protocol in the future.
      
      The benefit of this approach is a zero cost for I2C bus segments which
      do not need SMBus alert support. Where David's implementation
      increased the size of struct i2c_adapter by 7% (40 bytes on i386),
      mine doesn't touch it. Where David's implementation added over 150
      lines of code to i2c-core (+10%), mine doesn't touch it. The only
      change that touches all the users of the i2c subsystem is a new
      callback in struct i2c_driver (common to both implementations.) I seem
      to remember Trent was worried about the footprint of David'd
      implementation, hopefully mine addresses the issue.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Trent Piepho <tpiepho@freescale.com>
      b5527a77
    • Seth Heasley's avatar
      i2c-i801: Add Intel Cougar Point device IDs · 39376434
      Seth Heasley authored
      
      Add the Intel Cougar Point (PCH) SMBus controller device IDs.
      
      Signed-off-by: default avatarSeth Heasley <seth.heasley@intel.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      39376434
  13. Dec 14, 2009
  14. Dec 06, 2009
  15. Nov 07, 2009
  16. Oct 04, 2009
  17. Sep 18, 2009
  18. Jun 19, 2009
    • Jean Delvare's avatar
      i2c: Add a sysfs interface to instantiate devices · 99cd8e25
      Jean Delvare authored
      
      Add a sysfs interface to instantiate and delete I2C devices. This is
      primarily a replacement of the force_* module parameters implemented
      by some i2c drivers. These module parameters were implemented
      internally by the I2C_CLIENT_INSMOD* macros, which don't scale well.
      
      This can also be used when developing a driver on a self-soldered
      board which doesn't yet have proper I2C device declaration at the
      platform level, and presumably for various debugging situations.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      99cd8e25
    • Jean Delvare's avatar
      i2c: Get rid of the legacy binding model · 729d6dd5
      Jean Delvare authored
      
      We converted all the legacy i2c drivers so we can finally get rid of
      the legacy binding model. Hooray!
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      729d6dd5
  19. Jun 15, 2009
  20. Jun 13, 2009
    • Richard Röjfors's avatar
      i2c-ocores: Can add I2C devices to the bus · dd14be4c
      Richard Röjfors authored
      
      There is sometimes a need for the ocores driver to add devices to the
      bus when installed.
      
      i2c_register_board_info can not always be used, because the I2C devices
       are not known at an early state, they could for instance be connected
       on a I2C bus on a PCI device which has the Open Cores IP.
      
      i2c_new_device can not be used in all cases either since the resulting
      bus nummer might be unknown.
      
      The solution is the pass a list of I2C devices in the platform data to
      the Open Cores driver. This is useful for MFD drivers.
      
      Signed-off-by: default avatarRichard Röjfors <richard.rojfors.ext@mocean-labs.com>
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      dd14be4c
  21. Mar 30, 2009
    • Jean Delvare's avatar
      Move the pcf8591 driver to hwmon · fb4504fe
      Jean Delvare authored
      
      Directory drivers/i2c/chips is going away, so drivers there must find
      new homes. For the pcf8591 driver, the best choice seems to be the
      hwmon subsystem. While the Philips PCF8591 device isn't a typical
      hardware monitoring chip, its DAC interface is compatible with the
      hwmon one, so it fits somewhat.
      
      If a better subsystem is ever created for ADC/DAC chips, the driver
      could be moved there.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      fb4504fe
  22. Mar 28, 2009
Loading