Message ID | 20210107235044.7897-1-festevam@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/4] ARM: dts: imx6ul-14x14-evk: Fix SPI chipselect polarity | expand |
On Thu, Jan 07, 2021 at 08:50:41PM -0300, Fabio Estevam wrote: > 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> Applied, thanks.
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi index 64c2d1e9f7fc..a6dbfa85bb6a 100644 --- a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi +++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi @@ -101,7 +101,7 @@ 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>;
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> --- arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)