]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: imx6-tx6: disable the spi node by default
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 7 Mar 2016 10:02:19 +0000 (11:02 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Mar 2016 09:34:17 +0000 (10:34 +0100)
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>
arch/arm/boot/dts/imx6qdl-tx6.dtsi

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