BZ: 23876
Due to limitation of I2C silicon on Penwell I2C xfers longer than 31 bytes
are not guaranteed to be atomic. If TX fifo underrun occurs during such
a transfer I2C controller will automatically generate a STOP condition.
This patch adds a kernel config flag that can be used by all affected
users of this I2C controller.
Change-Id: Ifc427638c5bc339091aaf4351464d977c9a68939
Signed-off-by: Dejan REBRACA <dejanx.rebraca@intel.com>
Reviewed-on: http://android.intel.com:8080/36965
Reviewed-by: Niciarz, Sebastian <sebastian.niciarz@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Zurmely, PierreX <pierrex.zurmely@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Zurmely, PierreX <pierrex.zurmely@intel.com>
Reviewed-by: Wahid, KenX <kenx.wahid@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
# I2C system bus drivers (mostly embedded / system-on-chip)
#
CONFIG_I2C_DESIGNWARE_PCI=y
+CONFIG_I2C_DESIGNWARE_PCI_SPLIT_XFER=y
CONFIG_I2C_GPIO=y
# CONFIG_I2C_INTEL_MID is not set
# CONFIG_I2C_OCORES is not set