All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: iio: update TODO
@ 2020-02-24 19:59 ` Rohit Sarkar
  0 siblings, 0 replies; 7+ messages in thread
From: Rohit Sarkar @ 2020-02-24 19:59 UTC (permalink / raw)
  To: linux-iio; +Cc: rohitsarkar5398, devel

gregkh@linuxfoundation.org, jic23@kernel.org
Bcc: 
Subject: [PATCH] staging: iio: update TODO
Reply-To: 

Since there are no more uses of the old GPIO API in iio staging drivers
remove that work item from the TODO.

Add other work items with reference to the conversation in [1]

[1]: https://marc.info/?l=linux-iio&m=158256721009892&w=2

Thanks,
Rohit

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
---
 drivers/staging/iio/TODO | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/iio/TODO b/drivers/staging/iio/TODO
index 1b8ebf2c1b69..783878f25f08 100644
--- a/drivers/staging/iio/TODO
+++ b/drivers/staging/iio/TODO
@@ -1,11 +1,13 @@
-2018-04-15
+2020-02-25
 
-All affected drivers:
-Convert all uses of the old GPIO API from <linux/gpio.h> to the
-GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
-lines from device tree, ACPI or board files, board files should
-use <linux/gpio/machine.h>.
+- Documentation
+  - Binding docs for devices that are obviously used via device tree
+  - Yaml conversions for abandoned drivers
+  - ABI Documentation
+  - Audit driviers/iio/staging/Documentation
 
+- Replace iio_dev->mlock by either a local lock or use iio_claim_direct.
+(Requires analysis of the purpose of the lock.)
 
 ADI Drivers:
 CC the device-drivers-devel@blackfin.uclinux.org mailing list when
-- 
2.23.0.385.gbc12974a89


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH] staging: iio: update TODO
@ 2020-02-24 19:59 ` Rohit Sarkar
  0 siblings, 0 replies; 7+ messages in thread
From: Rohit Sarkar @ 2020-02-24 19:59 UTC (permalink / raw)
  To: linux-iio; +Cc: devel

gregkh@linuxfoundation.org, jic23@kernel.org
Bcc: 
Subject: [PATCH] staging: iio: update TODO
Reply-To: 

Since there are no more uses of the old GPIO API in iio staging drivers
remove that work item from the TODO.

Add other work items with reference to the conversation in [1]

[1]: https://marc.info/?l=linux-iio&m=158256721009892&w=2

Thanks,
Rohit

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
---
 drivers/staging/iio/TODO | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/iio/TODO b/drivers/staging/iio/TODO
index 1b8ebf2c1b69..783878f25f08 100644
--- a/drivers/staging/iio/TODO
+++ b/drivers/staging/iio/TODO
@@ -1,11 +1,13 @@
-2018-04-15
+2020-02-25
 
-All affected drivers:
-Convert all uses of the old GPIO API from <linux/gpio.h> to the
-GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
-lines from device tree, ACPI or board files, board files should
-use <linux/gpio/machine.h>.
+- Documentation
+  - Binding docs for devices that are obviously used via device tree
+  - Yaml conversions for abandoned drivers
+  - ABI Documentation
+  - Audit driviers/iio/staging/Documentation
 
+- Replace iio_dev->mlock by either a local lock or use iio_claim_direct.
+(Requires analysis of the purpose of the lock.)
 
 ADI Drivers:
 CC the device-drivers-devel@blackfin.uclinux.org mailing list when
-- 
2.23.0.385.gbc12974a89

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2] staging: iio: update TODO
  2020-02-24 19:59 ` Rohit Sarkar
  (?)
@ 2020-02-25 14:49 ` Rohit Sarkar
  2020-02-28 17:36   ` Jonathan Cameron
  -1 siblings, 1 reply; 7+ messages in thread
From: Rohit Sarkar @ 2020-02-25 14:49 UTC (permalink / raw)
  To: linux-iio; +Cc: rohitsarkar5398, jic23

since there are no uses of the old GPIO API, remove the item from the
TODO and some new items.

Changes from v1:
Add work item mentioned by Alexandru in https://marc.info/?l=linux-iio&m=158261515624212&w=2

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
---
 drivers/staging/iio/TODO | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/iio/TODO b/drivers/staging/iio/TODO
index 1b8ebf2c1b69..e54510c2ef5f 100644
--- a/drivers/staging/iio/TODO
+++ b/drivers/staging/iio/TODO
@@ -1,11 +1,17 @@
-2018-04-15
+2020-02-25
 
-All affected drivers:
-Convert all uses of the old GPIO API from <linux/gpio.h> to the
-GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
-lines from device tree, ACPI or board files, board files should
-use <linux/gpio/machine.h>.
+- Documentation
+  - Binding docs for devices that are obviously used via device tree
+  - Yaml conversions for abandoned drivers
+  - ABI Documentation
+  - Audit driviers/iio/staging/Documentation
 
+- Replace iio_dev->mlock by either a local lock or use iio_claim_direct.
+  (Requires analysis of the purpose of the lock.)
+
+- Converting drivers from device tree centric to more generic property handlers
+  Refactor old platform_data constructs from drivers and convert it to state
+  struct and using property handlers and readers.
 
 ADI Drivers:
 CC the device-drivers-devel@blackfin.uclinux.org mailing list when
-- 
2.23.0.385.gbc12974a89


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] staging: iio: update TODO
  2020-02-25 14:49 ` [PATCH v2] " Rohit Sarkar
