This reverts commit f1f028ff89cb.
commit 6953c57ab172 ("gpio: of: Handle SPI chipselect legacy bindings")
did introduce logic to centrally handle the legacy spi-cs-high property
in combination with cs-gpios. This assumes that the polarity
of the CS has to be inverted if spi-cs-high is missing, even
and especially if non-legacy GPIO_ACTIVE_HIGH is specified.
As a result we had to introduce spi-cs-high to the device tree by
commit f1f028ff89cb ("DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again")
Now,
commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
removes this inversion logic again and the GTA04 display is broken again.
So we have to revert the device tree change again.
But we should revert it only if
commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
is present in some kernel version. Hence this is the Fixes: reference
and not the original change.
Fixes: 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
CC: stable(a)vger.kernel.org
Signed-off-by: H. Nikolaus Schaller <hns(a)goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 432bbb21ddd05a..7c4c0124e20d45 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -149,7 +149,6 @@ lcd: td028ttec1@0 {
spi-max-frequency = <100000>;
spi-cpol;
spi-cpha;
- spi-cs-high;
backlight= <&backlight>;
label = "lcd";
--
2.26.2