]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ARM: dts: gemini: Set DIR-685 SPI CS as active low
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Jul 2019 20:21:01 +0000 (22:21 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 16 Jul 2019 00:33:09 +0000 (17:33 -0700)
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>
arch/arm/boot/dts/gemini-dlink-dir-685.dts

index cfbfbc91a1e1a23ebd9c91f2153ee8f17bea4fdf..4df1f038d2150e7004517862de0cf41a898fe1ea 100644 (file)
@@ -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 {