using USB host and peripheral functionalities together
we have a hardware board which supports 4 USB Host ports and 1 USB Peripheral device port. Due to some constrains we could not use OTG :(
So functionality wise, our hardware piece can it self host USB mass storage devices as well as could be connected to any USB host PC too...
IS IT POSSIBLE....DOES LINUX KERNEL SUPPORTS IT.
Now as an overview of linux USB stack frame:
We have physical Hardware layer <----> Host controller(HCD)/Peripheral controller(PCD) layer which provides APIs to upper layer to acces hardware <---> USB Protocol stack <----> USB Class driver/Gadget driver support<----> user land.
As per our hardware requirments, v have to load both HCD and PCD but there is only single USB protocol stack.
Now is it fine with linux kernel. could it handle this topology OR i need to have 2 USB stacks per Controller.
Pls share ur logical/technical concerns.....