First of all, thank you for your kindly review!
Then, there is attached a new patch, where code is cleaned and some main bitbanging functions are moved to serial.c, to simplify the pony_spi.c and to make them available to all possible serial drivers which want bitbanging...
All the best,
Virgil.