Anyone who has ported linux usb stack to other platform ?

Dear all. i wanna port linux usb stack to my platform . I don't konw how to start and my aim is to clean up a usb stack which has no relationship with platform. Has anyone done this before ?
Any suggestion is appreciated!
Regards!