Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-09-10 Thread Andy Shevchenko
On Thu, Aug 27, 2020 at 06:02:03PM +0200, Bartosz Golaszewski wrote: > On Thu, Aug 27, 2020 at 5:53 PM Linus Walleij > wrote: > please hold it maybe for one more week - I'd love to have some more > people take a look at the user facing header at least. Andy is usually > very thorough in his

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-09-10 Thread Bartosz Golaszewski
On Thu, Sep 10, 2020 at 4:09 PM Andy Shevchenko wrote: > > On Tue, Sep 01, 2020 at 11:28:13AM +0200, Bartosz Golaszewski wrote: > > On Sat, Aug 29, 2020 at 3:35 AM Kent Gibson wrote: > > > > > > On Fri, Aug 28, 2020 at 04:37:19PM +0200, Linus Walleij wrote: > > > > On Fri, Aug 28, 2020 at 12:47

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-09-10 Thread Andy Shevchenko
On Thu, Sep 10, 2020 at 04:12:08PM +0200, Bartosz Golaszewski wrote: > On Thu, Sep 10, 2020 at 4:09 PM Andy Shevchenko > wrote: > > On Tue, Sep 01, 2020 at 11:28:13AM +0200, Bartosz Golaszewski wrote: > > > On Sat, Aug 29, 2020 at 3:35 AM Kent Gibson wrote: ... > > > I personally like v6 more.

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-09-10 Thread Andy Shevchenko
On Tue, Sep 01, 2020 at 11:28:13AM +0200, Bartosz Golaszewski wrote: > On Sat, Aug 29, 2020 at 3:35 AM Kent Gibson wrote: > > > > On Fri, Aug 28, 2020 at 04:37:19PM +0200, Linus Walleij wrote: > > > On Fri, Aug 28, 2020 at 12:47 AM Kent Gibson wrote: > > > > > > > The particular use case I am

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-09-10 Thread Bartosz Golaszewski
On Thu, Sep 10, 2020 at 1:10 PM Andy Shevchenko wrote: > > On Thu, Aug 27, 2020 at 06:02:03PM +0200, Bartosz Golaszewski wrote: > > On Thu, Aug 27, 2020 at 5:53 PM Linus Walleij > > wrote: > > > please hold it maybe for one more week - I'd love to have some more > > people take a look at the

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-09-01 Thread Bartosz Golaszewski
On Sat, Aug 29, 2020 at 3:35 AM Kent Gibson wrote: > > On Fri, Aug 28, 2020 at 04:37:19PM +0200, Linus Walleij wrote: > > On Fri, Aug 28, 2020 at 12:47 AM Kent Gibson wrote: > > > > > The particular use case I am considering is one I had been asked about - > > > changing a requested line from

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-08-28 Thread Kent Gibson
On Fri, Aug 28, 2020 at 04:37:19PM +0200, Linus Walleij wrote: > On Fri, Aug 28, 2020 at 12:47 AM Kent Gibson wrote: > > > The particular use case I am considering is one I had been asked about - > > changing a requested line from input with edge detection to output, and > > vice versa. Losing

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-08-28 Thread Linus Walleij
On Fri, Aug 28, 2020 at 12:47 AM Kent Gibson wrote: > The particular use case I am considering is one I had been asked about - > changing a requested line from input with edge detection to output, and > vice versa. Losing interrupts isn't really an issue for this use case - > it is expected.

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-08-27 Thread Kent Gibson
On Thu, Aug 27, 2020 at 06:02:03PM +0200, Bartosz Golaszewski wrote: > On Thu, Aug 27, 2020 at 5:53 PM Linus Walleij > wrote: > > > > On Thu, Aug 27, 2020 at 4:00 PM Kent Gibson wrote: > > > > > This patchset defines and implements a new version of the > > > GPIO CDEV uAPI to address existing

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-08-27 Thread Bartosz Golaszewski
On Thu, Aug 27, 2020 at 5:53 PM Linus Walleij wrote: > > On Thu, Aug 27, 2020 at 4:00 PM Kent Gibson wrote: > > > This patchset defines and implements a new version of the > > GPIO CDEV uAPI to address existing 32/64-bit alignment issues, add > > support for debounce, event sequence numbers, and

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-08-27 Thread Linus Walleij
On Thu, Aug 27, 2020 at 4:00 PM Kent Gibson wrote: > This patchset defines and implements a new version of the > GPIO CDEV uAPI to address existing 32/64-bit alignment issues, add > support for debounce, event sequence numbers, and allow for requested > lines with different configurations. > It

[PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-08-27 Thread Kent Gibson
This patchset defines and implements a new version of the GPIO CDEV uAPI to address existing 32/64-bit alignment issues, add support for debounce, event sequence numbers, and allow for requested lines with different configurations. It provides some future proofing by adding optional configuration