Re: BUG: Staging: fbtft: Switch to the gpio descriptor interface

2019-07-11 Thread Nishad Kamdar
On Wed, Jul 10, 2019 at 04:31:09PM +0800, Phil Reid wrote: > G'day Nishad, > > I'm just wondering if the commit > c440eee1a7a1d0f "Staging: fbtft: Switch to the gpio descriptor interface" > was tested on anything. > > I've had to apply the following patch to get my display functioning again. > >

[PATCH] drm/i915: Use the correct style for SPDX License Identifier

2019-06-14 Thread Nishad Kamdar
provided by Joe Perches here: https://lkml.org/lkml/2019/2/7/46 and some manual changes. Suggested-by: Joe Perches Signed-off-by: Nishad Kamdar --- drivers/gpu/drm/i915/gem/i915_gem_clflush.h | 3 +-- drivers/gpu/drm/i915/gem/i915_gem_context.h | 3 +-- drivers/gpu/drm/i915/gem

Re: [PATCH v2] Staging: fbtft: Switch to the gpio descriptor interface

2019-01-17 Thread Nishad Kamdar
On Tue, Jan 15, 2019 at 04:02:31PM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 15, 2019 at 10:17:09AM +0530, Nishad Kamdar wrote: > > This switches the fbtft driver to use GPIO descriptors > > rather than numerical gpios: > > > > Utilize the GPIO library'

[PATCH v3] Staging: fbtft: Switch to the gpio descriptor interface

2019-01-17 Thread Nishad Kamdar
cally numbers to gpios in platform device nor allow gpios to be parsed as module parameters. Signed-off-by: Nishad Kamdar --- Changes in v3: - Correct the changelog position. Changes in v2: - Merge all patches in a single patch. This is because the first patch changes par->gpio from an int to a

[PATCH v2] Staging: fbtft: Switch to the gpio descriptor interface

2019-01-14 Thread Nishad Kamdar
cally numbers to gpios in platform device nor allow gpios to be parsed as module parameters. Signed-off-by: Nishad Kamdar Changes in v2: - Merge all patches in a single patch. This is because the first patch changes par->gpio from an int to a pointer so all the checks have to be updated in

[PATCH v2] Staging: fbtft: Switch to the gpio descriptor interface

2019-01-14 Thread Nishad Kamdar
cally numbers to gpios in platform device nor allow gpios to be parsed as module parameters. Signed-off-by: Nishad Kamdar Changes in v2: - Merge all patches in a single patch. This is because the first patch changes par->gpio from an int to a pointer so all the checks have to be updated in

Re: [PATCH 04/26] Staging: fbtft: flexfb: Switch to the gpio descriptor interface

2018-12-05 Thread Nishad Kamdar
On Mon, Nov 26, 2018 at 01:13:08PM +0300, Dan Carpenter wrote: > On Sun, Nov 25, 2018 at 04:56:29PM +0530, Nishad Kamdar wrote: > > This switches the flexfb.c to use GPIO descriptors > > rather than numerical gpios. > > > > Signed-off-by: Nishad Kamdar > > --- &g

[PATCH v2] Staging: fbtft: Switch to the gpio descriptor interface

2018-12-05 Thread Nishad Kamdar
cally numbers to gpios in platform device nor allow gpios to be parsed as module parameters. Signed-off-by: Nishad Kamdar Changes in v2: - Merge all patches in a single patch. This is because the first patch changed par->gpio from an int to a pointer so all the checks have to be updated in

[PATCH 26/26] Staging: fbtft: fb_ra8875: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ra8875.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ra8875.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fb_ra8875.c b/drivers/staging/fbtft/fb_ra8875.c

[PATCH 11/26] Staging: fbtft: fb_ili9340: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ili9340.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ili9340.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_ili9340.c b/drivers/staging/fbtft/fb_ili9340.c

[PATCH 14/26] Staging: fbtft: fb_ssd1289: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ssd1289.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ssd1289.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_ssd1289.c b/drivers/staging/fbtft

[PATCH 16/26] Staging: fbtft: fb_uc1701: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_uc1701.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_uc1701.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_uc1701.c b/drivers/staging/fbtft/fb_uc1701.c

[PATCH 18/26] Staging: fbtft: fb_bd663474: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_bd663474.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_bd663474.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_bd663474.c b/drivers/staging/fbtft

