Hi i have tried to configure the imx7 QSPI as a /dev/spidev
but also found this, which says “not possible”
Is this “simply” a matter of Linux drivers ? In order to try different QSPI devices and also possibly use DQS clock-feedback function it would be nice to have a /dev/xxx accessable from user comand line.
I tried the devicetree entry below and got /dev/spidev4.0 , but trying to write to it with the spidev_test.c example from the documentation - results in error -524
Also tried asking for dts/dtsi settings in NXP forum, but got no reply
Setting “compatible” to evalspi , could be first mistake…
&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";
};};