@ 2020-02-28 17:36   ` Jonathan Cameron
  2020-02-28 19:46     ` Rohit Sarkar
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Cameron @ 2020-02-28 17:36 UTC (permalink / raw)
  To: Rohit Sarkar; +Cc: linux-iio, jic23

On Tue, 25 Feb 2020 20:19:33 +0530
Rohit Sarkar <rohitsarkar5398@gmail.com> wrote:

> since there are no uses of the old GPIO API, remove the item from the
> TODO and some new items.
> 
> Changes from v1:
> Add work item mentioned by Alexandru in https://marc.info/?l=linux-iio&m=158261515624212&w=2

My main issue here is we are adding to the "staging" todo,
a list of tasks that are relevant to all drivers, not those
in staging alone.

Please break this into a simple patch removing the gpio stuff
that is no longer relevant and a second patch to propose additions.
That way I can pick up the uncontroversial part and we can talk
further about whether it makes sense to put system wide TODO entries
in here.

Thanks,

Jonathan

> 
> Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
> ---
>  drivers/staging/iio/TODO | 18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/staging/iio/TODO b/drivers/staging/iio/TODO
> index 1b8ebf2c1b69..e54510c2ef5f 100644
> --- a/drivers/staging/iio/TODO
> +++ b/drivers/staging/iio/TODO
> @@ -1,11 +1,17 @@
> -2018-04-15
> +2020-02-25
>  
> -All affected drivers:
> -Convert all uses of the old GPIO API from <linux/gpio.h> to the
> -GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
> -lines from device tree, ACPI or board files, board files should
> -use <linux/gpio/machine.h>.
> +- Documentation
> +  - Binding docs for devices that are obviously used via device tree
> +  - Yaml conversions for abandoned drivers
> +  - ABI Documentation
> +  - Audit driviers/iio/staging/Documentation
>  
> +- Replace iio_dev->mlock by either a local lock or use iio_claim_direct.
> +  (Requires analysis of the purpose of the lock.)
> +
> +- Converting drivers from device tree centric to more generic property handlers
> +  Refactor old platform_data constructs from drivers and convert it to state
> +  struct and using property handlers and readers.
>  
>  ADI Drivers:
>  CC the device-drivers-devel@blackfin.uclinux.org mailing list when



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] staging: iio: update TODO
  2020-02-28 17:36   ` Jonathan Cameron
@ 2020-02-28 19:46     ` Rohit Sarkar
  0 siblings, 0 replies; 7+ messages in thread
From: Rohit Sarkar @ 2020-02-28 19:46 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: linux-iio, jic23

On Fri, Feb 28, 2020 at 05:36:15PM +0000, Jonathan Cameron wrote:
> On Tue, 25 Feb 2020 20:19:33 +0530
> Rohit Sarkar <rohitsarkar5398@gmail.com> wrote:
> 
> > since there are no uses of the old GPIO API, remove the item from the
> > TODO and some new items.
> > 
> > Changes from v1:
> > Add work item mentioned by Alexandru in https://marc.info/?l=linux-iio&m=158261515624212&w=2
> 
> My main issue here is we are adding to the "staging" todo,
> a list of tasks that are relevant to all drivers, not those
> in staging alone.

While I was making this patch I actually had the same concerns.
> Please break this into a simple patch removing the gpio stuff
> that is no longer relevant and a second patch to propose additions.
> That way I can pick up the uncontroversial part and we can talk
> further about whether it makes sense to put system wide TODO entries
> in here.

Makes sense, will do.

