Re: [PATCH v3] hw: gpio: introduce pcf8574 driver

2024-03-12 Thread Philippe Mathieu-Daudé
On 11/3/24 10:58, Dmitriy Sharikhin wrote: NXP PCF8574 and compatible ICs are simple I2C GPIO expanders. PCF8574 incorporates quasi-bidirectional IO, and simple communication protocol, when IO read is I2C byte read, and IO write is I2C byte write. User can think of it as open-drain port, when lin

Re: [PATCH v3] hw: gpio: introduce pcf8574 driver

2024-03-11 Thread Philippe Mathieu-Daudé
On 11/3/24 10:58, Dmitriy Sharikhin wrote: NXP PCF8574 and compatible ICs are simple I2C GPIO expanders. PCF8574 incorporates quasi-bidirectional IO, and simple communication protocol, when IO read is I2C byte read, and IO write is I2C byte write. User can think of it as open-drain port, when lin

[PATCH v3] hw: gpio: introduce pcf8574 driver

2024-03-11 Thread Dmitriy Sharikhin
NXP PCF8574 and compatible ICs are simple I2C GPIO expanders. PCF8574 incorporates quasi-bidirectional IO, and simple communication protocol, when IO read is I2C byte read, and IO write is I2C byte write. User can think of it as open-drain port, when line high state is input and line low state is o