On Thu, Jan 19, 2017 at 11:23 PM, Sudip Mukherjee <[email protected]> wrote:
> From: Sudip Mukherjee <[email protected]> > > 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 <[email protected]> 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

