提交 0fd646d0 编写于 作者: L Lothar Waßmann 提交者: Shawn Guo

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: NLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
上级 abe3e2b9
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
&gpio2 30 GPIO_ACTIVE_HIGH &gpio2 30 GPIO_ACTIVE_HIGH
&gpio3 19 GPIO_ACTIVE_HIGH &gpio3 19 GPIO_ACTIVE_HIGH
>; >;
status = "okay"; status = "disabled";
spidev0: spi@0 { spidev0: spi@0 {
compatible = "spidev"; compatible = "spidev";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册