Hi, i am trying to get a /dev device based on i.MX7 QSPI_A , that will work with the simple spidev_test.c from the linux documentation. I have /dev/spidev4.0 , but i get unknown error -524.
Does anyone have a working dts/dtsi for this ?
When using the flash example, the chip-id is read correctly. But i would like to use something like sidev_test.c method for testing devices on the QSPI bus.
Linux 5.4 Toradex Colibri - based on imx7d-colibri-eval-v3.dts and imx7d-sdb-qspi.dtsi
&qspi1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qspi1_1>;
status = "okay";
ddrsmp=<0>;
spidev1: spidev@0 {
compatible = "toradex,evalspi";
reg = <0>;
spi-max-frequency = <33000000>;
spi-rx-bus-width = <1>;
spi-tx-bus-width = <1>;
status = "okay";
};};