Configure Quad SPI in IMX6SoloX for external spi

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Configure Quad SPI in IMX6SoloX for external spi

313件の閲覧回数
zhihang_yeah
Contributor I

Hi,

I want to configure a external device using IMX6SoloX SABRE QUAD SPI,

And I am trying to use the spidev userspace driver for test the device.

How ever when I configure 

+
+    spidev@0 {
+        compatible = "spidev";
+        spi-max-frequency = <50000000>;
+        reg = <0>;
+    };
+

in the &qspi2, I do not found the /dev/spidevXX device.

Can someone give a a hint on how to use in SABRE Solox

ラベル(1)
0 件の賞賛
1 返信

268件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Zhihang 

one can check if CONFIG_SPI_SPIDEV=y is enabled in kernel configuration as on

spi - linux: spidev is not shown in /dev - Stack Overflow 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