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

ARM: dts: Remove "spidev" nodes

"spidev" is not a real device, but a Linux implementation detail. It has
never been documented either. The kernel has WARNed on the use of it for
over 6 years. Time to remove its usage from the tree.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211217221232.3664417-1-robh@kernel.org'
Reviwed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Rob Herring and committed by
Arnd Bergmann
8a3804c0 8d5c175f

+1 -172
-18
arch/arm/boot/dts/at91-q5xr5.dts
··· 147 147 reg = <0x8000 0x3E000>; 148 148 }; 149 149 }; 150 - 151 - spidev@1 { 152 - compatible = "spidev"; 153 - spi-max-frequency = <2000000>; 154 - reg = <1>; 155 - }; 156 150 }; 157 151 158 152 &spi1 { ··· 154 160 pinctrl-0 = <&pinctrl_spi1 &pinctrl_spi1_npcs0 &pinctrl_spi1_npcs1>; 155 161 cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>, <&pioC 5 GPIO_ACTIVE_LOW>, <0>, <0>; 156 162 status = "okay"; 157 - 158 - spidev@0 { 159 - compatible = "spidev"; 160 - spi-max-frequency = <2000000>; 161 - reg = <0>; 162 - }; 163 - 164 - spidev@1 { 165 - compatible = "spidev"; 166 - spi-max-frequency = <2000000>; 167 - reg = <1>; 168 - }; 169 163 }; 170 164 171 165 &usart0 {
-6
arch/arm/boot/dts/at91-wb50n.dts
··· 90 90 91 91 &spi1 { 92 92 status = "okay"; 93 - 94 - spidev@0 { 95 - compatible = "spidev"; 96 - reg = <0>; 97 - spi-max-frequency = <8000000>; 98 - }; 99 93 }; 100 94 101 95 &usb0 {
-36
arch/arm/boot/dts/imx28-tx28.dts
··· 239 239 >; 240 240 /* enable this and disable ssp3 below, if you need full duplex SPI transfer */ 241 241 status = "disabled"; 242 - 243 - spi@0 { 244 - compatible = "spidev"; 245 - reg = <0>; 246 - spi-max-frequency = <57600000>; 247 - }; 248 - 249 - spi@1 { 250 - compatible = "spidev"; 251 - reg = <1>; 252 - spi-max-frequency = <57600000>; 253 - }; 254 - 255 - spi@2 { 256 - compatible = "spidev"; 257 - reg = <2>; 258 - spi-max-frequency = <57600000>; 259 - }; 260 242 }; 261 243 }; 262 244 ··· 682 700 pinctrl-0 = <&spi3_pins_a>; 683 701 clock-frequency = <57600000>; 684 702 status = "okay"; 685 - 686 - spi@0 { 687 - compatible = "spidev"; 688 - reg = <0>; 689 - spi-max-frequency = <57600000>; 690 - }; 691 - 692 - spi@1 { 693 - compatible = "spidev"; 694 - reg = <1>; 695 - spi-max-frequency = <57600000>; 696 - }; 697 - 698 - spi@2 { 699 - compatible = "spidev"; 700 - reg = <2>; 701 - spi-max-frequency = <57600000>; 702 - }; 703 703 }; 704 704 705 705 &usb0 {
-11
arch/arm/boot/dts/imx53-tx53.dtsi
··· 192 192 &gpio3 19 GPIO_ACTIVE_HIGH 193 193 >; 194 194 195 - spidev0: spi@0 { 196 - compatible = "spidev"; 197 - reg = <0>; 198 - spi-max-frequency = <54000000>; 199 - }; 200 - 201 - spidev1: spi@1 { 202 - compatible = "spidev"; 203 - reg = <1>; 204 - spi-max-frequency = <54000000>; 205 - }; 206 195 }; 207 196 208 197 &esdhc1 {
-12
arch/arm/boot/dts/imx6qdl-tx6.dtsi
··· 259 259 &gpio3 19 GPIO_ACTIVE_HIGH 260 260 >; 261 261 status = "disabled"; 262 - 263 - spidev0: spi@0 { 264 - compatible = "spidev"; 265 - reg = <0>; 266 - spi-max-frequency = <54000000>; 267 - }; 268 - 269 - spidev1: spi@1 { 270 - compatible = "spidev"; 271 - reg = <1>; 272 - spi-max-frequency = <54000000>; 273 - }; 274 262 }; 275 263 276 264 &fec {
-12
arch/arm/boot/dts/imx6ul-imx6ull-opos6uldev.dtsi
··· 114 114 pinctrl-0 = <&pinctrl_ecspi4>; 115 115 cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>, <&gpio4 3 GPIO_ACTIVE_LOW>; 116 116 status = "okay"; 117 - 118 - spidev0: spi@0 { 119 - compatible = "spidev"; 120 - reg = <0>; 121 - spi-max-frequency = <5000000>; 122 - }; 123 - 124 - spidev1: spi@1 { 125 - compatible = "spidev"; 126 - reg = <1>; 127 - spi-max-frequency = <5000000>; 128 - }; 129 117 }; 130 118 131 119 &i2c1 {
-6
arch/arm/boot/dts/imx6ul-prti6g.dts
··· 78 78 pinctrl-names = "default"; 79 79 pinctrl-0 = <&pinctrl_ecspi2>; 80 80 status = "okay"; 81 - 82 - spi@0 { 83 - compatible = "spidev"; 84 - reg = <0>; 85 - spi-max-frequency = <1000000>; 86 - }; 87 81 }; 88 82 89 83 &fec1 {
-24
arch/arm/boot/dts/imx6ul-tx6ul.dtsi
··· 227 227 &gpio1 10 GPIO_ACTIVE_HIGH 228 228 >; 229 229 status = "disabled"; 230 - 231 - spi@0 { 232 - compatible = "spidev"; 233 - reg = <0>; 234 - spi-max-frequency = <660000>; 235 - }; 236 - 237 - spi@1 { 238 - compatible = "spidev"; 239 - reg = <1>; 240 - spi-max-frequency = <660000>; 241 - }; 242 230 }; 243 231 244 232 sound { ··· 278 290 &gpio1 10 GPIO_ACTIVE_HIGH 279 291 >; 280 292 status = "disabled"; 281 - 282 - spidev0: spi@0 { 283 - compatible = "spidev"; 284 - reg = <0>; 285 - spi-max-frequency = <60000000>; 286 - }; 287 - 288 - spidev1: spi@1 { 289 - compatible = "spidev"; 290 - reg = <1>; 291 - spi-max-frequency = <60000000>; 292 - }; 293 293 }; 294 294 295 295 &fec1 {
-14
arch/arm/boot/dts/omap3-tao3530.dtsi
··· 197 197 &mcspi1 { 198 198 pinctrl-names = "default"; 199 199 pinctrl-0 = <&mcspi1_pins>; 200 - 201 - spidev@0 { 202 - compatible = "spidev"; 203 - spi-max-frequency = <48000000>; 204 - reg = <0>; 205 - spi-cpha; 206 - }; 207 200 }; 208 201 209 202 &mcspi3 { 210 203 pinctrl-names = "default"; 211 204 pinctrl-0 = <&mcspi3_pins>; 212 - 213 - spidev@0 { 214 - compatible = "spidev"; 215 - spi-max-frequency = <48000000>; 216 - reg = <0>; 217 - spi-cpha; 218 - }; 219 205 }; 220 206 221 207 #include "twl4030.dtsi"
+1 -1
arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dts
··· 103 103 104 104 &gsbi3_spi { 105 105 spi@0 { 106 - compatible = "swir,mangoh-iotport-spi", "spidev"; 106 + compatible = "swir,mangoh-iotport-spi"; 107 107 spi-max-frequency = <24000000>; 108 108 reg = <0>; 109 109 };
-16
arch/arm/boot/dts/spear1310-evb.dts
··· 395 395 pl022,wait-state = <0>; 396 396 pl022,duplex = <0>; 397 397 }; 398 - 399 - spidev@2 { 400 - compatible = "spidev"; 401 - reg = <2>; 402 - spi-max-frequency = <25000000>; 403 - spi-cpha; 404 - pl022,hierarchy = <0>; 405 - pl022,interface = <0>; 406 - pl022,slave-tx-disable; 407 - pl022,com-mode = <0x2>; 408 - pl022,rx-level-trig = <0>; 409 - pl022,tx-level-trig = <0>; 410 - pl022,ctrl-len = <0x11>; 411 - pl022,wait-state = <0>; 412 - pl022,duplex = <0>; 413 - }; 414 398 }; 415 399 416 400 wdt@ec800620 {
-16
arch/arm/boot/dts/spear1340-evb.dts
··· 489 489 ts,i-drive = <1>; 490 490 }; 491 491 }; 492 - 493 - spidev@2 { 494 - compatible = "spidev"; 495 - reg = <2>; 496 - spi-max-frequency = <25000000>; 497 - spi-cpha; 498 - pl022,hierarchy = <0>; 499 - pl022,interface = <0>; 500 - pl022,slave-tx-disable; 501 - pl022,com-mode = <0x2>; 502 - pl022,rx-level-trig = <0>; 503 - pl022,tx-level-trig = <0>; 504 - pl022,ctrl-len = <0x11>; 505 - pl022,wait-state = <0>; 506 - pl022,duplex = <0>; 507 - }; 508 492 }; 509 493 510 494 timer@ec800600 {