The Nexus One data pins are in the SE1 state until vbus is powered.
Ignore the SE1 bit to fix host mode detection when a Nexus One is
attached.
Change-Id: Ia2314b26acdb1d20fa0a43812f88c232c919cba3
Signed-off-by: Benoit Goby <benoit@android.com>
- /dev/nvfw ioctl interface to load AVP firmware.
- Use request_firmware() for AVP modules
- /dev/nvrpc ioctl interface to call RPC on AVP.
- Server thread to serve RPC from AVP.
Change-Id: I1694dc49d69b677cd225f8b68a4f84edf9bf0a23
Signed-off-by: Dima Zavin <dima@android.com>
Lack of power management on the mdm6600 driver causes it to sometimes
open with a bad port after USB re-unemeration. WARN_ON_ONCE instead of
BUG_ON.
Change-Id: Iae6c7aa2c1f2b30ff879a1b744a5efeef01664f9
Signed-off-by: Nick Pelly <npelly@google.com>
Add the VDE, VCP, and BSEA blocks to the RM clock and module APIs so that
video and audio playback will work.
Change-Id: I4a7d9121239967f6b76b0a585a818d1047a56993
With PLL_M (600Mhz) as clock source, it produces the closest 3M baud rate
required by BT module.
Change-Id: I9a33f415a8a13fbb68589d5b2575f7c7beab5c44
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Allows individual led to support blink capability
Change-Id: If2c7bd8a4bc617e3049b0db3a6fec4f92b06c0e5
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
At boot time the kernel should:
USB_FORCEON_N (GPIO_TEGRA_PC5) should be initialized output high.
ULPI_PHY_RESET_B (GPIO_TEGRA_PG2) should be initialized output low.
Signed-off-by: James Wylder <james.wylder@motorola.com>
Change-Id: I92a59c5fff4a9d3dd68a3ce3bd6a6c134241146d
CPCAP switchers 2, 3, and 4 need to be set to PSM mode in normal mode
and PFM mode in low power mode. CPCAP switchers 2 and 4 should be set
to 0.95v in low power mode. This will provide some current drain
savings.
Change-Id: Ie506305dd011dfc14fda5fd24562539149352bb9
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
Implement the init/suspend/resume callbacks to initialize,
clear, and set the lvds gpio respectively.
Change-Id: Id7b7481ceff481088089b7b914cea321ad04350f
Signed-off-by: James Wylder <james.wylder@motorola.com>
The tegra_camera device has been extended to include all clock and
regulator functionality needed by to support camera on tegra.
Change-Id: Ie1611a79c24f7ebe3ae570d38a9f470683af91dd
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
This change adds the ability to specify a regulator by device name
and modifies one consumer to use this functionality.
Change-Id: I7f4df5f60458717049c3a8abe52d7eb0b99dad89
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
The real Whisper basic dock behaves a bit different than the prototype.
Detection must be tweaked to properly detect the accessory when it is
plugged into the wall.
Change-Id: I7e2c4708b7c6642c3b58ebed199632be59804740
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
Smart Whisper accessories need a different configuration, so they are
now their own accessory
Change-Id: I16167a01ae3f3cdfd0c9765771459ff38cbc6b31
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
Add support for whisper driver to report the dock ID to the system
via sysfs. The dock ID can be found at:
/sys/class/switch/dock/dock_addr
Change-Id: Iafcc738c5e9bd10f94ee2cab1ab0d39a10b9932e
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
The generic bulk handlers use dynamic buffer allocation. This is likely
to be a performance issue.
Change-Id: I9a66131d500b6152d9af118d739f3a2f3dea97c9
Signed-off-by: Nick Pelly <npelly@google.com>
This is a re-write of the Motorola mdm6600_modem driver.
The usb_serial_generic_* handlers actually cover the USB bulk to serial data
path. So that code disappears.
The USB interrupt data to TIOCMGET ioctl path does not appear to be used by
pppd in userspace, using a temporary BUG_ON() to confirm.
So we end up with very little but a hook to register generic usb-serial
handlers for the MDM6600 vendor id.
I have not spent time testing behavior in low-power-modes, it is likely I will
need to over-ride some of the generic handlers at that point.
Change-Id: I65fdd06c2764416f365995761aa653878c0e393b
Signed-off-by: Nick Pelly <npelly@google.com>
Instead just allow userspace to turn on and off the backlight when
entering suspend. Otherwise we get a race condition on some hardware
where the backlight does not go off.
Change-Id: I81303125ebc0cfa8ef1d135a3681d6dd4d4137d9
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>