]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx6-tx6: disable the spi node by default
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Mar 2016 08:04:00 +0000 (09:04 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 13 Apr 2016 09:44:59 +0000 (17:44 +0800)
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 <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-tx6.dtsi

index 912f28406cb9d3b85a5ef922f163a48319fbd4e6..371a38026bc480099cedfadc6d83678aec28a13b 100644 (file)
                &gpio2 30 GPIO_ACTIVE_HIGH
                &gpio3 19 GPIO_ACTIVE_HIGH
        >;
-       status = "okay";
+       status = "disabled";
 
        spidev0: spi@0 {
                compatible = "spidev";