From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 References: <20190320103600.20875-1-geert+renesas@glider.be> In-Reply-To: <20190320103600.20875-1-geert+renesas@glider.be> From: Bartosz Golaszewski Date: Thu, 21 Mar 2019 10:03:48 +0100 Message-ID: Subject: Re: [PATCH] gpio: pca953x: Add support for CAT9554 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: Geert Uytterhoeven Cc: Linus Walleij , Rob Herring , Mark Rutland , Chris Brandt , linux-devicetree , linux-gpio , Linux-Renesas List-ID: =C5=9Br., 20 mar 2019 o 11:36 Geert Uytterhoeven napisa=C5=82(a): > > The ON Semiconductor CAT9554 is a variant of the PCA953x GPIO expander, > with 8 GPIOs and interrupt functionality. > > Signed-off-by: Geert Uytterhoeven > --- > Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + > drivers/gpio/gpio-pca953x.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt b/Do= cumentation/devicetree/bindings/gpio/gpio-pca953x.txt > index fb144e2b65226601..8678df2a5713a9af 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt > +++ b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt > @@ -30,6 +30,7 @@ Required properties: > ti,tca6424 > ti,tca9539 > ti,tca9554 > + onnn,cat9554 > onnn,pca9654 > exar,xra1202 > - gpio-controller: if used as gpio expander. > 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[] = =3D { > { .compatible =3D "ti,tca6416", .data =3D OF_953X(16, PCA_INT), }= , > { .compatible =3D "ti,tca6424", .data =3D OF_953X(24, PCA_INT), }= , > > + { .compatible =3D "onnn,cat9554", .data =3D OF_953X( 8, PCA_INT),= }, > { .compatible =3D "onnn,pca9654", .data =3D OF_953X( 8, PCA_INT),= }, > > { .compatible =3D "exar,xra1202", .data =3D OF_953X( 8, 0), }, > -- > 2.17.1 > Hi Geert, I'm seeing that historically we always would split the patches adding the new compatible to the DT bindings and the actual support implementation into separate commits. Could you do the same here? Thanks, Bart