]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:13:02 +0000 (09:13 +0200)
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>
arch/arm/boot/dts/gemini-dlink-dir-685.dts

index 592111c8d6fdfcd299a316b2bf02d757c6f40cef..dfe3da77b43769d78de5db9188bf6affbbed908c 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 {