summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-07-15 22:21:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-26 09:13:02 +0200
commit4c64814abe29c823d9c91818d13996ae5dc81544 (patch)
tree7dbfc11ba625eda42841871239a521a4e9c9b891
parentea3f1487159894501d1d3a1e120e826e24d3b3a3 (diff)
downloadlinux-stable-4c64814abe29c823d9c91818d13996ae5dc81544.tar.gz
linux-stable-4c64814abe29c823d9c91818d13996ae5dc81544.tar.bz2
linux-stable-4c64814abe29c823d9c91818d13996ae5dc81544.zip
ARM: dts: gemini: Set DIR-685 SPI CS as active low
commit f90b8fda3a9d72a9422ea80ae95843697f94ea4a upstream. The SPI to the display on the DIR-685 is active low, we were just saved by the SPI library enforcing active low on everything before, so set it as active low to avoid ambiguity. Link: https://lore.kernel.org/r/20190715202101.16060-1-linus.walleij@linaro.org Cc: stable@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/arm/boot/dts/gemini-dlink-dir-685.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/gemini-dlink-dir-685.dts b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
index 592111c8d6fd..dfe3da77b437 100644
--- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
+++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
@@ -64,7 +64,7 @@
gpio-sck = <&gpio1 5 GPIO_ACTIVE_HIGH>;
gpio-miso = <&gpio1 8 GPIO_ACTIVE_HIGH>;
gpio-mosi = <&gpio1 7 GPIO_ACTIVE_HIGH>;
- cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
+ cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
num-chipselects = <1>;
panel: display@0 {