Skip to content

Commit

Permalink
gpio: pca953x: add support for pca9555 I2C I/O expander
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Will Newton authored and Linus Torvalds committed May 1, 2008
1 parent 868eb7a commit f39e578
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/gpio/pca953x.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ static const struct i2c_device_id pca953x_id[] = {
{ "pca9537", 4, },
{ "pca9538", 8, },
{ "pca9539", 16, },
{ "pca9555", 16, },
{ "pca9557", 8, },
/* REVISIT several pca955x parts should work here too */
{ }
};
Expand Down Expand Up @@ -193,7 +195,7 @@ static int __devinit pca953x_probe(struct i2c_client *client,
{
struct pca953x_platform_data *pdata;
struct pca953x_chip *chip;
int ret, i;
int ret;

pdata = client->dev.platform_data;
if (pdata == NULL)
Expand Down

0 comments on commit f39e578

Please sign in to comment.