Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-06-04 Thread Boris Brezillon
On Tue, 5 Jun 2018 01:09:32 +0200 Boris Brezillon wrote: > On Mon, 04 Jun 2018 18:48:08 +0200 > Janusz Krzysztofik wrote: > > > On Monday, June 4, 2018 11:55:43 AM CEST Boris Brezillon wrote: > > > On Wed, 30 May 2018 22:39:03 +0200 > > > > > > Janusz Krzysztofik wrote: > > > > On

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-06-04 Thread Boris Brezillon
On Mon, 04 Jun 2018 18:48:08 +0200 Janusz Krzysztofik wrote: > On Monday, June 4, 2018 11:55:43 AM CEST Boris Brezillon wrote: > > On Wed, 30 May 2018 22:39:03 +0200 > > > > Janusz Krzysztofik wrote: > > > On Wednesday, May 30, 2018 7:52:20 PM CEST Boris Brezillon wrote: > > > > On Wed, 30

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-06-04 Thread Janusz Krzysztofik
On Monday, June 4, 2018 11:55:43 AM CEST Boris Brezillon wrote: > On Wed, 30 May 2018 22:39:03 +0200 > > Janusz Krzysztofik wrote: > > On Wednesday, May 30, 2018 7:52:20 PM CEST Boris Brezillon wrote: > > > On Wed, 30 May 2018 19:43:09 +0200 > > > > > > Janusz Krzysztofik wrote: > > > > On

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-06-04 Thread Boris Brezillon
On Wed, 30 May 2018 22:39:03 +0200 Janusz Krzysztofik wrote: > On Wednesday, May 30, 2018 7:52:20 PM CEST Boris Brezillon wrote: > > On Wed, 30 May 2018 19:43:09 +0200 > > > > Janusz Krzysztofik wrote: > > > On Wednesday, May 30, 2018 11:05:00 AM CEST Boris Brezillon wrote: > > > > Hi

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-30 Thread Janusz Krzysztofik
On Wednesday, May 30, 2018 7:52:20 PM CEST Boris Brezillon wrote: > On Wed, 30 May 2018 19:43:09 +0200 > > Janusz Krzysztofik wrote: > > On Wednesday, May 30, 2018 11:05:00 AM CEST Boris Brezillon wrote: > > > Hi Janusz, > > > > Hi Boris, > > > > > On Sat, 26 May 2018 00:20:45 +0200 > > > > >

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-30 Thread Boris Brezillon
On Wed, 30 May 2018 19:43:09 +0200 Janusz Krzysztofik wrote: > On Wednesday, May 30, 2018 11:05:00 AM CEST Boris Brezillon wrote: > > Hi Janusz, > > Hi Boris, > > > On Sat, 26 May 2018 00:20:45 +0200 > > Janusz Krzysztofik wrote: > > > ... > > > Changes since v1: > > > - fix handling of

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-30 Thread Janusz Krzysztofik
On Wednesday, May 30, 2018 11:05:00 AM CEST Boris Brezillon wrote: > Hi Janusz, Hi Boris, > On Sat, 26 May 2018 00:20:45 +0200 > Janusz Krzysztofik wrote: > > ... > > Changes since v1: > > - fix handling of devm_gpiod_get_optional() return values - thanks to > > Andy Shevchenko. > > Can you

Re: [PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-30 Thread Boris Brezillon
Hi Janusz, On Sat, 26 May 2018 00:20:45 +0200 Janusz Krzysztofik wrote: > Now as the Amstrad Delta board provides GPIO lookup tables, switch from > GPIO numbers to GPIO descriptors and use the table to locate required > GPIO pins. > > Declare static variables for storing GPIO descriptors and

[PATCH 5/6 v2] mtd: rawnand: ams-delta: use GPIO lookup table

2018-05-25 Thread Janusz Krzysztofik
Now as the Amstrad Delta board provides GPIO lookup tables, switch from GPIO numbers to GPIO descriptors and use the table to locate required GPIO pins. Declare static variables for storing GPIO descriptors and replace gpio_ functions with their gpiod_ equivalents. Return -EPROBE_DEFER if the