And there is the latest PONY_SPI patch.

Also, I think that the public api should work better with the function names as serialport_set_pin() and serialport_get_pin() ...

All the best,
Virgil.