I'm trying to create the hardware equivalent of a "Hello World" example for the SPI driver using an LED.

I want to write a driver in just a few lines of code that when loaded will flip the Cable Select bit, turning on the LED which is attached along that path, but I'm not sure where to start.

This is my step from computer programming to computer engineering. I'm okay with compiling a kernel and (soft) software, but I've never written a driver before.

Links, comments, and clarifying questions welcome.

AJ ONeal