[i.MX8M EVK] After probing spi1.0 device, but there is no spi devices in /dev

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

[i.MX8M EVK] After probing spi1.0 device, but there is no spi devices in /dev

762件の閲覧回数
jhpark_vine
Contributor III

 

I added adc 7175-2 device node to imx8mq_evk.dts device tree file  like below 

After probing spi1.0 device, but there is no spi devices in /dev

 

&ecspi2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi2>;

status = "okay";
#address-cells = <1>;
#size-cells = <0>;


ad7173@0 {
compatible = "adi,7175-2";

reg = <0>;
spi-cpol;
spi-cpha;
spi-max-frequency = <100000>;

adi,channels {
#address-cells = <2>;
#size-cells = <0>;

channel@0,1 {
reg = <0 1>;
adi,bipolar;
};

channel@2,3 {
reg = <2 3>;
adi,bipolar;
};
};
};
}; 

 

 root@imx8mqevk:~# dmesg | grep -i spi
[ 0.000000] GICv3: 128 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.915942] spi_imx 30830000.spi: can't get the TX DMA channel, error -19!
[ 0.915946] spi_imx 30830000.spi: dma setup error -19, use pio
[ 0.921875] spi_imx 30830000.spi: registered master spi1
[ 0.921994] spi spi1.0: spi_imx_setup: mode 3, 8 bpw, 100000 hz
[ 0.922001] spi spi1.0: setup mode 3, 8 bits/w, 100000 Hz max --> 0
[ 0.922086] spi_imx 30830000.spi: registered child spi1.0
[ 0.922090] spi_imx 30830000.spi: probed
root@imx8mqevk:~# [ 35.873497] VSD_3V3: disabling
[ 35.876563] vdd_arm: disabling
[ 35.879687] VGEN1: disabling
[ 35.883332] VGEN6: disabling
ls /dev/spi*
ls: cannot access '/dev/spi*': No such file or directory
root@imx8mqevk:~# ls /dev/spi*
ls: cannot access '/dev/spi*': No such file or directory

 

Thanks in advance 

0 件の賞賛
返信
1 返信

751件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信