Commit Graph

5 Commits

Author SHA1 Message Date
Pavankumar Kondeti
cd99d0ea1d USB: android: Add support for USB Target Function (UASP)
Add UASP function to Android supported functions array.  UASP
function depend on Target core.  Provide empty functions when
Target core is not enabled.

Change-Id: I959f26ebd63e036dae041708d0ad6169213a3cf0
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2013-02-27 18:17:31 -08:00
Rajkumar Raghupathy
1b5ca6c424 USB: android: Add a new LUN as CD-ROM in mass-storage
Add a new LUN(lun0) which will be exposed as a CD-ROM having the
attributes ro(read-only) & removable as enabled.
This CD-ROM lun is used for saving read-only files which can be used
for system requirements.

Change-Id: Idff5aea8bce233e8b77a4b689323a2f1eb2523e1
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
2013-02-27 18:15:50 -08:00
Ido Shayevitz
b32c19290c usb: gadget: android: Set usb_core_id if exists
Read usb_core_id from platfrom data.

Change-Id: I360bc064c173214c3e1381dac47eec10f3285819
Signed-off-by: Ido Shayevitz <idos@codeaurora.org>
2013-02-27 18:15:02 -08:00
Stephen Boyd
d20a151d2a usb: android: Add DIAG function driver
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:34:48 -08:00
Ofir Cohen
521828cd2c usb: gadget: Vote for SWFI when USB cable is connected
To enable better power management and entering CPU idle states while
USB cable is connected and no USB SW involvement is required
(MSM BAM2BAM mode) a new SysFS was added.
This SysFS allow controlling USB voting and gives the ability
to save power consumption while USB is active.
default behavior is high QoS. to change the new SysFS
echo high/low to /sys/class/android_usb/android0/pm_qos

Change-Id: Ia73491cfddc3968e1d04423a1750c89fab5fefeb
Signed-off-by: Ofir Cohen <ofirc@codeaurora.org>
2013-02-25 11:34:42 -08:00