msm: usb_bam : Add support for CI2.0 HSUSB BAM
Add support for both HSUSB and SSUSB BAM devices using device
tree. User can select required BAM device using below commands:
->To select SSUSB BAM:
echo ssusb > /sys/bus/platform/devices/usb_bam/enable
->To select HSUSB BAM:
echo hsusb > /sys/bus/platform/devices/usb_bam/enable
On some targets there is no SPS dedicated pipe memory for USB
BAM, hence, allow user to specify the type of memory used by
the BAM devices, which can be one of the type:
-SPS's dedidated pipe memory (DEFAULT), or
-USB Core's dedicated internal memory, or
-System memory that should be allocated by this driver
Change-Id: I5e5421c45fa611bc1ab2cdc81813c77d1329a8af
Signed-off-by:
Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment