Re: [PATCH 0/2] USB: serial: cp210x: provide gpio valid mask

2021-04-12 Thread Johan Hovold
On Fri, Apr 09, 2021 at 07:23:11PM +0300, Andy Shevchenko wrote: > On Fri, Apr 9, 2021 at 6:52 PM Johan Hovold wrote: > > > > Use the new GPIO valid-mask feature to inform gpiolib which pins are > > available for use instead of handling that in a request callback. > > > > This also allows user spa

Re: [PATCH 0/2] USB: serial: cp210x: provide gpio valid mask

2021-04-09 Thread Andy Shevchenko
On Fri, Apr 9, 2021 at 6:52 PM Johan Hovold wrote: > > Use the new GPIO valid-mask feature to inform gpiolib which pins are > available for use instead of handling that in a request callback. > > This also allows user space to figure out which pins are available > through the chardev interface wit

[PATCH 0/2] USB: serial: cp210x: provide gpio valid mask

2021-04-09 Thread Johan Hovold
Use the new GPIO valid-mask feature to inform gpiolib which pins are available for use instead of handling that in a request callback. This also allows user space to figure out which pins are available through the chardev interface without having to request each pin in turn. Johan Johan Hov