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>
Colin Cross [Fri, 30 Jul 2010 19:16:30 +0000 (12:16 -0700)]
input: qtouch: Fix warning
Signed-off-by: Colin Cross <ccross@google.com>
Greg Meiste [Fri, 30 Jul 2010 15:42:36 +0000 (10:42 -0500)]
w1: Add support for DS2780 gas gauge
Stingray will initially ship with the DS2780 instead of the DS2781
gas gauge. The same DS2781 driver will work, but need to look for
the DS2780 family code.
Change-Id: I6b47f31d6362895839af4922210dba2aee41db42
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Thu, 29 Jul 2010 12:53:19 +0000 (07:53 -0500)]
[ARM] tegra: stingray: Reduce Tpdl time
The Tpdl time was too large, causing some batteries to not be
detected.
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Fri, 30 Jul 2010 14:28:56 +0000 (09:28 -0500)]
power: ds2781: Use correct value for Rsnsp
The current being reported by the DS2781 battery driver was off
due to the incorrect value being used for Rsnsp. The DS2781 has
a register with the correct value, so use it instead of a hard
coded value.
Change-Id: I6fbd32a2a890232a805a2d4f1e595b0b3daf30e8
Signed-off-by: Greg Meiste <w30289@motorola.com>
makarand.karvekar [Fri, 30 Jul 2010 03:23:38 +0000 (22:23 -0500)]
touch: remove duplicate register input device call
duplicate register input called, when boot work function is triggered
via firmware update process.
This broke reboot command.
Change-Id: I78547127bfbde39f1f971806156d332883b8bf43
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Benoit Goby [Thu, 29 Jul 2010 01:32:41 +0000 (18:32 -0700)]
[ARM] tegra: stingray: Configure the USB PHY as recommended by Motorola
Use ehci devices from devices.c
Change-Id: I4035b5e1ee06d5b2a561da0b1d4c0d8c55092a4d
Signed-off-by: Benoit Goby <benoit@android.com>
Rebecca Schultz Zavin [Thu, 29 Jul 2010 05:42:03 +0000 (22:42 -0700)]
media: video: tegra: ov5650: Remove log messages
Some sensor ioctls are called on every frame. Remove log messages
to prevent the kernel log from getting too spammy.
Change-Id: I0eb88eb7e7da7c5eb3e158c17ae68cca195147fc
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 28 Jul 2010 22:21:32 +0000 (15:21 -0700)]
[ARM] tegra: Add ov5650 camera sensor to stingray board file
Change-Id: I1b5277de2ed972ef2c7235e1c7d190273ff0e069
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 28 Jul 2010 22:20:15 +0000 (15:20 -0700)]
[ARM] tegra: Add tegra isp to stingray board files
Change-Id: I84eab4cb11a90cea7e43d63a571faffd022a5cda
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Thu, 29 Jul 2010 01:06:59 +0000 (18:06 -0700)]
[ARM] configs: Add ov5650 to stingray defconfig
Change-Id: Id0088aff7dc4f235965d834e153461f653772300
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 28 Jul 2010 22:18:51 +0000 (15:18 -0700)]
media: video: Add support for omnivision ov5650 for use with tegra isp
Change-Id: Ifb306ff6818d46fac26d7a1a9261a4cc67d729ca
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Rebecca Schultz Zavin [Wed, 28 Jul 2010 22:16:25 +0000 (15:16 -0700)]
media: video: Add stub isp driver for tegra
Change-Id: I6ff1bf0e72ef69b59d5875bd60c7cd825fa2ca4f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Gary King [Wed, 21 Jul 2010 22:08:57 +0000 (15:08 -0700)]
[ARM] tegra: nvrm: add basic implementation of clock controls
add support for enabling, disabling and configuring the ISP, VI and
CSI clocks from user-space through the RM APIs
Change-Id: I652af05d5406928721ac62371b85cb3e2cbb3f6b
Signed-off-by: Gary King <gking@nvidia.com>
Gary King [Tue, 20 Jul 2010 21:29:27 +0000 (14:29 -0700)]
[ARM] tegra: add iram heap
AVP modules expect IRAM to be allocatable through nvmap, so the
IRAM heap needs to be created
Change-Id: Idd1bdccd5ff05ae655cb59780a89002a122055c9
Signed-off-by: Gary King <gking@nvidia.com>
Colin Cross [Thu, 29 Jul 2010 00:19:05 +0000 (17:19 -0700)]
Revert "[ARM] tegra: stingray: Disable DS2781 1w driver"
This reverts commit
3f399eda535217497ba911cbe94af04f7f2fb724.
Colin Cross [Wed, 28 Jul 2010 23:28:48 +0000 (16:28 -0700)]
HACK: stingray: Don't set the memory controller frequency
The latest stingray P1s die during boot when the memory
controller frequency is changed.
Change-Id: Ia505343289d7f6066d7731d2297c585988ffa7ea
Signed-off-by: Colin Cross <ccross@android.com>
Dmitry Shmidt [Wed, 28 Jul 2010 17:41:54 +0000 (10:41 -0700)]
[ARM] tegra: stingray: Fix path to bcm4329 Wifi calibration file
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Colin Cross [Wed, 28 Jul 2010 02:58:07 +0000 (19:58 -0700)]
[ARM] tegra: stingray: Disable ts27010 mux
The ts27010 mux driver panics during suspend, disable it
temporarily.
Change-Id: I0c858bf01d1579d38048288d1e19a373307600c2
Signed-off-by: Colin Cross <ccross@android.com>
makarand.karvekar [Tue, 27 Jul 2010 17:44:27 +0000 (12:44 -0500)]
[ARM] tegra: olympus: update touch object elements.
touch object elements updated as per firmware 09
protocol publication.
Change-Id: I1e3ce574859eaa25d8b46add055572ec4017855f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Tue, 27 Jul 2010 17:44:27 +0000 (12:44 -0500)]
[ARM] tegra: stingray: update touch object elements.
touch object elements updated as per firmware 09
protocol publication.
Change-Id: I8fceb69b42b3234953dfd7aa35f01ead3f300ff6
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Tue, 27 Jul 2010 17:36:51 +0000 (12:36 -0500)]
touch: firmware 09 support
Added new objects grip, palm and Digitizer HID.
Ignoring info block checksum for now, issues seen
on some HW having incorrect info data.
Change-Id: I812d3099dd273e99a87ca3fe8dfce3bcdfbede7e
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Kazuhiro Ondo [Thu, 22 Jul 2010 16:57:32 +0000 (11:57 -0500)]
Motorola USB flash mode driver.
Change-Id: Idf72cbceeff56523be443013c5cbda79ea829994
Greg Meiste [Mon, 26 Jul 2010 19:39:57 +0000 (14:39 -0500)]
mfd: cpcap-irq: Add debugfs file for CPCAP IRQ data
This change will add the file cpcap-irq to the debug fs directory. The file will
provide data for each of the cpcap interrupts. The data includes the interrupt
name, if the interrupt is enabled/disabled, if a handler has been registered
with the interrupt, and the number of times the interrupt has been generated.
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Mon, 26 Jul 2010 19:02:18 +0000 (14:02 -0500)]
mfd: cpcap-irq: Short power button presses don't wake up
Fix for Issue
2866518: Short power button presses during suspend don't
wake up.
Signed-off-by: Greg Meiste <w30289@motorola.com>
Colin Cross [Fri, 23 Jul 2010 19:54:37 +0000 (12:54 -0700)]
usb: fsl_udc_core: Prevent udc timeout on suspend
Change-Id: Ic4780063d432860df835c54c17b2b9249132c8c5
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Tue, 27 Jul 2010 22:25:03 +0000 (15:25 -0700)]
[ARM] tegra: stingray: Disable LP1 suspend
Change-Id: Id345a12759425889bb295c8004daa4ccb7bfc812
Signed-off-by: Colin Cross <ccross@android.com>
Gary King [Fri, 25 Jun 2010 23:53:37 +0000 (16:53 -0700)]
tegra: stingray: initialize suspend platform data
configure the suspend platform data for stingray with conservative
values for the PMU timers, and specify LP1 (DRAM in self-refresh,
core voltage on) as the default suspend mode.
to configure LP2 (DRAM active, core voltage on) as the suspend mode,
set .dram_suspend = false in stingray_suspend.
Change-Id: Icf991f916a06a22b0878be0cc9790e7173d986db
Colin Cross [Tue, 27 Jul 2010 22:25:22 +0000 (15:25 -0700)]
[ARM] tegra: stingray: Disable DS2781 1w driver
Change-Id: Ib7a4da3370b988137f498783e1699814ad758aaa
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Tue, 20 Jul 2010 22:19:37 +0000 (15:19 -0700)]
[ARM] tegra: stingray: Fill out pinmux table from docs
Set all of the mux and tristate settings based on the stingray
documentation. Also uses TEGRA_MUX_SAFE for any pingroup that
is unused or used only for GPIOs.
Change-Id: Ifd022333a74e9415d1043c7c7b9ac324d3536ecf
Sergey Kudakov [Fri, 23 Jul 2010 17:07:26 +0000 (12:07 -0500)]
Corrections for usb platform data
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
Greg Meiste [Wed, 14 Jul 2010 15:46:20 +0000 (10:46 -0500)]
[ARM] tegra: stingray: Enable CPCAP uC SW2 control
Enable CORE_PWR_REQ from T20 and enable SW2 control in CPCAP.
Change-Id: I4b384f2a35a521ed0693dd8d490687025bf47151
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 14 Jul 2010 15:43:56 +0000 (10:43 -0500)]
firmware: cpcap: Support uC control of SW2
Update the CPCAP firmware to add support to control SW2. VDD_CORE is
connected to SW2, and therefore SW2 needs to be controlled by CORE_PWR_REQ.
Change-Id: I9526c7c14bd9c4d41d40800392ae814adae49c08
Signed-off-by: Greg Meiste <w30289@motorola.com>
Dmitry Shmidt [Mon, 26 Jul 2010 22:50:50 +0000 (15:50 -0700)]
[ARM] tegra: stingray: Add ram_console support (256K from top of memory)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Dmitry Shmidt [Mon, 26 Jul 2010 22:23:07 +0000 (15:23 -0700)]
usb: otg: cpcap-otg: Fix section mismatch warning
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Nick Pelly [Thu, 22 Jul 2010 20:49:55 +0000 (13:49 -0700)]
[ARM] tegra: stingray: turn on USB_SERIAL
Change-Id: I13383a51376961f19af0b2155294dd9eb7fb01a7
Signed-off-by: Nick Pelly <npelly@google.com>
Kazuhiro Ondo [Tue, 20 Jul 2010 19:36:21 +0000 (14:36 -0500)]
msm6600_modem: Add TS27.010 MDM6600 modem driver.
Change-Id: Ide01d600124ade39544800cce35f09fd35918e27
Signed-off-by: Nick Pelly <npelly@google.com>
Nick Pelly [Fri, 23 Jul 2010 22:09:53 +0000 (15:09 -0700)]
[ARM] tegra: stingray: turn on TS MUX defconfig
Change-Id: I45ef0d1eedc65250cd279a4d7c544225ce826a3e
Signed-off-by: Nick Pelly <npelly@google.com>
Benoit Goby [Thu, 22 Jul 2010 06:56:06 +0000 (23:56 -0700)]
[ARM] tegra: stingray_defconfig: Add USB Host support, CPCAP OTG
and Mass Storage
Change-Id: I530a4c705939aeaf0d538076a28c67e6f57e640e
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Mon, 12 Jul 2010 22:31:22 +0000 (15:31 -0700)]
[ARM] tegra: stingray: Add USB host devices
Change-Id: I6775193fa1c8f7ddf3bb38d0addc29b8e5dbac2d
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 21 Jul 2010 03:29:02 +0000 (20:29 -0700)]
mfd: cpcap-whisper: Notify the USB sub-system of USB events
Change-Id: I7707f9c0589bcc46529cab13a34a5376aca4899a
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 21 Jul 2010 00:54:36 +0000 (17:54 -0700)]
usb: otg: Add CPCAP USB OTG driver
This driver receives notifications from cpcap-whisper and emulates the same
behavior as when the VBUS and ID USB pins are connected to the app processor.
Change-Id: I671e64c58559a2a3036273ef1fe8acb6af516fac
Signed-off-by: Benoit Goby <benoit@android.com>
James Wylder [Thu, 1 Jul 2010 18:48:45 +0000 (13:48 -0500)]
[ARM] tegra: stingray: Modify USB Product ID's
Update the Product IDs and Vendor IDs to match the
values in the Windows(TM) drivers.
Change-Id: Id0d6a167742e124d5182757d183157380ffe4a8f
Signed-off-by: James Wylder <james.wylder@motorola.com>
Greg Meiste [Mon, 19 Jul 2010 22:56:01 +0000 (17:56 -0500)]
power: bq24617: Support DETECT line on P1
Stingray P1 adds a DETECT line that needs to be used for charger
detection.
Change-Id: If904f18e0618b7cf1673fd654cc73ed27ddd5672
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Mon, 19 Jul 2010 22:58:34 +0000 (17:58 -0500)]
[ARM] tegra: stingray: Configure charger lines as inputs
Do not assume the lines are input by default. Several of the lines
were found to be set to outputs, causing issues with charger detection.
Change-Id: Ia41702c4efa76cf3b96475e798bcef0f29c9387c
Signed-off-by: Greg Meiste <w30289@motorola.com>
Kazuhiro Ondo [Wed, 21 Jul 2010 18:58:29 +0000 (11:58 -0700)]
misc: Add TS27.010 Mux driver
Change-Id: I1ab0cf0e141fcd2915b2d27d1badaa274803b73e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Greg Meiste [Wed, 2 Jun 2010 18:59:41 +0000 (13:59 -0500)]
[ARM] Fix .gitignore for boot/compressed folder
This change was found online at:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg27536.html
With this change, git status comes back clean even after a build.
Change-Id: I3a0dbd3430d2760131c63179008977b6a0ebe299
Signed-off-by: Greg Meiste <w30289@motorola.com>
Dmitry Shmidt [Tue, 20 Jul 2010 00:04:55 +0000 (17:04 -0700)]
[ARM] stingray: Add Netfilter in config file
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Colin Cross [Mon, 19 Jul 2010 17:05:26 +0000 (10:05 -0700)]
qtouch: Remove the powerconfig hack
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Sat, 17 Jul 2010 06:48:26 +0000 (23:48 -0700)]
qtouch: Revert removal of the powerconfig hack
Taking out the powerconfig hack seems to break the current version
of the firmware. Put it back in for now.
Signed-off-by: Colin Cross <ccross@android.com>
makarand.karvekar [Fri, 9 Jul 2010 15:57:03 +0000 (10:57 -0500)]
[ARM] Stingray sensor board file: Correct part placement settings.
kxtf9 is placed in position 1 Top-Bottom.
Corrected placement settings.
Change-Id: I7216fee62efd6a14254e33c6cc77ec92b91200f9
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 9 Jul 2010 19:12:21 +0000 (14:12 -0500)]
touch: Fix info block checksum calculation and eeprom field.
Updated info block checksum calculation to use 24-bit crc
as per Atmel data sheet.
Updated eeprom field(nv_checksum) to accommodate 24-bits.
Removed HACK(powerconfig) code for low-power mode.
Change-Id: Ic38a695010fd519af5c87ac731e8582898058bbb
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Colin Cross [Fri, 16 Jul 2010 02:21:16 +0000 (19:21 -0700)]
[ARM] tegra: stingray: Specify nonexistant gpio for sdhci
The tegra sdhci driver has been changed to use -1 for "no gpio",
because 0 is a valid gpio number.
Change-Id: I906318d8d121019d33b98d1917e54dac90f747c1
Signed-off-by: Colin Cross <ccross@android.com>
Gary King [Tue, 29 Jun 2010 22:33:50 +0000 (15:33 -0700)]
[ARM] tegra: add nvrm transport interface
add nvrm transport kernel APIs and nvrpc device node access to
it, to support basic multimedia and AVP access
add enough nvrmmodule functions to get RM transport bootstrapped
and to support resetting the AVP (which is needed after the AVP
kernel is loaded by nvrm_daemon).
Change-Id: I9b2299db43daceb0c238c3876a8fabf1b6352e34
Signed-off-by: Gary King <gking@nvidia.com>
Sergey Kudakov [Tue, 6 Jul 2010 18:47:46 +0000 (13:47 -0500)]
[ARM] Stingray panel board file: Update resolution based on board's HW revision
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
Colin Cross [Mon, 12 Jul 2010 22:33:23 +0000 (15:33 -0700)]
[ARM] tegra: remove iovmm v1
new version of iovmm uploaded, with fixes for the allocate-while-atomic
problems and an improved suspend API that eliminates races with drivers
during suspend
Change-Id: Ideaaa608c822e5b0a4b975076ea77a6f5873702b
Erik Gilling [Mon, 12 Jul 2010 22:38:59 +0000 (15:38 -0700)]
[ARM] tegra: correct hw revision detection for stingray panel
Signed-off-by: Erik Gilling <konkers@android.com>
James Wylder [Wed, 7 Jul 2010 23:18:01 +0000 (16:18 -0700)]
[ARM] stingray_defconfig: Enable mdm6600 shutdown logic.
Change-Id: I3625127bd31fbf785dc981f4bf89e0125618b691
Signed-off-by: James Wylder <james.wylder@motorola.com>
James Wylder [Thu, 8 Jul 2010 21:05:36 +0000 (14:05 -0700)]
[ARM] tegra: stingray: Add mdm6600-ctrl to boardfile
Update board-stingray-power.c to nitialize the mdm6600
control driver.
Change-Id: I6abb2268dc8138e9f92ee05b7e8ab377d45163ed
Signed-off-by: James Wylder <james.wylder@motorola.com>
James Wylder [Wed, 7 Jul 2010 23:15:25 +0000 (16:15 -0700)]
misc: Add mdm6000 modem shutdown logic
Add driver to communicate shutdown request to mdm6600
modem, through gpio triplets.
Change-Id: I00ab47e64e8f398caebac83f7c734f2f2c1a2aa3
Signed-off-by: James Wylder <james.wylder@motorola.com>
Erik Gilling [Sat, 10 Jul 2010 02:51:16 +0000 (19:51 -0700)]
[ARM] add host1x to stingray_defconfig
Signed-off-by: Erik Gilling <konkers@android.com>
Dmitry Shmidt [Fri, 2 Jul 2010 19:20:51 +0000 (12:20 -0700)]
[ARM] tegra: stingray: nv: Remove section mismatch warnings
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Erik Gilling [Thu, 8 Jul 2010 23:48:35 +0000 (16:48 -0700)]
[ARM] tegra: max out GPU frequency on stingray
Greg Meiste [Wed, 7 Jul 2010 21:41:05 +0000 (16:41 -0500)]
[ARM] tegra: stingray: Export charging GPIOs
The factory needs to be able to control the charging IC
during the device testing before the device is allowed
to ship.
Change-Id: I1d7f3edd8dfbc06a9c557c82bc3c88f2873ab414
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 7 Jul 2010 18:54:08 +0000 (13:54 -0500)]
[ARM] tegra: stingray: Enable GPIO sysfs interface
Turn on the defconfig flag to enable the GPIO sysfs interface.
This change is needed by the factory for testing devices before
they ship.
Change-Id: I7665529bf5085d81d73a2ac77480179f8fab0856
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Tue, 6 Jul 2010 19:22:42 +0000 (14:22 -0500)]
power: ds2781: Report age scalar to system
Because the battery is non-removable, the service centers would like
a way of knowing whether the battery actually needs replacing. The
driver will now report the age scalar to the system to indicate
battery age.
Change-Id: I4dcaf12d87fdf82563d5511702ee3c6b4dffeecb
Signed-off-by: Greg Meiste <w30289@motorola.com>
makarand.karvekar [Tue, 6 Jul 2010 18:30:44 +0000 (13:30 -0500)]
touch: Correct message read size for CRC feature.
Previously, Message Processor always generated
CRC byte at end of message.
Now(version 8), this CRC byte is generated only upon request.
To request that a checksum is generated, the MSBit
of the address of the Message Processor object is set to 1.
By default the CRC byte is not generated, reading the CRC byte
will remove new messages from IC causing lost touches.
Added control flag and message size correction for this feature.
Change-Id: I7d1a75528a59afcc95688ae1b7d6704d29ffe443
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 2 Jul 2010 21:46:10 +0000 (16:46 -0500)]
[ARM] Stingray touch board file: Update touch_fw_cfg for P1
P1 touch_fw_cfg updated with firmware filename.
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Mon, 28 Jun 2010 20:42:37 +0000 (15:42 -0500)]
[ARM] Stingray touch board file: Update touch_fw_cfg
touch_fw_cfg updated with firmware filename.
Change-Id: I7463ba34fc4c9e8f87bc51d6b65b67bfb9f36194
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 2 Jul 2010 21:00:31 +0000 (16:00 -0500)]
touch: request_firmware from userspace.
Removed header file with firmware structures.
Added request_firmware call.
Change-Id: If01b64a7d7489ec8f553d87b6a4a8afea92f737d
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Dmitry Shmidt [Fri, 2 Jul 2010 19:19:14 +0000 (12:19 -0700)]
[ARM] tegra: stingray: usbnet: Remove section mismatch warnings
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Dmitry Shmidt [Fri, 2 Jul 2010 19:03:25 +0000 (12:03 -0700)]
drivers: mfd: cpcap: Fix section mismatch warnings
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
makarand.karvekar [Thu, 1 Jul 2010 21:54:59 +0000 (16:54 -0500)]
[ARM] Stingray touch board file: Add P1,P2 touch panel support.
Added P1,P2 structure with updated Y parameters.
Change-Id: I04f96dea35ad6f1005de01e25a57b1bc9701cd3e
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Antti Hatala [Thu, 1 Jul 2010 19:37:13 +0000 (12:37 -0700)]
[ARM] tegra: Update nvmap to support new driver for host1x
This patch does some cleanup to nvmap, and adds kernel apis for
use from the new host1x driver.
Change-Id: I17dbdfe2df918f8684d09910132f69d0b244e0f3
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Greg Meiste [Tue, 29 Jun 2010 14:20:16 +0000 (09:20 -0500)]
w1: slaves: ds2781: Fix warning introduced by K35
On K35, the bin_attribute structure was changed, causing a build
warning in the DS2781 w1 slave driver. Thsi patch fixes the warning
and the likely runtime error that would occur if something was
to try to read from the property.
Change-Id: I3a6ea8190a9f7e8ae8b85b25f79faa0574acc474
Signed-off-by: Greg Meiste <w30289@motorola.com>
Colin Cross [Tue, 29 Jun 2010 00:27:27 +0000 (17:27 -0700)]
[ARM] tegra: stingray: Update defconfig for 2.6.35
Change-Id: Icdabb06f10172ccf17a805b6212ce6a7fd381083
Signed-off-by: Colin Cross <ccross@android.com>
Dan Murphy [Mon, 28 Jun 2010 18:51:40 +0000 (13:51 -0500)]
[ARM] Stingray board file: Modify the axis map to dictate the correct orientation
Change the axis_map values so that the orientation of the gyroscope to match Android's expectations
Change-Id: I171a37c814b8210637f97eba5ed6645c09073e89
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Mon, 14 Jun 2010 15:34:28 +0000 (10:34 -0500)]
[ARM] Stingray defconfig: Add the LM3559 defconfig flag
Add the LM3559 defconfig flag and set it to y
Change-Id: I26939c995dcc8988b5b6afc664e23791d40876a0
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Mon, 14 Jun 2010 15:33:26 +0000 (10:33 -0500)]
[ARM] Stingray sensor board file: Add LM3559 Board file data
Add the LM3559 platform data to the board file
Change-Id: Ie59583e9da7a2774d56f4b4cd78ac111c97f9f68
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Mon, 14 Jun 2010 15:32:22 +0000 (10:32 -0500)]
leds: Add LM3559 flash driver support
Initial submission of the LM3559 driver for Stingray
Change-Id: Id18092f7b23248ea8e2fcca1116ddba89a9af9dc
Signed-off-by: Dan Murphy <wldm10@motorola.com>