Re: [RESEND PATCH v4 2/3] usb: serial: xr_serial: Add gpiochip support

From: Andy Shevchenko
Date: Sun Jul 26 2020 - 12:35:12 EST


On Sun, Jul 26, 2020 at 6:53 PM Manivannan Sadhasivam <mani@xxxxxxxxxx> wrote:
> On Wed, Jul 01, 2020 at 03:02:06PM +0200, Johan Hovold wrote:
> > On Sun, Jun 07, 2020 at 09:53:49PM +0530, Manivannan Sadhasivam wrote:

...

> > Same here. And perhaps just ignoring the pins managed by gpiolib is
> > better (cf. gpiolib and pinctrl being orthogonal).
>
> You mean, we can just make TX,RX,CTS,RTS pins controlled only by the serial
> driver and the rest only by gpiolib?

I'm wondering if you may use mctrl_gpio_*() API instead.

--
With Best Regards,
Andy Shevchenko