I am developing a SPI driver in kernel space using <linux/spi/spi.h>, but Chip Select seems is being used by SPIDEV. I am triying to use the SPI0.0 but it returns an error when I try do “insmod”, then dmesg returns me this message:
Chip Select 0 already in use.
I have found the Chip Select could be being used by SPIDEV, so I need disable SPIDEV in the device tree, and the best way would be to create a Device Tree Overlay with SPIDEV disable, but I am not able to make it work, I understand the device tree mechanism works, but I am not able to modify anything and make it works as I want.
Can anyone support me for SPIDEV Disable for Jetson nano 2GB?
Is there any user manual for using the device tree for jetson nano 2GB?
Is there any practical manual for device tree definition and overlay definition (for jetson nano or for linux systems are ok for me)?
Thanks in advance,