I need to communicate with SPI driver in Linux from kerne mode( 2 kernel modules need to interact with SPI driver). So can I call SPI driver functions from my modules directly without going through tty layer from my modules. I mean can we send to and read data from SPI driver without tty layer.

I am very thankful to the team.