Have a look here...
You may find the ST driver works with just a few changes. I notice the ST driver has quite a few references to physicalgraph
Andy