AnsweredAssumed Answered

fsl-dspi 2110000.dspi: wait transfer complete fail!

Question asked by Randy Wang on Oct 28, 2018
Latest reply on Nov 7, 2018 by Randy Wang

Hi,

I add one device on ls1043a-rdb dspi bus1 with LSDK1803

edit the ls1043a-rdb.dts as following:


&dspi1 {
bus-num = <1>;
status = "okay";
spidev: tcg@0 {
compatible = "tcg, tpm_tis_spi";
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
spi-max-frequency = <500000>;
};
};

 

and the dspi define in ls1043a.dsti :

dspi1: dspi@2110000 {
compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x2110000 0x0 0x10000>;
interrupts = <0 65 0x4>;
clock-names = "dspi";
clocks = <&clockgen 4 0>;
spi-num-chipselects = <5>;
big-endian;
status = "disabled";
};

 

and i got the error  message when modprobe the module 

"fsl-dspi 2110000.dspi: wait transfer complete fail!"

 

but the flash device on dspi bus 0 is work

root@Ubuntu:~# dmesg | grep spi
[ 2.436007] m25p80 spi0.0: found n25q128a11, expected n25q128a13
[ 2.443140] m25p80 spi0.0: n25q128a11 (16384 Kbytes)

 

please kindly help to resolve this.

Thanks.

Randy

Outcomes