Closed gtxzsxxk closed 10 months ago
Maintainer status from the frontpage wiki:
fbtft is currently listed as orphaned in MAINTANERS so it doesn't have someone looking after it, at least officially.
Status of the code in this repo: https://github.com/notro/fbtft/blob/master/README#L4-L6
Unfortunately the reset polarity was changed in this commit: https://github.com/torvalds/linux/commit/ec03c2104365ead0a33627c05e685093eed3eaef
the cs
gpio is used for chip select on a parallell bus.
Your comment explains. Thanks.
Are you still maintaining the mainline linux's fbtft drivers? I see that there are quite a few differences between the mainline linux and this repo. Take a probable mistake in the mainline
fbtft-core.c
for example.mainline code
this repo
Note that for most tft-lcds the reset logic is negative, i.e. when the reset pin is low-level, the lcd will reset. And the mainline code is causing problems. The comment is
activate chip
but what is it doing? It is resetting the lcds because it keeps the reset pin low and it is disabling the lcds too because it keeps cs high. I believe the mainline code is having some typo because when I make thepar->gpio.cs
intopar->gpio.reset
every thing begins to work.