diff options
author | Tin Huynh <tnhuynh@apm.com> | 2016-11-10 03:56:33 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-11-18 02:06:41 +0100 |
commit | c3ae106050b949d6c776c5434046c888a5a6298a (patch) | |
tree | 840a28fc29aa05b1711e11c79acee3ad8be366cc /drivers/i2c/busses/i2c-designware-pcidrv.c | |
parent | i2c: constify i2c_adapter_quirks structures (diff) | |
download | linux-c3ae106050b949d6c776c5434046c888a5a6298a.tar.xz linux-c3ae106050b949d6c776c5434046c888a5a6298a.zip |
i2c: designware: Implement support for SMBus block read and write
Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol.
However, I2C Designware Core Driver doesn't handle the case at the moment.
The below patch supports this feature.
Signed-off-by: Tin Huynh <tnhuynh@apm.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-pcidrv.c')
-rw-r--r-- | drivers/i2c/busses/i2c-designware-pcidrv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index 96f8230cd2d3..8ffe2da6ca2f 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -75,6 +75,7 @@ struct dw_pci_controller { I2C_FUNC_SMBUS_BYTE | \ I2C_FUNC_SMBUS_BYTE_DATA | \ I2C_FUNC_SMBUS_WORD_DATA | \ + I2C_FUNC_SMBUS_BLOCK_DATA | \ I2C_FUNC_SMBUS_I2C_BLOCK) /* Merrifield HCNT/LCNT/SDA hold time */ |