RPi 4B - Assistance Request for Adding SPI to DT

Deniz Uğur deniz343 at gmail.com
Thu May 6 18:15:28 BST 2021


Hi all,

I’m currently in process of integrating SPI3-6 to mainline by adding correct spidev nodes to the device tree. This has worked flawlessly on RPi 3B but it seems there is more work to do for 4B. I have added spidev nodes by taking downstream Linux repository as reference but SPI3-6 did not show up under /dev/.

I’ve created a gist [1] with the syslog and my attempt to patch Linux 5.10.32. Is it possible for me to get a review of this patch? Possibly pointing out where the problem might be? I saw that some pins conflict with other peripherals, they are not needed for my use case so just disabling them (if it is the easiest solution) would be enough I guess.

Thanks in advance.

Best Regards,
Deniz.

[1]: https://gist.github.com/DenizUgur/9f6de97e9d12f8d5b0a5349b6ead5c25


More information about the linux-rpi-kernel mailing list