Port kxud9 driver

It has not been confirmed that the driver works fine.
Remove trailing spaces
Merge remote-tracking branch 'remotes/origin/master' into b2g