diff options
author | Vignesh R <vigneshr@ti.com> | 2016-08-02 10:14:24 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-08 13:32:53 -0400 |
commit | 5746b0df9c09fe5e16412118d1977b5d7cb5fed5 (patch) | |
tree | 4501f36e0bc0a577cceede4318c7149396b164e8 /lib | |
parent | 5aa79f26762d197324866a0d0c2b31601a7fc8ee (diff) |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions