I am using IMX8MM processor and connecting SPI to dual UART XR20M1172 over spi2 but I am getting error.
Device tree entry :
xr20m1172: xr20m1172@0 {
compatible = "exar,xr20m1172";
reg = <0>;
clock-frequency = <14745600>;
interrupt-parent = <&gpio>;
interrupts = <&gpio 6 IRQ_TYPE_EDGE_FALLING>;
gpio-controller;
};
Getting below logs from console
root@lec-imx8mm:~# dmesg | grep spi
[ 2.856874] spi_drv_probe+0x4c/0xe4
[ 2.925573] spi_add_device+0xf4/0x1f0
[ 2.929322] of_register_spi_device+0x20c/0x39c
[ 2.933853] spi_register_controller+0x5f0/0x8d0
[ 2.938471] spi_bitbang_start+0x4c/0x80
[ 2.942396] spi_imx_probe+0x420/0x6a0
I have attached the complete dmesg file for reference
what error do you get? could you get any signal from your device? and pls tell me your bsp version and send to me your entire dts file
@joanxie Did you get a chance to see the above details
refer to the logfile, I don't find any error message about SPI