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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

758 Views
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 Kudos
Reply
1 Reply