[PATCH] pca953x: Add support for pca9555 I2C I/O expander.

From: Will Newton
Date: Mon Apr 28 2008 - 11:08:48 EST


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@xxxxxxxxxx>
---
drivers/gpio/pca953x.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c
index 6e72fd3..4ff274f 100644
--- a/drivers/gpio/pca953x.c
+++ b/drivers/gpio/pca953x.c
@@ -36,6 +36,7 @@ static const struct pca953x_desc pca953x_descs[] = {
{ "pca9537", 4, },
{ "pca9538", 8, },
{ "pca9539", 16, },
+ { "pca9555", 16, },
/* REVISIT several pca955x parts should work here too */
};

--
1.5.5.1
From 9de146ab9f7fb3b81efaeb223fe3ce909aa87082 Mon Sep 17 00:00:00 2001
From: Will Newton <will.newton@xxxxxxxxxx>
Date: Mon, 28 Apr 2008 16:03:29 +0100
Subject: [PATCH] pca953x: Add support for pca9555 I2C I/O expander.

Add support for pca9555 I2C I/O expander.

Signed-off-by: Will Newton <will.newton@xxxxxxxxxx>
---
drivers/gpio/pca953x.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c
index 6e72fd3..4ff274f 100644
--- a/drivers/gpio/pca953x.c
+++ b/drivers/gpio/pca953x.c
@@ -36,6 +36,7 @@ static const struct pca953x_desc pca953x_descs[] = {
{ "pca9537", 4, },
{ "pca9538", 8, },
{ "pca9539", 16, },
+ { "pca9555", 16, },
/* REVISIT several pca955x parts should work here too */
};

--
1.5.5.1