zephyr/drivers/gpio
Daniel Leung 827f6d018b gpio: pcal9535a: use i2c_poll_transfer() for register read
The newly introduced i2c_poll_transfer() is now used for register
read for PCAL9535A GPIO driver. The old write then read does not
work because every read or write ends with STOP. However,
the chip requires RESTART after writing the register address.
So the new generic transfer function is perfect for this.

Change-Id: I56d7ebe08f68cb04731c72138d60645ef124f65e
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:24:27 -05:00
..
Kconfig gpio: Adding copyright to Kconfig 2016-02-05 20:24:23 -05:00
Makefile gpio: add driver for MMIO-based GPIO ports 2016-02-05 20:24:18 -05:00
gpio-dw.c gpio: dw: ISR bails early if no interrupts 2016-02-05 20:24:22 -05:00
gpio-dw.h gpio: dw: Verify interrupt status on available bits only 2016-02-05 20:24:21 -05:00
gpio-mmio.c gpio: mmio: add access by I/O port 2016-02-05 20:24:21 -05:00
gpio-mmio.h gpio: mmio: add access by I/O port 2016-02-05 20:24:21 -05:00
gpio-pcal9535a.c gpio: pcal9535a: use i2c_poll_transfer() for register read 2016-02-05 20:24:27 -05:00
gpio-pcal9535a.h gpio: pcal9535a: cache write values to registers 2016-02-05 20:24:19 -05:00