Re: [PATCH] gpio-pca953x: fall back to byte-at-a-time for 24-bit io

2018-02-08 Thread Jean Delvare
On Mon, 29 Jan 2018 14:11:35 +1000, Andrew Cooks wrote: > On 29/12/17 19:44, Andy Shevchenko wrote: > > On Tue, Dec 5, 2017 at 4:17 AM, Andrew Cooks > > wrote: > >> Using TCA6424A with i2c-piix4 bus driver requires byte-at-a-time IO, > >> because the i2c-piix4 driver (and probably some SMBus co

Re: [PATCH] gpio-pca953x: fall back to byte-at-a-time for 24-bit io

2018-01-28 Thread Andrew Cooks
Hi Andy On 29/12/17 19:44, Andy Shevchenko wrote: > On Tue, Dec 5, 2017 at 4:17 AM, Andrew Cooks > wrote: >> Using TCA6424A with i2c-piix4 bus driver requires byte-at-a-time IO, >> because the i2c-piix4 driver (and probably some SMBus controllers) don't >> support I2C_SMBUS_I2C_BLOCK_DATA. > >

Re: [PATCH] gpio-pca953x: fall back to byte-at-a-time for 24-bit io

2017-12-29 Thread Andy Shevchenko
On Tue, Dec 5, 2017 at 4:17 AM, Andrew Cooks wrote: > Using TCA6424A with i2c-piix4 bus driver requires byte-at-a-time IO, > because the i2c-piix4 driver (and probably some SMBus controllers) don't > support I2C_SMBUS_I2C_BLOCK_DATA. Why not to fix piix4 for now? > static int pca953x_write_regs

[PATCH] gpio-pca953x: fall back to byte-at-a-time for 24-bit io

2017-12-04 Thread Andrew Cooks
Using TCA6424A with i2c-piix4 bus driver requires byte-at-a-time IO, because the i2c-piix4 driver (and probably some SMBus controllers) don't support I2C_SMBUS_I2C_BLOCK_DATA. Signed-off-by: Andrew Cooks --- drivers/gpio/gpio-pca953x.c | 16 ++-- 1 file changed, 14 insertions(+), 2 d