i2c: fsi: Add transfer implementation
authorEddie James <eajames@linux.vnet.ibm.com>
Tue, 17 Jul 2018 15:31:03 +0000 (10:31 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 20 Jul 2018 22:07:08 +0000 (00:07 +0200)
commit504b82773c074e88423e17b9a069ac9a07df02d6
tree73f270957f089d587da2bb0b260a7355c008e0ff
parent6cdf5e397a0b863fcc3f703c7619e628a63664ee
i2c: fsi: Add transfer implementation

Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.

Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-fsi.c