Device driver for SPI
Did anyone implement a device driver for SPI which we could use as a starting point?
Thanks,
Ralf
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 2 lines · Ralf HECKHAUSEN
Did anyone implement a device driver for SPI which we could use as a starting point?
I have one, but the trouble is most 8xx processors need the microcode patches to relocate the SPI away from things like Ethernet. I don't have that working correctly yet, as it also requires the SPI driver to know about the relocation.
The other question is the application interface to the SPI. Most SPI implementations have multiple selects based upon some general purpose register, how do you manage the full duplex nature of the interface and so on....
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/