[PATCH v5 0/6] i2c: Host Notify / i801 fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wolfram and Dmitry,

5th revision of the series, hopefully this time it will be OK.

The changes were requested by Dmitry: now, SMBus Host Notify is transparent
for clients drivers. The IRQ is attributed if the adapter has the capability
and if nobody claimed an IRQ before. That means that adding an I2C device
through sysfs works, and we don't need to do anything in the client drivers
besides regular IRQ handling.

Cheers,
Benjamin

Benjamin Tissoires (6):
  i2c: i801: store and restore the SLVCMD register at load and unload
  i2c: i801: minor formatting issues
  i2c: i801: use BIT() macro for bits definition
  i2c: i801: use the BIT() macro for FEATURES_* also
  i2c: i801: remove SMBNTFDDAT reads as they always seem to return 0
  i2c: use an IRQ to report Host Notify events, not alert

 Documentation/i2c/smbus-protocol |  12 ++--
 drivers/i2c/Kconfig              |   1 +
 drivers/i2c/busses/i2c-i801.c    | 121 +++++++++++++++++++--------------------
 drivers/i2c/i2c-core.c           | 113 ++++++++++++++++++++++++++++++++++++
 drivers/i2c/i2c-smbus.c          | 102 ---------------------------------
 include/linux/i2c-smbus.h        |  27 ---------
 include/linux/i2c.h              |   4 ++
 7 files changed, 185 insertions(+), 195 deletions(-)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux