[PATCH 1/4] ARM: dts: imx6ul-14x14-evk: Fix SPI chipselect polarity
Fabio Estevam
festevam at gmail.com
Thu Jan 7 18:50:41 EST 2021
The GPIO expander SPI chipselect is active low. Mark it as such to avoid
the following warning:
[ 6.839213] gpio at 0 enforce active low on chipselect handle
Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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>;
--
2.17.1
More information about the linux-arm-kernel
mailing list