[PATCH 17/26] Staging: fbtft: fb_ssd1306: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ssd1306.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ssd1306.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fb_ssd1306.c b/drivers/staging/fbtft/fb_ssd1306

[PATCH 22/26] Staging: fbtft: fb_pcd8544: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_pcd8544.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_pcd8544.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fb_pcd8544.c b/drivers/staging/fbtft/fb_pcd8544

[PATCH 12/26] Staging: fbtft: fb_ssd1325: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ssd1325.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ssd1325.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_ssd1325.c b/drivers/staging/fbtft

[PATCH 24/26] Staging: fbtft: fb_tls8204: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_tls8204.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_tls8204.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_tls8204.c b/drivers/staging/fbtft

[PATCH 13/26] Staging: fbtft: fb_ili9325: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ili9325.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ili9325.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_ili9325.c b/drivers/staging/fbtft

[PATCH 09/26] Staging: fbtft: fb_s6d1211: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_s6d1211.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_s6d1121.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_s6d1121.c b/drivers/staging/fbtft

[PATCH 06/26] Staging: fbtft: fb_upd161704: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_upd161704.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_upd161704.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_upd161704.c b/drivers/staging/fbtft

[PATCH 23/26] Staging: fbtft: fb_ssd1305: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ssd1305.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ssd1305.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fb_ssd1305.c b/drivers/staging/fbtft/fb_ssd1305

[PATCH 25/26] Staging: fbtft: fb_watterott: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_watterott.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_watterott.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fb_watterott.c b/drivers/staging/fbtft

[PATCH 01/26] Staging: fbtft: fbtft-core: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fbtft-core to use GPIO descriptors rather than numerical gpios: Utilize the GPIO library's intrinsic handling of OF GPIOs and polarity. If the line is flagged active low, gpiolib will deal with this. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fbtft-core.c

[PATCH 20/26] Staging: fbtft: fb_ili9163: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ili9163.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ili9163.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fb_ili9163.c b/drivers/staging/fbtft

[PATCH 07/26] Staging: fbtft: fb_sh1106: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_sh1106.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_sh1106.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_sh1106.c b/drivers/staging/fbtft/fb_sh1106.c index

[PATCH 19/26] Staging: fbtft: fb_ssd1331: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ssd1331.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ssd1331.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/fbtft/fb_ssd1331.c b/drivers/staging/fbtft

[PATCH 00/26] Staging: fbtft: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fbtft driver to use GPIO descriptors rather than numerical gpios. Nishad Kamdar (26): Staging: fbtft: fbtft-core: Switch to the gpio descriptor interface Staging: fbtft: fbtft-bus: Switch to the gpio descriptor interface Staging: fbtft: fbtft-io: Switch to the gpio

[PATCH 04/26] Staging: fbtft: flexfb: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the flexfb.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/flexfb.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/fbtft/flexfb.c b/drivers/staging/fbtft/flexfb.c index

[PATCH 10/26] Staging: fbtft: fb_ili9320: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ili9320.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ili9320.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_ili9320.c b/drivers/staging/fbtft/fb_ili9320.c

[PATCH 08/26] Staging: fbtft: fb_uc1611: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_uc1611.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_uc1611.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fb_uc1611.c b/drivers/staging/fbtft/fb_uc1611.c

[PATCH 21/26] Staging: fbtft: fb_agm1264k-fl: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_agm1264k-fl.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_agm1264k-fl.c | 52 +- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/drivers/staging/fbtft/fb_agm1264k-fl.c

[PATCH 05/26] Staging: fbtft: fbtft-device: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fbtft-device.c to use GPIO descriptors rather than numerical gpios: Remove gpios from platform device structure. Neither assign statically numbers to gpios in platform device nor allow gpios to be parsed as module parameters. Signed-off-by: Nishad Kamdar --- drivers/staging

[PATCH 03/26] Staging: fbtft: fbtft-io: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fbtft-io to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fbtft-io.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-io.c b/drivers/staging

[PATCH 15/26] Staging: fbtft: fb_ssd1351: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fb_ssd1351.c to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fb_ssd1351.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_ssd1351.c b/drivers/staging/fbtft/fb_ssd1351.c

[PATCH 02/26] Staging: fbtft: fbtft-bus: Switch to the gpio descriptor interface

2018-11-26 Thread Nishad Kamdar
This switches the fbtft-bus to use GPIO descriptors rather than numerical gpios. Signed-off-by: Nishad Kamdar --- drivers/staging/fbtft/fbtft-bus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c