Commit Graph

211782 Commits

Author SHA1 Message Date
Dmitry Shmidt
b2db6eaecc [ARM] tegra: stingray: Add ram_console support (256K from top of memory)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:33:21 -07:00
Dmitry Shmidt
8c44d79e2c usb: otg: cpcap-otg: Fix section mismatch warning
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:33:21 -07:00
Nick Pelly
f0d4b82a04 [ARM] tegra: stingray: turn on USB_SERIAL
Change-Id: I13383a51376961f19af0b2155294dd9eb7fb01a7
Signed-off-by: Nick Pelly <npelly@google.com>
2010-10-06 16:33:21 -07:00
Kazuhiro Ondo
468f272738 msm6600_modem: Add TS27.010 MDM6600 modem driver.
Change-Id: Ide01d600124ade39544800cce35f09fd35918e27
Signed-off-by: Nick Pelly <npelly@google.com>
2010-10-06 16:33:21 -07:00
Nick Pelly
d652ee9099 [ARM] tegra: stingray: turn on TS MUX defconfig
Change-Id: I45ef0d1eedc65250cd279a4d7c544225ce826a3e
Signed-off-by: Nick Pelly <npelly@google.com>
2010-10-06 16:33:21 -07:00
Benoit Goby
43a62e738f [ARM] tegra: stingray_defconfig: Add USB Host support, CPCAP OTG
and Mass Storage

Change-Id: I530a4c705939aeaf0d538076a28c67e6f57e640e
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:33:20 -07:00
Benoit Goby
817e84cce2 [ARM] tegra: stingray: Add USB host devices
Change-Id: I6775193fa1c8f7ddf3bb38d0addc29b8e5dbac2d
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:33:20 -07:00
Benoit Goby
dded1ea2a0 mfd: cpcap-whisper: Notify the USB sub-system of USB events
Change-Id: I7707f9c0589bcc46529cab13a34a5376aca4899a
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:33:20 -07:00
Benoit Goby
6878c410f2 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>
2010-10-06 16:33:20 -07:00
James Wylder
4457175d55 [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>
2010-10-06 16:33:20 -07:00
Greg Meiste
cd065896e8 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>
2010-10-06 16:33:19 -07:00
Greg Meiste
2c8013f76a [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>
2010-10-06 16:33:19 -07:00
Kazuhiro Ondo
6c1b49f901 misc: Add TS27.010 Mux driver
Change-Id: I1ab0cf0e141fcd2915b2d27d1badaa274803b73e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:19 -07:00
Greg Meiste
e1f14c6e8b [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>
2010-10-06 16:33:19 -07:00
Dmitry Shmidt
cca1abd51a [ARM] stingray: Add Netfilter in config file
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:33:19 -07:00
Colin Cross
e3a43b2bed qtouch: Remove the powerconfig hack
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 16:33:18 -07:00
Colin Cross
0464dd14b6 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>
2010-10-06 16:33:18 -07:00
makarand.karvekar
42e4f16f27 [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>
2010-10-06 16:33:18 -07:00
makarand.karvekar
6f36785b89 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>
2010-10-06 16:33:18 -07:00
Colin Cross
c28258f550 [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>
2010-10-06 16:33:18 -07:00
Gary King
5d7fbed838 [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>
2010-10-06 16:33:17 -07:00
Sergey Kudakov
8be0f3e492 [ARM] Stingray panel board file: Update resolution based on board's HW revision
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
2010-10-06 16:33:17 -07:00
Colin Cross
d50a4566c2 [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
2010-10-06 16:33:17 -07:00
Erik Gilling
9cc9e2a4ed [ARM] tegra: correct hw revision detection for stingray panel
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 16:33:17 -07:00
James Wylder
f4ea0f8c2e [ARM] stingray_defconfig: Enable mdm6600 shutdown logic.
Change-Id: I3625127bd31fbf785dc981f4bf89e0125618b691
Signed-off-by: James Wylder <james.wylder@motorola.com>
2010-10-06 16:33:17 -07:00
James Wylder
70726928d8 [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>
2010-10-06 16:33:17 -07:00
James Wylder
37b3acd876 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>
2010-10-06 16:33:16 -07:00
Erik Gilling
8263440764 [ARM] add host1x to stingray_defconfig
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 16:33:16 -07:00
Dmitry Shmidt
dfa145436a [ARM] tegra: stingray: nv: Remove section mismatch warnings
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:33:16 -07:00
Erik Gilling
695e15f8d6 [ARM] tegra: max out GPU frequency on stingray 2010-10-06 16:33:16 -07:00
Greg Meiste
0c63e93484 [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>
2010-10-06 16:33:16 -07:00
Greg Meiste
695dc2486d [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>
2010-10-06 16:33:15 -07:00
Greg Meiste
53e35045c6 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>
2010-10-06 16:33:15 -07:00
makarand.karvekar
23b71fa971 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>
2010-10-06 16:33:15 -07:00
makarand.karvekar
6100ff82f6 [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>
2010-10-06 16:33:15 -07:00
makarand.karvekar
32ce226ff9 [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>
2010-10-06 16:33:15 -07:00
makarand.karvekar
64ff66260b 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>
2010-10-06 16:33:14 -07:00
Dmitry Shmidt
99736316bc [ARM] tegra: stingray: usbnet: Remove section mismatch warnings
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:33:14 -07:00
Dmitry Shmidt
add4b3ab01 drivers: mfd: cpcap: Fix section mismatch warnings
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:33:14 -07:00
makarand.karvekar
42e58ebeab [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>
2010-10-06 16:33:14 -07:00
Antti Hatala
84acce0710 [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>
2010-10-06 16:33:14 -07:00
Greg Meiste
309b3f2db1 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>
2010-10-06 16:33:13 -07:00
Colin Cross
16fecf17fb [ARM] tegra: stingray: Update defconfig for 2.6.35
Change-Id: Icdabb06f10172ccf17a805b6212ce6a7fd381083
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 16:33:13 -07:00
Dan Murphy
9371af1a58 [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>
2010-10-06 16:33:13 -07:00
Dan Murphy
96d3d03a31 [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>
2010-10-06 16:33:13 -07:00
Dan Murphy
a549f972c1 [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>
2010-10-06 16:33:13 -07:00
Dan Murphy
38ed68afe3 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>
2010-10-06 16:33:13 -07:00
Colin Cross
752d56a7b8 [ARM] tegra: stingray: Add max8649 regulator to defconfig
Change-Id: Idaccc43bf247919642f6c1409a0fd0daa27847f3
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 16:33:12 -07:00
Colin Cross
f6878c12e6 [ARM] tegra: stingray: Add max8649 to board files
Change-Id: Ic28d5c46dad942f9706b0daa9cfa66cb964f9342
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 16:33:12 -07:00
Colin Cross
07dd048e75 [ARM] tegra: stingray: Rename board-stingray-spi to board-stingray-power
Change-Id: I7a770d5d5364916a455cb3470f1c9bf5b1bf6922
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 16:33:12 -07:00