> Thanks,
> 
> Jonathan
> 
Thanks, Rohit
> > 
> > Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
> > ---
> >  drivers/staging/iio/TODO | 18 ++++++++++++------
> >  1 file changed, 12 insertions(+), 6 deletions(-)
> > 
> > diff --git a/drivers/staging/iio/TODO b/drivers/staging/iio/TODO
> > index 1b8ebf2c1b69..e54510c2ef5f 100644
> > --- a/drivers/staging/iio/TODO
> > +++ b/drivers/staging/iio/TODO
> > @@ -1,11 +1,17 @@
> > -2018-04-15
> > +2020-02-25
> >  
> > -All affected drivers:
> > -Convert all uses of the old GPIO API from <linux/gpio.h> to the
> > -GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
> > -lines from device tree, ACPI or board files, board files should
> > -use <linux/gpio/machine.h>.
> > +- Documentation
> > +  - Binding docs for devices that are obviously used via device tree
> > +  - Yaml conversions for abandoned drivers
> > +  - ABI Documentation
> > +  - Audit driviers/iio/staging/Documentation
> >  
> > +- Replace iio_dev->mlock by either a local lock or use iio_claim_direct.
> > +  (Requires analysis of the purpose of the lock.)
> > +
> > +- Converting drivers from device tree centric to more generic property handlers
> > +  Refactor old platform_data constructs from drivers and convert it to state
> > +  struct and using property handlers and readers.
> >  
> >  ADI Drivers:
> >  CC the device-drivers-devel@blackfin.uclinux.org mailing list when
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2] staging: iio: update TODO
@ 2020-02-25 15:01 ` Rohit Sarkar
  0 siblings, 0 replies; 7+ messages in thread
From: Rohit Sarkar @ 2020-02-25 15:01 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, gregkh, devel

Since there are no uses of the old GPIO API, remove the item from the
TODO and some new items.

Changes from v1:
Add work item mentioned by Alexandru in https://marc.info/?l=linux-iio&m=158261515624212&w=2

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
---
 drivers/staging/iio/TODO | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/iio/TODO b/drivers/staging/iio/TODO
index 1b8ebf2c1b69..e54510c2ef5f 100644
--- a/drivers/staging/iio/TODO
+++ b/drivers/staging/iio/TODO
@@ -1,11 +1,17 @@
-2018-04-15
+2020-02-25
 
-All affected drivers:
-Convert all uses of the old GPIO API from <linux/gpio.h> to the
-GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
-lines from device tree, ACPI or board files, board files should
-use <linux/gpio/machine.h>.
+- Documentation
+  - Binding docs for devices that are obviously used via device tree
+  - Yaml conversions for abandoned drivers
+  - ABI Documentation
+  - Audit driviers/iio/staging/Documentation
 
+- Replace iio_dev->mlock by either a local lock or use iio_claim_direct.
+  (Requires analysis of the purpose of the lock.)
+
+- Converting drivers from device tree centric to more generic property handlers
+  Refactor old platform_data constructs from drivers and convert it to state
+  struct and using property handlers and readers.
 
 ADI Drivers:
 CC the device-drivers-devel@blackfin.uclinux.org mailing list when
-- 
2.23.0.385.gbc12974a89


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2] staging: iio: update TODO
@ 2020-02-25 15:01 ` Rohit Sarkar
  0 siblings, 0 replies; 7+ messages in thread
From: Rohit Sarkar @ 2020-02-25 15:01 UTC (permalink / raw)
  To: linux-iio; +Cc: devel, gregkh, jic23

Since there are no uses of the old GPIO API, remove the item from the
TODO and some new items.

Changes from v1:
Add work item mentioned by Alexandru in https://marc.info/?l=linux-iio&m=158261515624212&w=2

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
---
 drivers/staging/iio/TODO | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/iio/TODO b/drivers/staging/iio/TODO
index 1b8ebf2c1b69..e54510c2ef5f 100644
--- a/drivers/staging/iio/TODO
+++ b/drivers/staging/iio/TODO
@@ -1,11 +1,17 @@
-2018-04-15
+2020-02-25
 
-All affected drivers:
-Convert all uses of the old GPIO API from <linux/gpio.h> to the
-GPIO descriptor API in <linux/gpio/consumer.h> and look up GPIO
-lines from device tree, ACPI or board files, board files should
-use <linux/gpio/machine.h>.
+- Documentation
+  - Binding docs for devices that are obviously used via device tree
+  - Yaml conversions for abandoned drivers
+  - ABI Documentation
+  - Audit driviers/iio/staging/Documentation
 
+- Replace iio_dev->mlock by either a local lock or use iio_claim_direct.
+  (Requires analysis of the purpose of the lock.)
+
+- Converting drivers from device tree centric to more generic property handlers
+  Refactor old platform_data constructs from drivers and convert it to state
+  struct and using property handlers and readers.
 
 ADI Drivers:
 CC the device-drivers-devel@blackfin.uclinux.org mailing list when
-- 
2.23.0.385.gbc12974a89

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-28 19:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 19:59 [PATCH] staging: iio: update TODO Rohit Sarkar
2020-02-24 19:59 ` Rohit Sarkar
2020-02-25 14:49 ` [PATCH v2] " Rohit Sarkar
2020-02-28 17:36   ` Jonathan Cameron
2020-02-28 19:46     ` Rohit Sarkar
2020-02-25 15:01 Rohit Sarkar
2020-02-25 15:01 ` Rohit Sarkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.