Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:55:40 +0000 (13:55 -0700)]
misc: max9635: Remove unused fields from platform data struct
Change-Id: Icc712ce96970d3808881fa22b0e5095aa1596b2e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:54:10 +0000 (13:54 -0700)]
misc: l3g4200d: Remove unused fields from platform data struct
Change-Id: Iaacac3d9bbf4f87a272822c76c2cd6939059597a
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:52:52 +0000 (13:52 -0700)]
misc: kxtf9: Remove unused fields from platform data struct
Change-Id: I5fc511b64c8381543abb00c523727df93cde1bd1
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:49:00 +0000 (13:49 -0700)]
misc: akm8975: Remove unused platform data struct from board file
Change-Id: If8f687641069bd838359745c0df7000edf3e1bd5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 21:00:03 +0000 (14:00 -0700)]
[ARM] Remove unused power on/off functions for sensors.
These sensors now control their regulators via the regulator
api directly
Change-Id: I91203634f90fd1ebceb333a481941d0bd8eda136
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:55:03 +0000 (13:55 -0700)]
misc: max9635: Remove early suspend/resume handlers
Allow userspace to set policy on sensor enable/disable
Change-Id: I901edeaf6ab3bddb79220c4ba7248b8873e6338e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:53:24 +0000 (13:53 -0700)]
misc: l3g4200d: Several fixes to l3g4200d driver
-Remove early suspend/resume handlers, allow userspace to set
policy on sensor enable/disable
-Use regulator api instead of calls into the board file to
control power
Change-Id: I0e0a08f1cbaf450cabb2e555692aec60498fc182
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:51:22 +0000 (13:51 -0700)]
misc: kxtf9: Use regulator api to control power to sensor
Previously this used a callback to the board file
Change-Id: Idaca0ef5f77fde73e0ae2e8fd510f0ca985ec051
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:46:38 +0000 (13:46 -0700)]
misc: akm8975: Sevearl fixes to akm8975 driver
-Remove early suspend/resume handlers, allow userspace to set
policy on sensor enable/disable
-Use regulator api instead of calls into the board file to
control power
Change-Id: I0550a1bc9ee37f93ba02a7024afb6c44ababbe9d
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:59:08 +0000 (13:59 -0700)]
[ARM] tegra: stingray: Add specific regulator constraints for sensors
This will allow individual sensor drivers to enable/disable their
regulators without calling into the board files to get the supply
name.
Change-Id: I06fa1536ede351194b060028ad43a4163df363c2
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Greg Meiste [Wed, 25 Aug 2010 16:10:25 +0000 (11:10 -0500)]
[ARM] tegra: stingray: Set CPCAP switchers to AMS mode
Change-Id: I6048a8f75d86c943d98759cf541b263bac151f68
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 25 Aug 2010 16:03:24 +0000 (11:03 -0500)]
firmware: cpcap: SW2 should be in AMS mode
Setting SW2 to Pulse-Skipping/PFM mode prevented Stingray from exiting
LP0. AMS mode should actually be better for current drain anyway.
Change-Id: I97fdfe5de47e1172de11e84d91aa8b7be49d1941
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 25 Aug 2010 15:56:56 +0000 (10:56 -0500)]
Revert "Revert "[ARM] tegra: stingray: Enable notification LED fading""
This reverts commit
59e308f5ebf5871fec55dde19459a71af2354fb4.
Greg Meiste [Wed, 25 Aug 2010 15:56:33 +0000 (10:56 -0500)]
Revert "Revert "firmware: cpcap: Support notification LED on Stingray""
This reverts commit
41c4a6b07ba857293654e767f84d45ade9fc445d.
Greg Meiste [Wed, 25 Aug 2010 15:55:21 +0000 (10:55 -0500)]
Revert "Revert "[ARM] tegra: stingray: Support soft reset""
This reverts commit
22d12890334af316424b43cbc36458546b6eca1c.
Change-Id: I7f864e29fefeb8bf5c0c7541fc91221e3f7986ae
Greg Meiste [Wed, 25 Aug 2010 14:00:09 +0000 (09:00 -0500)]
Revert "Revert "firmware: cpcap: Add workaround to support soft reset""
This reverts commit
a56ac084c7f8c23e22af1c968bca7bb7a89e4d4b.
Amol Bhatkar--NJ05 [Wed, 25 Aug 2010 21:22:11 +0000 (14:22 -0700)]
moto_flashmdm: add PID 0x4281 for MDM600 flash interface
Keep the old PID for backward compatibility
Change-Id: Ic77a7fe6e32b386f867a2047c099160d5fe3f81a
Signed-off-by: Amol Bhatkar--NJ05 <amolbhatkar@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
makarand.karvekar [Tue, 24 Aug 2010 19:06:16 +0000 (14:06 -0500)]
[ARM] tegra: stingray: defconfig: Disable CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI
Change-Id: I0a412c272ddd82ab59a9b04761b48f1eaec4ffca
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Colin Cross [Wed, 25 Aug 2010 01:29:14 +0000 (18:29 -0700)]
[ARM] tegra: stingray: Update suspend mode enum
Change-Id: Ib21d566d92d114507ad232773cc6eb2830da4d42
Signed-off-by: Colin Cross <ccross@google.com>
Colin Cross [Sat, 21 Aug 2010 20:21:45 +0000 (13:21 -0700)]
[ARM] tegra: syncpt: Move syncpt handling to syncpt.c
Change-Id: I8ee2cde45d424e74465f62d1c2185291c30ac982
Signed-off-by: Colin Cross <ccross@google.com>
Colin Cross [Tue, 24 Aug 2010 23:53:52 +0000 (16:53 -0700)]
Revert "firmware: cpcap: Add workaround to support soft reset"
This reverts commit
7d8d274f2cca4fb00e8b119321ca58d52526137e.
Colin Cross [Tue, 24 Aug 2010 23:53:43 +0000 (16:53 -0700)]
Revert "[ARM] tegra: stingray: Support soft reset"
This reverts commit
82567b733517f070013e16e7f450ce1c259592a3.
Colin Cross [Tue, 24 Aug 2010 23:53:32 +0000 (16:53 -0700)]
Revert "firmware: cpcap: Support notification LED on Stingray"
This reverts commit
220da51ff416b72bbff7d717d5f8d533b529aace.
Colin Cross [Tue, 24 Aug 2010 23:53:25 +0000 (16:53 -0700)]
Revert "[ARM] tegra: stingray: Enable notification LED fading"
This reverts commit
194f415d3f254769a34c3a1cc57504bd399d991d.
Erik Gilling [Tue, 24 Aug 2010 04:41:49 +0000 (21:41 -0700)]
[ARM] tegra: add hdmi output to stingray board file
Signed-off-by: Erik Gilling <konkers@android.com>
Greg Meiste [Mon, 23 Aug 2010 21:51:17 +0000 (16:51 -0500)]
[ARM] tegra: stingray: Enable notification LED fading
Change-Id: I32cf8e461c125739700b4cf032e6f850bb6ccc4d
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Mon, 23 Aug 2010 21:49:41 +0000 (16:49 -0500)]
firmware: cpcap: Support notification LED on Stingray
With this firmware update, the notification LED on Stingray can now
be blinked... with fading!
Change-Id: I65c7b5627ede2305526486099752b30176a1eae9
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Fri, 20 Aug 2010 15:05:57 +0000 (10:05 -0500)]
[ARM] tegra: stingray: Support soft reset
Changes to allow last_kmsg to survive a reset.
Change-Id: I8b2830bd919cacd0346b2b8319c504625258dff0
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Thu, 19 Aug 2010 14:47:44 +0000 (09:47 -0500)]
firmware: cpcap: Add workaround to support soft reset
The CPCAP uC needs to be stopped before a soft reset. Macro 15 can be
used to stop the uC with the SYS_RESTART line.
Change-Id: I7a7711d771881320a4b6f1a462411b8a4b21b0fc
Signed-off-by: Greg Meiste <w30289@motorola.com>
Dima Zavin [Mon, 23 Aug 2010 21:50:37 +0000 (14:50 -0700)]
Revert "ARM: tegra: stingray: temporarily disable LP0 (AVP suspend)"
This reverts commit
06da6891c4d1748853bd64795fb470072a6ab266.
Change-Id: I6fa718a8fd766b0c41bc1036e1b34bbac6d14335
Dima Zavin [Tue, 24 Aug 2010 03:17:55 +0000 (20:17 -0700)]
[ARM] tegra: nv: implement avp suspend/resume for LP0
Change-Id: I3ca52752d00cb603d9327d5a40b48e1cf56cb7c4
Signed-off-by: Dima Zavin <dima@android.com>
Paul Eastham [Tue, 24 Aug 2010 04:04:03 +0000 (21:04 -0700)]
leds: leds-lp8550: Properly set poweron state / brightness on resume.
Signed-off-by: Paul Eastham <eastham@google.com>
Paul Eastham [Mon, 23 Aug 2010 23:46:14 +0000 (16:46 -0700)]
leds: leds-lp8550: Fix and extend brightness debug messages
Signed-off-by: Paul Eastham <eastham@google.com>
Benoit Goby [Wed, 11 Aug 2010 23:53:42 +0000 (16:53 -0700)]
usb: otg: cpcap-otg should return IRQ_NONE when appropriate
Change-Id: I94c4cf415778a59dc665e1b5353342067ba4f894
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 20 Aug 2010 04:26:16 +0000 (21:26 -0700)]
[ARM] tegra: stingray_defconfig: Enable USB_SUSPEND
Change-Id: Iffa16409caf18ecc831df8ba50009b54a1035875
Signed-off-by: Benoit Goby <benoit@android.com>
Iliyan Malchev [Sat, 21 Aug 2010 05:58:13 +0000 (22:58 -0700)]
[ARM] tegra: tegra_i2s_audio: add wakelocks
Signed-off-by: Iliyan Malchev <malchev@google.com>
Benoit Goby [Wed, 11 Aug 2010 23:53:42 +0000 (16:53 -0700)]
mfd: cpcap-whisper: Ignore the SE1 bit to detect host mode
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>
Dima Zavin [Mon, 23 Aug 2010 18:12:17 +0000 (11:12 -0700)]
ARM: tegra: stingray: temporarily disable LP0 (AVP suspend)
Change-Id: Iaedd594aba25649f934dea6d0e715de72f08ed1a
Signed-off-by: Dima Zavin <dima@android.com>
Kaz Fukuoka [Fri, 30 Jul 2010 20:13:01 +0000 (13:13 -0700)]
[ARM] tegra: stingray: CPU-AVP RPC in kernel
- /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>
Mike Lockwood [Fri, 20 Aug 2010 23:49:07 +0000 (19:49 -0400)]
[ARM] tegra: stingray: defconfig: Enable CONFIG_USB_ANDROID_RNDIS
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Fri, 20 Aug 2010 23:46:17 +0000 (19:46 -0400)]
[ARM] tegra: stingray: Add support for RNDIS USB function.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Nick Pelly [Fri, 20 Aug 2010 02:27:10 +0000 (19:27 -0700)]
mdm6600: Don't panic on wrong port.
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>
Rebecca Schultz Zavin [Fri, 20 Aug 2010 00:12:04 +0000 (17:12 -0700)]
[ARM] tegra: nvrm: Remove NvRm reset and clock controls for camera
These controls are no longer used.
Change-Id: I5259a799777471272b54682d4bfef9a0739964ec
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
S. Holmes [Thu, 19 Aug 2010 15:31:17 +0000 (09:31 -0600)]
tegra: nvrm: Add VDE, VCP, and BSEA to RM clock & module APIs
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
Jay Cheng [Fri, 20 Aug 2010 00:04:36 +0000 (17:04 -0700)]
[ARM] tegra: stingray: change uartc clock source to pll_m.
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>
Praveen Bharathi [Thu, 12 Aug 2010 16:11:32 +0000 (11:11 -0500)]
board-stingray-power: add notification led driver
Change-Id: Ia2a6f7d2f5734e815a6fabc1d4752eb3bcddde9d
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
Praveen Bharathi [Thu, 12 Aug 2010 16:10:44 +0000 (11:10 -0500)]
leds: stingray: add blink support for cpcap leds
Allows individual led to support blink capability
Change-Id: If2c7bd8a4bc617e3049b0db3a6fec4f92b06c0e5
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
Greg Meiste [Fri, 13 Aug 2010 18:40:12 +0000 (13:40 -0500)]
[ARM] tegra: stingray: Charge LED GPIO moved on P2
Support the charge LED on P2 hardware.
Change-Id: I2e8733f11d98c29015282520f8f560b5734f8696
Signed-off-by: Greg Meiste <w30289@motorola.com>
James Wylder [Mon, 9 Aug 2010 15:56:53 +0000 (10:56 -0500)]
[ARM] tegra: stingray: USB current drain reduction.
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
Greg Meiste [Mon, 16 Aug 2010 16:13:27 +0000 (11:13 -0500)]
[ARM] tegra: stingray: Configure CPCAP Switchers for low power
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>
Ramesh Sudini [Thu, 19 Aug 2010 18:37:23 +0000 (13:37 -0500)]
[ARM] tegra: stingray: defconfig: enable whisper HID
Change-Id: I29ad1993a06adf6ac6a7b5093cc7cba9b4111fa1
Signed-off-by: Ramesh Sudini <ramesh.sudini@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
Ramesh Sudini [Thu, 19 Aug 2010 18:21:37 +0000 (13:21 -0500)]
HID: hid-motorola: whisper HID driver
Signed-off-by: Ramesh Sudini <ramesh.sudini@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
Change-Id: I63a1c5358f8536916e29d18e298ea495deddcbae
James Wylder [Thu, 19 Aug 2010 02:15:03 +0000 (19:15 -0700)]
[ARM] tegra: stingray: implement display suspend/resume callbacks
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>
Rebecca Schultz Zavin [Tue, 10 Aug 2010 20:02:19 +0000 (13:02 -0700)]
[ARM] tegra: Modify board-stingray to use correct name for tegra_camera device
Change-Id: I2dfd8100b264ecbfb43eed669881ec535c8a7bcd
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Tue, 10 Aug 2010 20:00:02 +0000 (13:00 -0700)]
media: video: tegra: Move tegra_isp to tegra_camera and add functionality
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>
Colin Cross [Mon, 2 Aug 2010 23:13:38 +0000 (16:13 -0700)]
[ARM] tegra: stingray: Enable LP0 suspend
Change-Id: I263eee7206c7109cb766e3dbad991304a6ebc9ab
Signed-off-by: Colin Cross <ccross@google.com>
Rebecca Schultz Zavin [Tue, 10 Aug 2010 20:05:59 +0000 (13:05 -0700)]
[ARM] tegra: Specifiy regulator by device name in stingray board file
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>
Rebecca Schultz Zavin [Wed, 18 Aug 2010 21:00:18 +0000 (14:00 -0700)]
[ARM] configs: Enable soc2030 2MP imager in stingray defconfig
Change-Id: I58f571c78a64adda4f70e7f3c87b3e3d218cc185
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Iliyan Malchev [Thu, 12 Aug 2010 00:43:34 +0000 (17:43 -0700)]
[ARM] tegra: cpcap-audio: enable turning off audio-output paths
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Fri, 6 Aug 2010 22:39:41 +0000 (15:39 -0700)]
[ARM] tegra: cpcap-audio: add support for selecting audio inputs
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Fri, 6 Aug 2010 22:32:33 +0000 (15:32 -0700)]
[ARM] tegra: stingray: add mic2 and correct mic1 configuration
Signed-off-by: Iliyan Malchev <malchev@google.com>
Jaikumar Ganesh [Mon, 16 Aug 2010 22:51:09 +0000 (15:51 -0700)]
[ARM] tegra: stingray: Add HID drivers.
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
Greg Meiste [Fri, 13 Aug 2010 18:16:50 +0000 (13:16 -0500)]
mfd: cpcap-whisper: Tweak to support real Whisper docks
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>
Greg Meiste [Thu, 29 Jul 2010 20:50:51 +0000 (15:50 -0500)]
mfd: cpcap-whisper: Update configuration for Whisper Smart
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>
Greg Meiste [Thu, 29 Jul 2010 19:23:26 +0000 (14:23 -0500)]
mfd: cpcap-whisper: Report dock ID to system
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>
Dmitry Shmidt [Mon, 16 Aug 2010 17:57:13 +0000 (10:57 -0700)]
mmc: sdhci-tegra: Set MMC_PM_KEEP_POWER flag in case of built-in device
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Mike Lockwood [Fri, 13 Aug 2010 15:31:20 +0000 (11:31 -0400)]
[ARM] tegra: stingray_defconfig: Enable CONFIG_FUSE_FS
Signed-off-by: Mike Lockwood <lockwood@android.com>
Erik Gilling [Fri, 13 Aug 2010 00:28:12 +0000 (17:28 -0700)]
video: tegra: unpin nvmap handles after flip
Signed-off-by: Erik Gilling <konkers@android.com>
Colin Cross [Wed, 11 Aug 2010 22:23:50 +0000 (15:23 -0700)]
[ARM] tegra: stingray: Configure SYS_RESTART_B gpio
Change-Id: I8ccdf18a0b34877a5689a968ad253b2eb7a7a4f3
Signed-off-by: Colin Cross <ccross@google.com>
Sergey Kudakov [Wed, 11 Aug 2010 23:18:51 +0000 (18:18 -0500)]
leds: leds-lp8550: fix a typo in suspend/resume handlers
Change-Id: I1445b90b9f31ec69d8ec298cae68ed9d75fb5abd
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
Nick Pelly [Tue, 10 Aug 2010 21:46:06 +0000 (14:46 -0700)]
mdm6600: Use pre-allocated, dma-coherent bulk buffer pool.
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>
Nick Pelly [Thu, 29 Jul 2010 19:05:57 +0000 (12:05 -0700)]
[ARM] tegra: stingray: switch to new mdm6600 driver in defconfig
Change-Id: I24d8f1deeea99adb2dfb934a3b7984ecdada9d39
Signed-off-by: Nick Pelly <npelly@google.com>
Nick Pelly [Thu, 29 Jul 2010 19:05:22 +0000 (12:05 -0700)]
mdm6600: Add mdm6600 usb-serial driver.
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>
Rebecca Schultz Zavin [Wed, 11 Aug 2010 22:08:12 +0000 (15:08 -0700)]
leds: leds-lp8550: Remove early suspend/resume handler from this driver
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>
Rebecca Schultz Zavin [Tue, 10 Aug 2010 23:56:56 +0000 (16:56 -0700)]
[ARM] tegra: Add support for soc2030 camera sensor to stingray boardfiles
Change-Id: I2c83e3946a279aa9b963518ff6e600aad714276f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Tue, 10 Aug 2010 23:49:45 +0000 (16:49 -0700)]
media: video: tegra: Driver for 2MP SOC2030 imager for use with tegra isp
Change-Id: I5ec72fd2a06c97c8cbf496d69fe2b03c1ef0941e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Benoit Goby [Wed, 11 Aug 2010 01:10:01 +0000 (18:10 -0700)]
misc: Fix panic on suspend in TS27.010 Mux driver
Change-Id: I6af85425934961c65caf096f501f2356eac946fd
Signed-off-by: Benoit Goby <benoit@android.com>
Colin Cross [Wed, 11 Aug 2010 01:19:14 +0000 (18:19 -0700)]
[ARM] tegra: stingray: Enable LP1 suspend
Signed-off-by: Colin Cross <ccross@google.com>
Change-Id: I9a7fa0cf420f962599b05831fae3209dfe28b947
Colin Cross [Fri, 6 Aug 2010 21:50:00 +0000 (14:50 -0700)]
[ARM] tegra: stingray: Remove cruft from defconfig, add CROSS_COMPILE
Signed-off-by: Colin Cross <ccross@google.com>
Change-Id: I6b6a3be38a23f7cf09309bb326ce020ac4dc471a
Rebecca Schultz Zavin [Tue, 10 Aug 2010 23:55:43 +0000 (16:55 -0700)]
[ARM] tegra: Add pinmuxing for pin group dte to stingray board file
Change-Id: Ib8e30764c690a11e4962ed8c52d80225cd9f15fa
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Todd Poynor [Thu, 5 Aug 2010 03:25:59 +0000 (20:25 -0700)]
cpcap: suspend/resume
Disable cpcap interrupts at suspend and re-enable at resume, to avoid
processing interrupts while the SPI controller is suspended.
Change-Id: I26676b8ce8983bf5477f169a15d811c474c6f5a4
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Benoit Goby [Tue, 10 Aug 2010 01:00:04 +0000 (18:00 -0700)]
usb: serial: Fix memory corruption in moto-flashmdm
moto_flashmdm_attach should also override bulk_out_buffers as
usb-serial expects they have the same size as bulk_out_buffer
Change-Id: I97487fa833ed3dee40a15c485ba8565944d0f9e4
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 6 Aug 2010 19:24:59 +0000 (12:24 -0700)]
[ARM] tegra: stingray_defconfig: Enable USB_SERIAL_MOTO_FLASH_MODEM
Change-Id: Ib952e1296e34669389d2783f183ce8889b9b0e27
Signed-off-by: Benoit Goby <benoit@android.com>
makarand.karvekar [Fri, 6 Aug 2010 20:26:20 +0000 (15:26 -0500)]
touch: temporary fix for IC wake issue.
reset commented out in resume.
reset address pointer to message object.
adjusted wait time after reset upon recommendation from Atmel.
Change-Id: I0dd983ce0545c6ca2e48d4ed06b90d8c1ac1a390
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Jay Cheng [Fri, 6 Aug 2010 22:42:33 +0000 (18:42 -0400)]
[ARM] tegra: stingray: change UARTC clock source to PLL_P
Bluetooth requires 3Mpbs baud rate. Change UART clock source from
clk_m (
26000000) to pll_p (
216000000).
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Erik Gilling [Fri, 6 Aug 2010 21:56:35 +0000 (14:56 -0700)]
[ARM] add tegra dc and fb to stignray_defconfig
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Mon, 12 Jul 2010 00:11:06 +0000 (17:11 -0700)]
[ARM] tegra: move stingray-panel to new display system
Signed-off-by: Erik Gilling <konkers@android.com>
Nick Pelly [Fri, 6 Aug 2010 00:37:53 +0000 (17:37 -0700)]
[ARM] tegra: stingray: Enable TS MUX driver again.
No longer crashes due to fixes to mdm6600_modem
Change-Id: Ie5617b998d947cd7f2a55728e66e89a58b4fc96e
Signed-off-by: Nick Pelly <npelly@google.com>
Nick Pelly [Fri, 6 Aug 2010 00:35:17 +0000 (17:35 -0700)]
mdm6600_modem: fix crash on suspend in mdm6600_modem
This allow's Motorola's mdm6600_modem driver to work with suspend.
Patch provided by Motorola.
mdm6600_modem will shortly be replaced by a re-write, but its useful to commit
this update for easier A/B testing.
Change-Id: I0489f139e59e42ba1b6fb1979cf8b3ea8196a126
Signed-off-by: Nick Pelly <npelly@google.com>
Greg Meiste [Thu, 5 Aug 2010 15:38:12 +0000 (10:38 -0500)]
[ARM] tegra: stingray: Configure Charge LED
Configure GPIO_PZ5 to control the charge LED. For now, charge LEDs
are enabled when device is powered up. GPIO is also exported to
enable factory testing.
Change-Id: I6bf7345cc795d57c1312c2c14ab1c74863a421ce
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Thu, 5 Aug 2010 16:15:08 +0000 (11:15 -0500)]
power: ds2781: Check if charger already attached when probed
If Stingray is powered up with a charger already attached, the battery
driver would not report charging to the system, even though the battery
was being charged. This charges the DS2781 battery driver to check
if a charger is already present when the driver is probed.
Change-Id: I786e34a4699a545f5a03995db5df457cd7f63773
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Tue, 3 Aug 2010 20:41:22 +0000 (15:41 -0500)]
[ARM] tegra: stingray: Tegra w1 timing updates
Changes to the Tegra w1 timings to meet the timing requirements
of the DS2780 and DS2781 ICs as recommended by the hardware team.
Change-Id: I5dca589d98d87c16fac82759d02d42cd4afbc659
Signed-off-by: Greg Meiste <w30289@motorola.com>
makarand.karvekar [Mon, 2 Aug 2010 19:20:15 +0000 (14:20 -0500)]
misc: max9635: disable irq in suspend.
The device expects the irq to be disabled on resume, enable
it from suspend so enable/disables are balanced.
Change-Id: I62cf633819d8fdb3c5f7c6227f2625cfdecdc6a8
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Colin Cross [Wed, 4 Aug 2010 01:31:33 +0000 (18:31 -0700)]
[ARM] tegra: stingray: Update board file for i2c-tegra changes
The latest i2c-tegra driver requires more platform data to support
multiple i2c busses on a single controller.
Iliyan Malchev [Thu, 29 Jul 2010 21:13:10 +0000 (14:13 -0700)]
[ARM] tegra: stingray: configure CPCAP audio codec driver
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Thu, 29 Jul 2010 21:12:39 +0000 (14:12 -0700)]
[ARM] tegra: stingray: configure board for audio through i2s1
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Thu, 29 Jul 2010 21:09:06 +0000 (14:09 -0700)]
[ARM] tegra: stingray: platform driver for CPCAP audio codec
-- provides output-volume control
-- provides two output paths: speaker and headset
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Fri, 30 Jul 2010 19:50:23 +0000 (12:50 -0700)]
[ARM] tegra: add mach header to configure cpcap-audio
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Mon, 28 Jun 2010 22:29:40 +0000 (15:29 -0700)]
[ARM] tegra: stingray: configure audio-related clocks
Iliyan Malchev [Thu, 29 Jul 2010 21:08:42 +0000 (14:08 -0700)]
[ARM] public interface for CPCAP audio codec driver
Signed-off-by: Iliyan Malchev <malchev@google.com>