We’re trying to access our SPI device driver for a Colibri i.MX7D. When looking in /dev, on the device, the SPI driver is not listed as one of the drivers in the device tree. I found a similar community forum post to this one regarding the issue where someone had a similar question to this about a Colibri i.MX7 board:
The post mentioned that in order for the SPI driver to work the CAN driver needs to be disabled. There’s also a link to imx7-colibri-eval-v3.dtsi that opens the file in the section where the modification is needed.
What exactly must be done to the file?
In the spidev0: spidev@0 section there is the line: status = “disabled”. Does this just need to be changed to status = “enabled”? I’ve viewed the spi-imx.c file and it appears that the spi_imx_dt_ids structure is defined and setup properly, but I don’t see spi anywhere in the /dev folder on our device. I’ve rebuilt the imx7-colibri-eval-v3.dtsi file and copied the corresponding imx7d-colibri-eval-v3.dtb file, after modification, to the device but I still don’t see the spi driver in the list of devices.
What needs to be done to make this work?