[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdb3L+C+rVB1FPWJ_gGxHPzGAgUFxEBYPTHJQ1_=06y5_g@mail.gmail.com>
Date: Thu, 26 Jan 2017 11:16:15 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Alexandre Courbot <gnurou@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>,
Andy Shevchenko <andy.shevchenko@...il.com>,
One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH v10 1/3] gpio: exar: add gpio for exar cards
On Thu, Jan 19, 2017 at 11:23 PM, Sudip Mukherjee
<sudipm.mukherjee@...il.com> wrote:
> From: Sudip Mukherjee <sudip.mukherjee@...ethink.co.uk>
>
> Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which
> can be controlled using gpio interface.
>
> Add the gpio specific code.
>
> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@...ethink.co.uk>
Patch applied.
I think maybe we can simplify the patch even more using
select GPIO_GENERIC and just specify the different
registers to bgpio_init().
But that can be done as a separate improvement patch, this
definately looks fine.
Maybe you also want something like:
default SERIAL_8250_EXAR
so that the module is by default added as "y" or "m" depending
on what is selected for the parent device?
Yours,
Linus Walleij
Powered by blists - more mailing lists