Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: pca953x: add support for pca9555 I2C I/O expander

Add support for pca9555 I2C I/O expander. As the comment suggests this part
is software compatible with the pca9539.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Cc: "eric miao" <eric.miao@marvell.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Will Newton and committed by
Linus Torvalds
f39e5781 868eb7a8

+3 -1
+3 -1
drivers/gpio/pca953x.c
··· 30 30 { "pca9537", 4, }, 31 31 { "pca9538", 8, }, 32 32 { "pca9539", 16, }, 33 + { "pca9555", 16, }, 34 + { "pca9557", 8, }, 33 35 /* REVISIT several pca955x parts should work here too */ 34 36 { } 35 37 }; ··· 195 193 { 196 194 struct pca953x_platform_data *pdata; 197 195 struct pca953x_chip *chip; 198 - int ret, i; 196 + int ret; 199 197 200 198 pdata = client->dev.platform_data; 201 199 if (pdata == NULL)