Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: nomadik: Set up the CS GPIO right

Now that the SPI GPIO driver knows how to handle these
chip select GPIOs and we get nasty messages about the
core having to enforce active low on the GPIO, fix this
up by actually requesting the CS GPIO line as active
low.

Link: https://lore.kernel.org/r/20190813072731.4558-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Linus Walleij and committed by
Arnd Bergmann
c08b5984 d45331b0

+1 -7
+1 -7
arch/arm/boot/dts/ste-nomadik-nhk15.dts
··· 212 212 */ 213 213 gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>; 214 214 gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>; 215 - /* 216 - * It's not actually active high, but the frameworks assume 217 - * the polarity of the passed-in GPIO is "normal" (active 218 - * high) then actively drives the line low to select the 219 - * chip. 220 - */ 221 - cs-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; 215 + cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 222 216 num-chipselects = <1>; 223 217 224 218 /*