Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1352710
| From | Lothar Waßmann <LW@KARO-electronics.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHv2 4/8] ARM: dts: imx6-tx6: disable the spi node by default |
| Date | 2016-03-08 09:10 +0100 |
| Message-ID | <rakSl-6EA-13@gated-at.bofh.it> (permalink) |
| References | <rakSl-6EA-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
index ec374f5..9509b44 100644
--- a/arch/arm/boot/dts/imx6qdl-tx6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
@@ -224,7 +224,7 @@
&gpio2 30 GPIO_ACTIVE_HIGH
&gpio3 19 GPIO_ACTIVE_HIGH
>;
- status = "okay";
+ status = "disabled";
spidev0: spi@0 {
compatible = "spidev";
--
2.1.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCHv2 4/8] ARM: dts: imx6-tx6: disable the spi node by default Lothar Waßmann <LW@KARO-electronics.de> - 2016-03-08 09:10 +0100
csiph-web