I installed SPI using
in which spidev.3.0 was enabled and was working fine on pin 24 on the J21 header
and then I enabled spidev.3.1 using
and rebuild the DTS.
Now when i am using SPI on CS 1 (Pin 26 - J21 Header) TX2 sends the data correctly to one slave.
But when I try to use SPI on CS 0 (Pin 24) TX2 sends data to both the slaves while It should be sending to only one slave.
Any supportive links/code snippets/device tree examples would be really helpful