[PATCH 0/2] Staging: fbtft: Fix probing of gpio descriptor

2019-07-15 Thread Phil Reid
GPIO probing and reset polarity are broken. Fix them. Fixes: c440eee1a7a1 ("Staging: fbtft: Switch to the gpio descriptor interface") Changes from v2: - Add fixes tag to "Fix reset assertion when using gpio descriptor" - Add tested-by / reviewed-by tags Phil Reid (2):

[PATCH v2 1/2] Staging: fbtft: Fix probing of gpio descriptor

2019-07-15 Thread Phil Reid
t;Staging: fbtft: Switch to the gpio descriptor interface") Reviewed-by: Nicolas Saenz Julienne Tested-by: Nicolas Saenz Julienne Tested-by: Jan Sebastian Götte Signed-off-by: Phil Reid --- drivers/staging/fbtft/fbtft-core.c | 39 ++ 1 file changed,

[PATCH v2 2/2] Staging: fbtft: Fix reset assertion when using gpio descriptor

2019-07-15 Thread Phil Reid
ötte Signed-off-by: Phil Reid --- drivers/staging/fbtft/fbtft-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 44b8074..bc75025 100644 --- a/drivers/staging/fbtft/fbtft-core.c +++ b/drive

[PATCH 1/2] Staging: fbtft: Fix probing of gpio descriptor

2019-07-12 Thread Phil Reid
t;Staging: fbtft: Switch to the gpio descriptor interface") Signed-off-by: Phil Reid --- drivers/staging/fbtft/fbtft-core.c | 39 ++ 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbt

[PATCH 0/2] Staging: fbtft: Fix probing of gpio descriptor

2019-07-12 Thread Phil Reid
GPIO probing and reset polarity are broken. Fix them. Fixes: c440eee1a7a1 ("Staging: fbtft: Switch to the gpio descriptor interface") Phil Reid (2): Staging: fbtft: Fix probing of gpio descriptor Staging: fbtft: Fix reset assertion when using gpio descriptor drivers/staging/f

[PATCH 2/2] Staging: fbtft: Fix reset assertion when using gpio descriptor

2019-07-12 Thread Phil Reid
calls the polarity in the DT was ignored and assumed to be active low. Fix it so that DT polarity is respected. Signed-off-by: Phil Reid --- drivers/staging/fbtft/fbtft-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/s

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

2019-07-11 Thread Phil Reid
On 10/07/2019 17:05, Nicolas Saenz Julienne wrote: On Wed, 2019-07-10 at 16:31 +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 t

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

2019-07-11 Thread Phil Reid
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. in particular the devm_gpiod_get_index using dev->driver->name for the gpio