ARM: dts: imx: Fix ECSPI nCS polarity on M53Menlo
Subsystems (2)
PATCH 1/1 ARM: dts: imx: Fix ECSPI nCS polarity on M53Menlo
This board has the nCS lines connected to a CPLD and they are active high. Undo the change from 2bfdd113d0ee1 ("ARM: dts: imx: Fix the SPI chipselect polarity") for this board, as the previous DT description was correct.
--- arch/arm/boot/dts/imx53-m53menlo.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx53-m53menlo.dts +1 -1
@@ -104,7 +104,7 @@ &clks { &ecspi2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi2>; - cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, <&gpio2 27 GPIO_ACTIVE_LOW>; + cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, <&gpio2 27 GPIO_ACTIVE_HIGH>; status = "okay"; spidev@0 {
Signature · 7 lines
2.33.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Fabio Estevam
reviewer[Adding Linus]
Quoted 20 lines · Marek Vasut
This board has the nCS lines connected to a CPLD and they are active high. Undo the change from
2bfdd113d0ee1("ARM: dts: imx: Fix the SPI chipselect polarity") for this board, as the previous DT description was correct.Fixes 2bfdd113d0ee1 ("ARM: dts: imx: Fix the SPI chipselect polarity")Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Cc Fabio Estevam <[email protected]>Cc NXP Linux Team <[email protected]>--- arch/arm/boot/dts/imx53-m53menlo.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boot/dts/imx53-m53menlo.dts +0
-0
arch/arm/boot/dts/imx53-m53menlo.dts &clks { · line 110
Quoted 8 lines
arch/arm/boot/dts/imx53-m53menlo.dts +1
-1@@ -104,7 +104,7 @@ &clks { &ecspi2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi2>; - cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, <&gpio2 27 GPIO_ACTIVE_LOW>; + cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, <&gpio2 27 GPIO_ACTIVE_HIGH>; status = "okay"; spidev@0 {
Then you need to pass the 'spi-cs-high' property under the spidev nodes.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 30 lines · Fabio Estevam
[Adding Linus]
Quoted 27 lines · Marek Vasut
This board has the nCS lines connected to a CPLD and they are active high. Undo the change from
2bfdd113d0ee1("ARM: dts: imx: Fix the SPI chipselect polarity") for this board, as the previous DT description was correct.Fixes 2bfdd113d0ee1 ("ARM: dts: imx: Fix the SPI chipselect polarity")Signed-off-by Marek Vasut <[email protected]>Cc Shawn Guo <[email protected]>Cc Fabio Estevam <[email protected]>Cc NXP Linux Team <[email protected]>--- arch/arm/boot/dts/imx53-m53menlo.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boot/dts/imx53-m53menlo.dts +1
-1@@ -104,7 +104,7 @@ &clks { &ecspi2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi2>; - cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, <&gpio2 27 GPIO_ACTIVE_LOW>; + cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, <&gpio2 27 GPIO_ACTIVE_HIGH>; status = "okay";
Quoted 3 lines
arch/arm/boot/dts/imx53-m53menlo.dts &clks { · line 110
Quoted 1 line
arch/arm/boot/dts/imx53-m53menlo.dts +0
-0spidev@0 {Then you need to pass the 'spi-cs-high' property under the spidev nodes.
Turns out this patch can be dropped altogether.
Please drop this one.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel