i2c: i801: add support of Host Notify
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 24 Jun 2016 14:39:49 +0000 (16:39 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 5 Jul 2016 15:39:42 +0000 (00:39 +0900)
commit7b0ed334b8468dccd3340778bd04c0a8be46b81d
tree9b33818de5e6bfed5e495a2d6241804624e2a07a
parent97d34ec136a9ff10259ea636a45d3a41beda0e4f
i2c: i801: add support of Host Notify

The i801 chip can handle the Host Notify feature since ICH 3 as mentioned
in http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf

Enable the functionality unconditionally and propagate the alert
on each notification.

With a T440s and a Synaptics touchpad that implements Host Notify, the
payload data is always 0x0000, so I am not sure if the device actually
sends the payload or if there is a problem regarding the implementation.

Tested-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-i801.c