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):
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,
ö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
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
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
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
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
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