From: Lothar Waßmann Date: Tue, 8 Mar 2016 08:04:00 +0000 (+0100) Subject: ARM: dts: imx6-tx6: disable the spi node by default X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0fd646d0e7dff4054cb43f4ac87271da6151a070;p=linux.git ARM: dts: imx6-tx6: disable the spi node by default The spidev driver doesn't like to be instantiated via a naked 'spidev' compatible, though it is very convenient to invoke it this way without a dedicated SPI device for basic functional testing. Disable the spi node by default to silence the WARN_ON() from the spidev driver, but leave the configuration intact otherwise. Signed-off-by: Lothar Waßmann Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/imx6qdl-tx6.dtsi index 912f28406cb9d..371a38026bc48 100644 --- a/arch/arm/boot/dts/imx6qdl-tx6.dtsi +++ b/arch/arm/boot/dts/imx6qdl-tx6.dtsi @@ -240,7 +240,7 @@ &gpio2 30 GPIO_ACTIVE_HIGH &gpio3 19 GPIO_ACTIVE_HIGH >; - status = "okay"; + status = "disabled"; spidev0: spi@0 { compatible = "spidev";