concept of SPI device driver inside kernel
Hi. I just started to learn SPI device driver. Inside /kernel/driver/spi, I found there is spi.c, spidev.c and spi-xxxx.c(for particular vendor chipset). Can anybody give me any details or mechanism about how thoes three modules work inside kernel? For my understand, spi.c is just a function module inside kernel, spidev.c is like a generic spi driver, spi-xxx.c is for particular vendor chip. But I don't know what's the relationship of them.
|