[ Upstream commit f90b8fda3a9d72a9422ea80ae95843697f94ea4a ]

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.wall...@linaro.org
Cc: sta...@vger.kernel.org
Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
Signed-off-by: Olof Johansson <o...@lixom.net>
Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 arch/arm/boot/dts/gemini-dlink-dir-685.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/gemini-dlink-dir-685.dts 
b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
index 502a361d1fe90..15d6157b661db 100644
--- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
+++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
@@ -65,7 +65,7 @@
                gpio-miso = <&gpio1 8 GPIO_ACTIVE_HIGH>;
                gpio-mosi = <&gpio1 7 GPIO_ACTIVE_HIGH>;
                /* Collides with pflash CE1, not so cool */
-               cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
+               cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                num-chipselects = <1>;
 
                panel: display@0 {
-- 
2.20.1



Reply via email to