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

ARM: dts: imx: Fix the SPI chipselect polarity

The conversion of the spi-imx driver to use GPIO descriptors
in commit 8cdcd8aeee28 ("spi: imx/fsl-lpspi: Convert to GPIO descriptors")
helped to detect the following SPI chipselect polarity mismatch on an
imx6q-sabresd:

[ 4.854337] m25p80@0 enforce active low on chipselect handle

Prior to the above commit, the chipselect polarity passed via cs-gpios
property was ignored and considered active-low.

The reason for such mismatch is clearly explained in the comments inside
drivers/gpio/gpiolib-of.c:

* SPI children have active low chip selects
* by default. This can be specified negatively
* by just omitting "spi-cs-high" in the
* device node, or actively by tagging on
* GPIO_ACTIVE_LOW as flag in the device
* tree. If the line is simultaneously
* tagged as active low in the device tree
* and has the "spi-cs-high" set, we get a
* conflict and the "spi-cs-high" flag will
* take precedence.

To properly represent the SPI chipselect polarity, change it to active-low
when the "spi-cs-high" property is absent.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Fabio Estevam and committed by
Shawn Guo
2bfdd113 0b784a7b

+82 -81
+2 -2
arch/arm/boot/dts/imx27-phytec-phycard-s-som.dtsi
··· 18 18 }; 19 19 20 20 &cspi1 { 21 - cs-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>, 22 - <&gpio4 27 GPIO_ACTIVE_HIGH>; 21 + cs-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>, 22 + <&gpio4 27 GPIO_ACTIVE_LOW>; 23 23 status = "okay"; 24 24 }; 25 25
+1 -1
arch/arm/boot/dts/imx27-phytec-phycore-rdk.dts
··· 65 65 66 66 &cspi1 { 67 67 pinctrl-0 = <&pinctrl_cspi1>, <&pinctrl_cspi1cs1>; 68 - cs-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>, 68 + cs-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>, 69 69 <&gpio4 27 GPIO_ACTIVE_LOW>; 70 70 }; 71 71
+1 -1
arch/arm/boot/dts/imx50-evk.dts
··· 20 20 &cspi { 21 21 pinctrl-names = "default"; 22 22 pinctrl-0 = <&pinctrl_cspi>; 23 - cs-gpios = <&gpio4 11 0>, <&gpio4 13 0>; 23 + cs-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>, <&gpio4 13 GPIO_ACTIVE_LOW>; 24 24 status = "okay"; 25 25 26 26 flash: m25p32@1 {
+2 -2
arch/arm/boot/dts/imx51-apf51dev.dts
··· 74 74 &ecspi1 { 75 75 pinctrl-names = "default"; 76 76 pinctrl-0 = <&pinctrl_ecspi1>; 77 - cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>, 78 - <&gpio4 25 GPIO_ACTIVE_HIGH>; 77 + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>, 78 + <&gpio4 25 GPIO_ACTIVE_LOW>; 79 79 status = "okay"; 80 80 }; 81 81
+1 -1
arch/arm/boot/dts/imx53-m53menlo.dts
··· 104 104 &ecspi2 { 105 105 pinctrl-names = "default"; 106 106 pinctrl-0 = <&pinctrl_ecspi2>; 107 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, <&gpio2 27 GPIO_ACTIVE_HIGH>; 107 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, <&gpio2 27 GPIO_ACTIVE_LOW>; 108 108 status = "okay"; 109 109 110 110 spidev@0 {
+1 -1
arch/arm/boot/dts/imx53-smd.dts
··· 58 58 &ecspi1 { 59 59 pinctrl-names = "default"; 60 60 pinctrl-0 = <&pinctrl_ecspi1>; 61 - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; 61 + cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>; 62 62 status = "okay"; 63 63 64 64 zigbee: mc1323@0 {
+4 -4
arch/arm/boot/dts/imx53-tqma53.dtsi
··· 50 50 &ecspi1 { 51 51 pinctrl-names = "default"; 52 52 pinctrl-0 = <&pinctrl_ecspi1>; 53 - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>, 54 - <&gpio3 24 0>, <&gpio3 25 0>; 53 + cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>, 54 + <&gpio3 24 GPIO_ACTIVE_LOW>, <&gpio3 25 GPIO_ACTIVE_LOW>; 55 55 status = "disabled"; 56 56 }; 57 57 ··· 251 251 &cspi { 252 252 pinctrl-names = "default"; 253 253 pinctrl-0 = <&pinctrl_cspi>; 254 - cs-gpios = <&gpio1 18 0>, <&gpio1 19 0>, 255 - <&gpio1 21 0>; 254 + cs-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>, <&gpio1 19 GPIO_ACTIVE_LOW>, 255 + <&gpio1 21 GPIO_ACTIVE_LOW>; 256 256 status = "disabled"; 257 257 }; 258 258
+2 -1
arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi
··· 119 119 &ecspi1 { 120 120 pinctrl-names = "default"; 121 121 pinctrl-0 = <&pinctrl_ecspi1>; 122 - cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>, <&gpio2 16 0>, <&gpio2 17 0>; 122 + cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>, 123 + <&gpio2 16 GPIO_ACTIVE_LOW>, <&gpio2 17 GPIO_ACTIVE_LOW>; 123 124 status = "okay"; 124 125 }; 125 126
+1 -1
arch/arm/boot/dts/imx6dl-aristainetos_4.dts
··· 61 61 }; 62 62 63 63 &ecspi2 { 64 - cs-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; 64 + cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>; 65 65 pinctrl-names = "default"; 66 66 pinctrl-0 = <&pinctrl_ecspi2>; 67 67 status = "okay";
+2 -2
arch/arm/boot/dts/imx6dl-eckelmann-ci4x10.dts
··· 67 67 &ecspi2 { 68 68 pinctrl-names = "default"; 69 69 pinctrl-0 = <&pinctrl_ecspi2>; 70 - cs-gpios = <&gpio5 12 GPIO_ACTIVE_HIGH>; 70 + cs-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>; 71 71 status = "okay"; 72 72 73 73 flash@0 { ··· 80 80 &ecspi1 { 81 81 pinctrl-names = "default"; 82 82 pinctrl-0 = <&pinctrl_ecspi1>; 83 - cs-gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; 83 + cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; 84 84 status = "okay"; 85 85 86 86 tpm@0 {
+2 -2
arch/arm/boot/dts/imx6dl-prtrvt.dts
··· 37 37 }; 38 38 39 39 &ecspi1 { 40 - cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 40 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 41 41 pinctrl-names = "default"; 42 42 pinctrl-0 = <&pinctrl_ecspi1>; 43 43 status = "okay"; ··· 52 52 }; 53 53 54 54 &ecspi3 { 55 - cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 55 + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 56 56 pinctrl-names = "default"; 57 57 pinctrl-0 = <&pinctrl_ecspi3>; 58 58 status = "okay";
+1 -1
arch/arm/boot/dts/imx6dl-prtvt7.dts
··· 219 219 }; 220 220 221 221 &ecspi2 { 222 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 222 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 223 223 pinctrl-names = "default"; 224 224 pinctrl-0 = <&pinctrl_ecspi2>; 225 225 status = "okay";
+1 -1
arch/arm/boot/dts/imx6q-ba16.dtsi
··· 134 134 }; 135 135 136 136 &ecspi1 { 137 - cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>; 137 + cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>; 138 138 pinctrl-names = "default"; 139 139 pinctrl-0 = <&pinctrl_ecspi1>; 140 140 status = "okay";
+1 -1
arch/arm/boot/dts/imx6q-bx50v3.dtsi
··· 155 155 }; 156 156 157 157 &ecspi5 { 158 - cs-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; 158 + cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; 159 159 pinctrl-names = "default"; 160 160 pinctrl-0 = <&pinctrl_ecspi5>; 161 161 status = "okay";
+1 -1
arch/arm/boot/dts/imx6q-cm-fx6.dts
··· 255 255 }; 256 256 257 257 &ecspi1 { 258 - cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>, <&gpio3 19 GPIO_ACTIVE_HIGH>; 258 + cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio3 19 GPIO_ACTIVE_LOW>; 259 259 pinctrl-names = "default"; 260 260 pinctrl-0 = <&pinctrl_ecspi1>; 261 261 status = "okay";
+1 -1
arch/arm/boot/dts/imx6q-dhcom-som.dtsi
··· 59 59 }; 60 60 61 61 &ecspi1 { 62 - cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>, <&gpio4 11 GPIO_ACTIVE_HIGH>; 62 + cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio4 11 GPIO_ACTIVE_LOW>; 63 63 pinctrl-names = "default"; 64 64 pinctrl-0 = <&pinctrl_ecspi1>; 65 65 status = "okay";
+1 -1
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts
··· 99 99 &ecspi5 { 100 100 pinctrl-names = "default"; 101 101 pinctrl-0 = <&pinctrl_ecspi5>; 102 - cs-gpios = <&gpio1 12 0>; 102 + cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 103 103 status = "okay"; 104 104 105 105 flash: m25p80@0 {
+1 -1
arch/arm/boot/dts/imx6q-dms-ba16.dts
··· 42 42 }; 43 43 44 44 &ecspi5 { 45 - cs-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; 45 + cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; 46 46 pinctrl-names = "default"; 47 47 pinctrl-0 = <&pinctrl_ecspi5>; 48 48 status = "okay";
+1 -1
arch/arm/boot/dts/imx6q-gw5400-a.dts
··· 132 132 }; 133 133 134 134 &ecspi1 { 135 - cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 135 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 136 136 pinctrl-names = "default"; 137 137 pinctrl-0 = <&pinctrl_ecspi1>; 138 138 status = "okay";
+3 -3
arch/arm/boot/dts/imx6q-kontron-samx6i.dtsi
··· 15 15 /* Quad/Dual SoMs have 3 chip-select signals */ 16 16 &ecspi4 { 17 17 fsl,spi-num-chipselects = <3>; 18 - cs-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>, 19 - <&gpio3 29 GPIO_ACTIVE_HIGH>, 20 - <&gpio3 25 GPIO_ACTIVE_HIGH>; 18 + cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>, 19 + <&gpio3 29 GPIO_ACTIVE_LOW>, 20 + <&gpio3 25 GPIO_ACTIVE_LOW>; 21 21 }; 22 22 23 23 &pinctrl_ecspi4 {
+3 -3
arch/arm/boot/dts/imx6q-prti6q.dts
··· 158 158 }; 159 159 160 160 &ecspi1 { 161 - cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 161 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 162 162 pinctrl-names = "default"; 163 163 pinctrl-0 = <&pinctrl_ecspi1>; 164 164 status = "okay"; ··· 171 171 }; 172 172 173 173 &ecspi2 { 174 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, <&gpio4 25 GPIO_ACTIVE_HIGH>; 174 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, <&gpio4 25 GPIO_ACTIVE_LOW>; 175 175 pinctrl-names = "default"; 176 176 pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>; 177 177 status = "okay"; ··· 195 195 }; 196 196 197 197 &ecspi3 { 198 - cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 198 + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 199 199 pinctrl-names = "default"; 200 200 pinctrl-0 = <&pinctrl_ecspi3>; 201 201 status = "okay";
+2 -2
arch/arm/boot/dts/imx6q-var-dt6customboard.dts
··· 144 144 }; 145 145 146 146 &ecspi1 { 147 - cs-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>, 148 - <&gpio4 10 GPIO_ACTIVE_HIGH>; 147 + cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>, 148 + <&gpio4 10 GPIO_ACTIVE_LOW>; 149 149 status = "okay"; 150 150 }; 151 151
+2 -2
arch/arm/boot/dts/imx6qdl-apalis.dtsi
··· 127 127 128 128 /* Apalis SPI1 */ 129 129 &ecspi1 { 130 - cs-gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; 130 + cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; 131 131 pinctrl-names = "default"; 132 132 pinctrl-0 = <&pinctrl_ecspi1>; 133 133 status = "disabled"; ··· 135 135 136 136 /* Apalis SPI2 */ 137 137 &ecspi2 { 138 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 138 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 139 139 pinctrl-names = "default"; 140 140 pinctrl-0 = <&pinctrl_ecspi2>; 141 141 status = "disabled";
+1 -1
arch/arm/boot/dts/imx6qdl-aristainetos.dtsi
··· 91 91 }; 92 92 93 93 &ecspi4 { 94 - cs-gpios = <&gpio3 20 0>; 94 + cs-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>; 95 95 pinctrl-names = "default"; 96 96 pinctrl-0 = <&pinctrl_ecspi4>; 97 97 status = "okay";
+5 -5
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi
··· 110 110 }; 111 111 112 112 &ecspi1 { 113 - cs-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH 114 - &gpio4 10 GPIO_ACTIVE_HIGH 115 - &gpio4 11 GPIO_ACTIVE_HIGH>; 113 + cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW 114 + &gpio4 10 GPIO_ACTIVE_LOW 115 + &gpio4 11 GPIO_ACTIVE_LOW>; 116 116 pinctrl-names = "default"; 117 117 pinctrl-0 = <&pinctrl_ecspi1>; 118 118 status = "okay"; 119 119 }; 120 120 121 121 &ecspi2 { 122 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH &gpio2 27 GPIO_ACTIVE_HIGH>; 122 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW &gpio2 27 GPIO_ACTIVE_LOW>; 123 123 pinctrl-names = "default"; 124 124 pinctrl-0 = <&pinctrl_ecspi2>; 125 125 status = "okay"; 126 126 }; 127 127 128 128 &ecspi4 { 129 - cs-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH &gpio5 2 GPIO_ACTIVE_HIGH>; 129 + cs-gpios = <&gpio3 29 GPIO_ACTIVE_LOW &gpio5 2 GPIO_ACTIVE_LOW>; 130 130 pinctrl-names = "default"; 131 131 pinctrl-0 = <&pinctrl_ecspi4>; 132 132 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-colibri.dtsi
··· 94 94 95 95 /* Colibri SSP */ 96 96 &ecspi4 { 97 - cs-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; 97 + cs-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; 98 98 pinctrl-names = "default"; 99 99 pinctrl-0 = <&pinctrl_ecspi4>; 100 100 status = "disabled";
+1 -1
arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi
··· 30 30 }; 31 31 32 32 &ecspi3 { 33 - cs-gpios = <&gpio4 24 0>; 33 + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 34 34 pinctrl-names = "default"; 35 35 pinctrl-0 = <&pinctrl_ecspi3>; 36 36 status = "okay";
+2 -2
arch/arm/boot/dts/imx6qdl-emcon.dtsi
··· 168 168 &ecspi2 { 169 169 pinctrl-names = "default"; 170 170 pinctrl-0 = <&pinctrl_ecspi2>; 171 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, 172 - <&gpio2 27 GPIO_ACTIVE_HIGH>; 171 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, 172 + <&gpio2 27 GPIO_ACTIVE_LOW>; 173 173 }; 174 174 175 175 &ecspi4 {
+1 -1
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
··· 182 182 }; 183 183 184 184 &ecspi3 { 185 - cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 185 + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 186 186 pinctrl-names = "default"; 187 187 pinctrl-0 = <&pinctrl_ecspi3>; 188 188 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
··· 212 212 }; 213 213 214 214 &ecspi2 { 215 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 215 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 216 216 pinctrl-names = "default"; 217 217 pinctrl-0 = <&pinctrl_ecspi2>; 218 218 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-gw560x.dtsi
··· 252 252 }; 253 253 254 254 &ecspi3 { 255 - cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 255 + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 256 256 pinctrl-names = "default"; 257 257 pinctrl-0 = <&pinctrl_ecspi3>; 258 258 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-gw5910.dtsi
··· 134 134 135 135 136 136 &ecspi3 { 137 - cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 137 + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 138 138 pinctrl-names = "default"; 139 139 pinctrl-0 = <&pinctrl_ecspi3>; 140 140 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-gw5912.dtsi
··· 129 129 }; 130 130 131 131 &ecspi2 { 132 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 132 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 133 133 pinctrl-names = "default"; 134 134 pinctrl-0 = <&pinctrl_ecspi2>; 135 135 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
··· 203 203 &ecspi2 { 204 204 pinctrl-names = "default"; 205 205 pinctrl-0 = <&pinctrl_hummingboard2_ecspi2>; 206 - cs-gpios = <&gpio2 26 0>; 206 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 207 207 status = "okay"; 208 208 }; 209 209
+4 -4
arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi
··· 245 245 &ecspi2 { 246 246 pinctrl-names = "default"; 247 247 pinctrl-0 = <&pinctrl_ecspi2>; 248 - cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>, 249 - <&gpio2 27 GPIO_ACTIVE_HIGH>; 248 + cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>, 249 + <&gpio2 27 GPIO_ACTIVE_LOW>; 250 250 }; 251 251 252 252 /* SPI0 */ 253 253 &ecspi4 { 254 254 pinctrl-names = "default"; 255 255 pinctrl-0 = <&pinctrl_ecspi4>; 256 - cs-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>, 257 - <&gpio3 29 GPIO_ACTIVE_HIGH>; 256 + cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>, 257 + <&gpio3 29 GPIO_ACTIVE_LOW>; 258 258 status = "okay"; 259 259 260 260 /* default boot source: workaround #1 for errata ERR006282 */
+1 -1
arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi
··· 316 316 }; 317 317 318 318 &ecspi1 { 319 - cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 319 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 320 320 pinctrl-names = "default"; 321 321 pinctrl-0 = <&pinctrl_ecspi1>; 322 322 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-nitrogen6_som2.dtsi
··· 247 247 }; 248 248 249 249 &ecspi1 { 250 - cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 250 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 251 251 pinctrl-names = "default"; 252 252 pinctrl-0 = <&pinctrl_ecspi1>; 253 253 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi
··· 232 232 }; 233 233 234 234 &ecspi1 { 235 - cs-gpios = <&gpio3 19 0>; 235 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 236 236 pinctrl-names = "default"; 237 237 pinctrl-0 = <&pinctrl_ecspi1>; 238 238 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
··· 71 71 pinctrl-names = "default"; 72 72 pinctrl-0 = <&pinctrl_ecspi3>; 73 73 status = "okay"; 74 - cs-gpios = <&gpio4 24 0>; 74 + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 75 75 76 76 som_flash: flash@0 { 77 77 compatible = "m25p80", "jedec,spi-nor";
+1 -1
arch/arm/boot/dts/imx6qdl-pico.dtsi
··· 167 167 &ecspi2 { 168 168 pinctrl-names = "default"; 169 169 pinctrl-0 = <&pinctrl_ecspi2>; 170 - cs-gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; 170 + cs-gpios = <&gpio2 27 GPIO_ACTIVE_LOW>; 171 171 status = "okay"; 172 172 }; 173 173
+1 -1
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
··· 267 267 }; 268 268 269 269 &ecspi1 { 270 - cs-gpios = <&gpio3 19 0>; 270 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 271 271 pinctrl-names = "default"; 272 272 pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>; 273 273 status = "disabled"; /* pin conflict with WEIM NOR */
+1 -1
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
··· 308 308 }; 309 309 310 310 &ecspi1 { 311 - cs-gpios = <&gpio3 19 0>; 311 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 312 312 pinctrl-names = "default"; 313 313 pinctrl-0 = <&pinctrl_ecspi1>; 314 314 status = "okay";
+1 -1
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
··· 189 189 }; 190 190 191 191 &ecspi1 { 192 - cs-gpios = <&gpio4 9 0>; 192 + cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; 193 193 pinctrl-names = "default"; 194 194 pinctrl-0 = <&pinctrl_ecspi1>; 195 195 status = "okay";
+2 -2
arch/arm/boot/dts/imx6qdl-ts4900.dtsi
··· 95 95 }; 96 96 97 97 &ecspi1 { 98 - cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 98 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 99 99 pinctrl-names = "default"; 100 100 pinctrl-0 = <&pinctrl_ecspi1>; 101 101 status = "okay"; ··· 108 108 }; 109 109 110 110 &ecspi2 { 111 - cs-gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; 111 + cs-gpios = <&gpio6 2 GPIO_ACTIVE_LOW>; 112 112 pinctrl-names = "default"; 113 113 pinctrl-0 = <&pinctrl_ecspi2>; 114 114 status = "okay";
+4 -4
arch/arm/boot/dts/imx6qdl-ts7970.dtsi
··· 165 165 }; 166 166 167 167 &ecspi1 { 168 - cs-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; 168 + cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 169 169 pinctrl-names = "default"; 170 170 pinctrl-0 = <&pinctrl_ecspi1>; 171 171 status = "okay"; ··· 179 179 180 180 &ecspi2 { 181 181 cs-gpios = < 182 - &gpio5 31 GPIO_ACTIVE_HIGH 183 - &gpio7 12 GPIO_ACTIVE_HIGH 184 - &gpio5 18 GPIO_ACTIVE_HIGH 182 + &gpio5 31 GPIO_ACTIVE_LOW 183 + &gpio7 12 GPIO_ACTIVE_LOW 184 + &gpio5 18 GPIO_ACTIVE_LOW 185 185 >; 186 186 pinctrl-names = "default"; 187 187 pinctrl-0 = <&pinctrl_ecspi2>;
+1 -1
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
··· 316 316 &ecspi1 { 317 317 pinctrl-names = "default"; 318 318 pinctrl-0 = <&pinctrl_ecspi1>; 319 - cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>; 319 + cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>; 320 320 status = "okay"; 321 321 322 322 flash@0 {
+1 -1
arch/arm/boot/dts/imx6sl-evk.dts
··· 129 129 }; 130 130 131 131 &ecspi1 { 132 - cs-gpios = <&gpio4 11 0>; 132 + cs-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; 133 133 pinctrl-names = "default"; 134 134 pinctrl-0 = <&pinctrl_ecspi1>; 135 135 status = "okay";
+1 -1
arch/arm/boot/dts/imx6sx-softing-vining-2000.dts
··· 93 93 &ecspi4 { 94 94 pinctrl-names = "default"; 95 95 pinctrl-0 = <&pinctrl_ecspi4>; 96 - cs-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>; 96 + cs-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; 97 97 status = "okay"; 98 98 }; 99 99
+1 -1
arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi
··· 84 84 }; 85 85 86 86 &ecspi1 { 87 - cs-gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; 87 + cs-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>; 88 88 pinctrl-names = "default"; 89 89 pinctrl-0 = <&pinctrl_ecspi1>; 90 90 status = "okay";
+1 -1
arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi
··· 14 14 }; 15 15 16 16 &ecspi2 { 17 - cs-gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; 17 + cs-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; 18 18 pinctrl-names = "default"; 19 19 pinctrl-0 = <&pinctrl_ecspi2>; 20 20 status = "okay";
+1 -1
arch/arm/boot/dts/imx6ul-phytec-segin.dtsi
··· 106 106 &ecspi3 { 107 107 pinctrl-names = "default"; 108 108 pinctrl-0 = <&pinctrl_ecspi3>; 109 - cs-gpios = <&gpio1 20 GPIO_ACTIVE_HIGH>; 109 + cs-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; 110 110 status = "disabled"; 111 111 }; 112 112
+1 -1
arch/arm/boot/dts/imx6ull-colibri.dtsi
··· 68 68 69 69 /* Colibri SPI */ 70 70 &ecspi1 { 71 - cs-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; 71 + cs-gpios = <&gpio3 26 GPIO_ACTIVE_LOW>; 72 72 pinctrl-names = "default"; 73 73 pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>; 74 74 };
+1 -1
arch/arm/boot/dts/imx7-colibri.dtsi
··· 60 60 &ecspi3 { 61 61 pinctrl-names = "default"; 62 62 pinctrl-0 = <&pinctrl_ecspi3 &pinctrl_ecspi3_cs>; 63 - cs-gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>; 63 + cs-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; 64 64 }; 65 65 66 66 &fec1 {
+1 -1
arch/arm/boot/dts/imx7d-sdb.dts
··· 187 187 &ecspi3 { 188 188 pinctrl-names = "default"; 189 189 pinctrl-0 = <&pinctrl_ecspi3>; 190 - cs-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; 190 + cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 191 191 status = "okay"; 192 192 193 193 tsc2046@0 {
+1 -1
arch/arm/boot/dts/imx7d-zii-rmu2.dts
··· 39 39 &ecspi1 { 40 40 pinctrl-names = "default"; 41 41 pinctrl-0 = <&pinctrl_ecspi1>; 42 - cs-gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>; 42 + cs-gpios = <&gpio4 19 GPIO_ACTIVE_LOW>; 43 43 status = "okay"; 44 44 45 45 flash@0 {
+1 -1
arch/arm/boot/dts/imx7d-zii-rpu2.dts
··· 193 193 &ecspi1 { 194 194 pinctrl-names = "default"; 195 195 pinctrl-0 = <&pinctrl_ecspi1>; 196 - cs-gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>; 196 + cs-gpios = <&gpio4 19 GPIO_ACTIVE_LOW>; 197 197 status = "okay"; 198 198 199 199 flash@0 {