ARM: dts: imx6ul-14x14-evk: Fix SPI chipselect polarity
authorFabio Estevam <festevam@gmail.com>
Thu, 7 Jan 2021 23:50:41 +0000 (20:50 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 18 Jan 2021 00:07:14 +0000 (08:07 +0800)
The GPIO expander SPI chipselect is active low. Mark it as such to avoid
the following warning:

[    6.839213] gpio@0 enforce active low on chipselect handle

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi

index 64c2d1e9f7fce320557909cdfdc46703349abe30..a6dbfa85bb6af4e2746e1536dcdaad6d026ca66f 100644 (file)
                status = "okay";
                gpio-sck = <&gpio5 11 0>;
                gpio-mosi = <&gpio5 10 0>;
-               cs-gpios = <&gpio5 7 0>;
+               cs-gpios = <&gpio5 7 GPIO_ACTIVE_LOW>;
                num-chipselects = <1>;
                #address-cells = <1>;
                #size-cells = <0>;