]> git.baikalelectronics.ru Git - kernel.git/commit
DTS: ARM: gta04: remove legacy spi-cs-high to make display work again
authorH. Nikolaus Schaller <hns@goldelico.com>
Sat, 12 Dec 2020 09:55:25 +0000 (10:55 +0100)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Dec 2020 07:12:06 +0000 (09:12 +0200)
commit2b962ee29943ae83e50c1e5cf9ca204ef7c3fa7f
tree3f043e681385aa252b63d98dcb266aa7d999e4fb
parent7c22cdbcb753579a90a24b1dee4b784c8a72a71b
DTS: ARM: gta04: remove legacy spi-cs-high to make display work again

This reverts

commit ff985142b2bf ("DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again")

which had to be intruduced after

commit 9c2ca910757d ("gpio: of: Handle SPI chipselect legacy bindings")

broke the GTA04 display. This contradicted the data sheet but was the only
way to get it as an spi client operational again.

The panel data sheet defines the chip-select to be active low.

Now, with the arrival of

commit b4f521973678 ("spi: fix client driver breakages when using GPIO descriptors")

the logic of interaction between spi-cs-high and the gpio descriptor flags
has been changed a second time, making the display broken again. So we have
to remove the original fix which in retrospect was a workaround of a bug in
the spi subsystem and not a feature of the panel or bug in the device tree.

With this fix the device tree is back in sync with the data sheet and
spi subsystem code.

Fixes: b4f521973678 ("spi: fix client driver breakages when using GPIO descriptors")
CC: stable@vger.kernel.org
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-gta04.dtsi