]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: Add driver for TI PCF8575 I2C GPIO expander
authorVignesh R <vigneshr@ti.com>
Tue, 2 Aug 2016 04:44:24 +0000 (10:14 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 8 Aug 2016 17:32:53 +0000 (13:32 -0400)
commit5746b0df9c09fe5e16412118d1977b5d7cb5fed5
tree4501f36e0bc0a577cceede4318c7149396b164e8
parent5aa79f26762d197324866a0d0c2b31601a7fc8ee
gpio: Add driver for TI PCF8575 I2C GPIO expander

TI's PCF8575 is a 16-bit I2C GPIO expander.The device features a
16-bit quasi-bidirectional I/O ports. Each quasi-bidirectional I/O can
be used as an input or output without the use of a data-direction
control signal. The I/Os should be high before being used as inputs.
Read the device documentation for more details[1].

This driver is based on pcf857x driver available in Linux v4.7 kernel.
It supports basic reading and writing of gpio pins.

[1] http://www.ti.com/lit/ds/symlink/pcf8575.pdf

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
doc/device-tree-bindings/gpio/gpio-pcf857x.txt [new file with mode: 0644]
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/pcf8575_gpio.c [new file with mode: 0644]