diff options
author | Andreas Schallenberg <Andreas.Schallenberg@3alitytechnica.com> | 2012-05-09 09:46:17 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-05-18 16:48:34 -0600 |
commit | ae79c19049b75af476adcbcfda6fc29bd93fc6f8 (patch) | |
tree | 8fef28f94ddf49b8c0679ec7de0ae9680b0fb90b /drivers/gpio/gpio-vr41xx.c | |
parent | 453007cf472a2b4c1034e850c3004ee9027005f6 (diff) |
Add support for TCA6424A
This patch extends the PCA953x driver to support TI's TCA6424A 24 bit I2C I/O expander. The patch is based on code by Michele
Bevilacqua.
Changes in v2:
- Compare ngpio against 24 in both places, not >16
- Larger datatype now u32 instead of uint.
Bit fields not used for struct members since their address is taken.
- Be precise: TCA6424A (untested for older TCA6424)
Signed-off-by: Andreas Schallenberg<Andreas.Schallenberg@3alitytechnica.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/gpio-vr41xx.c')
0 files changed, 0 insertions, 0 deletions