diff mbox series

[v2,2/2] gpio: pca953x: Add support for CAT9554

Message ID 20190321092145.14896-3-geert+renesas@glider.be
State New
Headers show
Series gpio: pca953x: Add support for CAT9554 | expand

Commit Message

Geert Uytterhoeven March 21, 2019, 9:21 a.m. UTC
The ON Semiconductor CAT9554 is a variant of the PCA953x GPIO expander,
with 8 GPIOs and interrupt functionality.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
  - Split DT binding doc and driver update in separate patches.
---
 drivers/gpio/gpio-pca953x.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij April 4, 2019, 5:19 a.m. UTC | #1
On Thu, Mar 21, 2019 at 4:21 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> The ON Semiconductor CAT9554 is a variant of the PCA953x GPIO expander,
> with 8 GPIOs and interrupt functionality.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v2:
>   - Split DT binding doc and driver update in separate patches.

Patch applied.

Yours,
Linus Walleij
Linus Walleij April 4, 2019, 5:19 a.m. UTC | #2
On Thu, Apr 4, 2019 at 12:19 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> On Thu, Mar 21, 2019 at 4:21 PM Geert Uytterhoeven
> <geert+renesas@glider.be> wrote:
>
> > The ON Semiconductor CAT9554 is a variant of the PCA953x GPIO expander,
> > with 8 GPIOs and interrupt functionality.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > v2:
> >   - Split DT binding doc and driver update in separate patches.
>
> Patch applied.

Ooops sorry I see Bartosz applied it, backed this out.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index 7e76830b33682aa3..88c94d155e218535 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -1167,6 +1167,7 @@  static const struct of_device_id pca953x_dt_ids[] = {
 	{ .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },
 	{ .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
 
+	{ .compatible = "onnn,cat9554", .data = OF_953X( 8, PCA_INT), },
 	{ .compatible = "onnn,pca9654", .data = OF_953X( 8, PCA_INT), },
 
 	{ .compatible = "exar,xra1202", .data = OF_953X( 8, 0), },