Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Jonathan Cameron
On Fri, 1 May 2020 11:46:10 -0400 William Breathitt Gray wrote: > On Thu, Apr 30, 2020 at 10:13:45PM +0200, Alexandre Belloni wrote: > > Hi, > > > > On 29/04/2020 14:11:34-0400, William Breathitt Gray wrote: > > > Over the past couple years we have noticed some shortcomings with the > > > Coun

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Jonathan Cameron
On Wed, 29 Apr 2020 15:21:05 -0500 David Lechner wrote: > On 4/29/20 1:11 PM, William Breathitt Gray wrote: > > Over the past couple years we have noticed some shortcomings with the > > Counter sysfs interface. Although useful in the majority of situations, > > there are certain use-cases where i

RE: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread David Laight
From: Jonathan Cameron > Sent: 03 May 2020 15:13 ... > > The following are some questions I have about this patchset: > > > > 1. Should enums be used to represent standard counter component states > >(e.g. COUNTER_SIGNAL_LOW), or would these be better defined as int? > > > >These standard c

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Jonathan Cameron
On Wed, 29 Apr 2020 14:11:34 -0400 William Breathitt Gray wrote: > Over the past couple years we have noticed some shortcomings with the > Counter sysfs interface. Although useful in the majority of situations, > there are certain use-cases where interacting through sysfs attributes > can become

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread William Breathitt Gray
On Sun, May 03, 2020 at 01:54:58PM +0100, Jonathan Cameron wrote: > On Sun, 3 May 2020 11:23:16 +0200 > Greg Kroah-Hartman wrote: > > > On Sat, May 02, 2020 at 05:55:36PM +0100, Jonathan Cameron wrote: > > > On Fri, 1 May 2020 11:46:10 -0400 > > > William Breathitt Gray wrote: > > > > > > > O

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Jonathan Cameron
On Sun, 3 May 2020 11:23:16 +0200 Greg Kroah-Hartman wrote: > On Sat, May 02, 2020 at 05:55:36PM +0100, Jonathan Cameron wrote: > > On Fri, 1 May 2020 11:46:10 -0400 > > William Breathitt Gray wrote: > > > > > On Thu, Apr 30, 2020 at 10:13:45PM +0200, Alexandre Belloni wrote: > > > > Hi, >

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-03 Thread Greg Kroah-Hartman
On Sat, May 02, 2020 at 05:55:36PM +0100, Jonathan Cameron wrote: > On Fri, 1 May 2020 11:46:10 -0400 > William Breathitt Gray wrote: > > > On Thu, Apr 30, 2020 at 10:13:45PM +0200, Alexandre Belloni wrote: > > > Hi, > > > > > > On 29/04/2020 14:11:34-0400, William Breathitt Gray wrote: > > >

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-02 Thread Jonathan Cameron
On Fri, 1 May 2020 11:46:10 -0400 William Breathitt Gray wrote: > On Thu, Apr 30, 2020 at 10:13:45PM +0200, Alexandre Belloni wrote: > > Hi, > > > > On 29/04/2020 14:11:34-0400, William Breathitt Gray wrote: > > > Over the past couple years we have noticed some shortcomings with the > > > Coun

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-05-01 Thread William Breathitt Gray
On Thu, Apr 30, 2020 at 10:13:45PM +0200, Alexandre Belloni wrote: > Hi, > > On 29/04/2020 14:11:34-0400, William Breathitt Gray wrote: > > Over the past couple years we have noticed some shortcomings with the > > Counter sysfs interface. Although useful in the majority of situations, > > there ar

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-04-30 Thread Alexandre Belloni
Hi, On 29/04/2020 14:11:34-0400, William Breathitt Gray wrote: > Over the past couple years we have noticed some shortcomings with the > Counter sysfs interface. Although useful in the majority of situations, > there are certain use-cases where interacting through sysfs attributes > can become cum

Re: [PATCH 0/4] Introduce the Counter character device interface

2020-04-29 Thread David Lechner
On 4/29/20 1:11 PM, William Breathitt Gray wrote: Over the past couple years we have noticed some shortcomings with the Counter sysfs interface. Although useful in the majority of situations, there are certain use-cases where interacting through sysfs attributes can become cumbersome and ineffici