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>
Colin Cross [Fri, 25 Jun 2010 02:35:25 +0000 (19:35 -0700)]
[ARM] tegra: stingray: Add max8649 regulator to defconfig
Change-Id: Idaccc43bf247919642f6c1409a0fd0daa27847f3
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Wed, 23 Jun 2010 22:52:18 +0000 (15:52 -0700)]
[ARM] tegra: stingray: Add max8649 to board files
Change-Id: Ic28d5c46dad942f9706b0daa9cfa66cb964f9342
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Wed, 23 Jun 2010 23:03:20 +0000 (16:03 -0700)]
[ARM] tegra: stingray: Rename board-stingray-spi to board-stingray-power
Change-Id: I7a770d5d5364916a455cb3470f1c9bf5b1bf6922
Signed-off-by: Colin Cross <ccross@android.com>
Greg Meiste [Tue, 25 May 2010 18:38:24 +0000 (13:38 -0500)]
[ARM] configs: Enable DS2781 drivers in stingray_defconfig
Change-Id: I77a600e2a39a1fc2a7b3b2773db1ac144e26cf33
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 26 May 2010 21:31:51 +0000 (16:31 -0500)]
power: ds2781: Add DS2781 battery driver
Initial implementation of the DS2781 battery driver.
Change-Id: I97a80b81b50ffa892759fca6e8336c6ca4e62e86
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Fri, 21 May 2010 15:45:27 +0000 (10:45 -0500)]
w1: slaves: ds2781: Add DS2781 driver
Initial implementation of the DS2781 one wire slave driver
Change-Id: Id7bb79fced794105d71e64ec9f5aa719f7da7797
Signed-off-by: Greg Meiste <w30289@motorola.com>
Dan Murphy [Tue, 15 Jun 2010 13:20:09 +0000 (08:20 -0500)]
[ARM] tegra: stingray: board file: Add USBnet functionality
Add USBnet functionality for factory test cable.
Ported from Sholes platform.
RNDIS and USB Serial number was removed.
Change-Id: Ia4072166e7b84500c7e856bb09aa8afec584da4c
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
Dmitry Shmidt [Thu, 24 Jun 2010 17:41:32 +0000 (10:41 -0700)]
[ARM] tegra: stingray: Set built-in flag for wlan device
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Dmitry Shmidt [Thu, 24 Jun 2010 02:10:42 +0000 (19:10 -0700)]
[ARM] tegra: mmc: Fix built-in device detect delay
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
prabhu.annabathula [Fri, 18 Jun 2010 22:52:19 +0000 (17:52 -0500)]
[ARM] stingray defconfig change to enable GPIO controller for brcm 4750
Signed-off-by: prabhu.annabathula <prabhu.annabathula@motorola.com>
prabhu.annabathula [Fri, 18 Jun 2010 22:51:11 +0000 (17:51 -0500)]
[ARM] stingray board file: GPS board file changes for brcm 4750
Signed-off-by: prabhu.annabathula <prabhu.annabathula@motorola.com>
prabhu.annabathula [Fri, 18 Jun 2010 22:47:20 +0000 (17:47 -0500)]
GPS: Add gpio controller driver for brcm 4750
driver provides ioctls for broadcom gps guci library to set gps
reset and standby lines for brcm 4750 chip
Signed-off-by: prabhu.annabathula <prabhu.annabathula@motorola.com>
Dmitry Shmidt [Tue, 22 Jun 2010 17:02:58 +0000 (10:02 -0700)]
[ARM] tegra: stingray: Add Wifi MAC ATAG processing
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Greg Meiste [Thu, 10 Jun 2010 16:31:33 +0000 (11:31 -0500)]
mfd: cpcap-whisper: Accessory detection updates
1) Added detection of Whisper Smart dock
2) Now enable VBUS for USB hosts
3) Added support for Whisper daemon to enable/disable UART
4) Fixed issue resulting in extra ID Float interrupt
Change-Id: I1531429bc90241de6139390eb7a2ac19f13ca78b
Signed-off-by: Greg Meiste <w30289@motorola.com>
Andrei Warkentin [Mon, 28 Jun 2010 23:06:30 +0000 (18:06 -0500)]
[ARM] configs: Add tegra w1 master to stingray defconfig
Change-Id: Ie5c7c331760b3b8a9bd0c0e951fa29492beec924
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Rebecca Schultz Zavin [Mon, 21 Jun 2010 22:39:58 +0000 (15:39 -0700)]
[ARM] tegra: Add w1 support to stingray board files
Change-Id: I422d70ce5875dda11a29a5d30fa39c37776ca9e4
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Praveen Bharathi [Mon, 7 Jun 2010 19:27:38 +0000 (14:27 -0500)]
[ARM] tegra: stingray: Enable akm8975 and disable akm8973
Change-Id: I81054bf25b33bc18b36366900ef59ca0c2ae4299
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
Praveen Bharathi [Mon, 7 Jun 2010 19:28:54 +0000 (14:28 -0500)]
[ARM] tegra: stingray: Add akm8975 magnetometer data
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
Change-Id: If3fa5e2b624dd164252df8dd73c1063306637734
Jaikumar Ganesh [Fri, 11 Jun 2010 17:57:11 +0000 (10:57 -0700)]
Add rfkill for BCM 4329 for bluetooth.
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
Dan Murphy [Mon, 14 Jun 2010 14:41:36 +0000 (09:41 -0500)]
[ARM] tegra: stingray: Update backlight control register value
direct control as opposed to PWM
Change-Id: I20405dcc41806d32c771cf591463a1b199a1d472
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Mon, 14 Jun 2010 14:39:33 +0000 (09:39 -0500)]
leds: lp8550 driver update.
Fix the EEPROM writing as there was a typo in the data sheet.
Fix the brightness set function to correctly change the brightness
of the LEDs. And turn the LEDS off appropriately
Change-Id: Ie0f07c7f8433014729d8108c4785e8dddf962859
Signed-off-by: Dan Murphy <wldm10@motorola.com>
James Wylder [Wed, 16 Jun 2010 16:21:42 +0000 (11:21 -0500)]
[ARM] tegra: stingray: boardfile - handle power-off failure (factory cable).
With a factory cable plugged in, the power-off mechanisms are disabled.
This reproduces the behavior in sholes of spinning at power-off if
the factory cable is plugged in.
Signed-off-by: James Wylder <james.wylder@motorola.com>
Colin Cross [Tue, 15 Jun 2010 21:28:17 +0000 (14:28 -0700)]
[ARM] tegra: stingray: Enable cpuidle and cpufreq
Change-Id: I6b8674e9519b00b9d041df2bca18f05c57152e64
Signed-off-by: Colin Cross <ccross@android.com>
Mike Lockwood [Tue, 15 Jun 2010 00:22:24 +0000 (17:22 -0700)]
[ARM] tegra: stingray: Enable MTP USB function, disable other unused functions.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Tue, 15 Jun 2010 00:21:39 +0000 (17:21 -0700)]
[ARM] tegra: stingray: Board file support for MTP USB function.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Colin Cross [Mon, 14 Jun 2010 23:08:36 +0000 (16:08 -0700)]
[ARM] tegra: stingray: Set i2c bus speed
Change-Id: I0dc652cf87be9109ec7b12e03a83921961e98b85
Signed-off-by: Colin Cross <ccross@android.com>
Dan Murphy [Thu, 10 Jun 2010 15:14:02 +0000 (10:14 -0500)]
[ARM] Stingray defconfig: Expose the I2C char device
Turn on the defconfig flag to expose the I2C char device.
This change is needed for testing devices over the I2C bus where
the test code resides in user space.
Change-Id: I76678809cd606d58ae7f653248efee562130f45f
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Erik Gilling [Wed, 9 Jun 2010 23:50:57 +0000 (16:50 -0700)]
[ARM] tegra: add NV* to stingray_defconfig
Signed-off-by: Erik Gilling <konkers@android.com>
Greg Meiste [Tue, 1 Jun 2010 19:33:31 +0000 (14:33 -0500)]
mfd: cpcap-whisper: Report audio cable
Whisper detection driver will now report to the system when an audio cable
is attached to the Whisper accessory. The presence of the audio cable
can be found at /sys/class/switch/usb_audio/state. The audio status will
not be reported until the accessory is validated by the Whisper daemon.
Change-Id: I7883403abdc8e86096e241e5a7e656b233db5296
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 9 Jun 2010 16:24:57 +0000 (11:24 -0500)]
[ARM] tegra: stingray: Initialize SW1, SW6, RF1, RF2, and RFREF to off
They are not connected on Stingray and should be initialized off.
Change-Id: I8b195d00153c1ab70cd0450a66b7a6e7519aecc4
Signed-off-by: Greg Meiste <w30289@motorola.com>
Dan Murphy [Tue, 8 Jun 2010 19:10:39 +0000 (14:10 -0500)]
[ARM] Stingray defconfig: Add LP8550 defconfig flag
Change-Id: I10da2f54704fd66437c70e21f5eb321544fecff3
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Tue, 8 Jun 2010 19:09:39 +0000 (14:09 -0500)]
[ARM] Stingray panel board file: Add lp8550 board file data
Add LP8550 board file data. This driver is only available for P1's
Change-Id: I5a6d250174085494111a944ba97bd5fb4c35b83c
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Tue, 8 Jun 2010 19:08:27 +0000 (14:08 -0500)]
leds: National LP8550 LED driver for the display
Initial submission of the National LP8550 driver for p1
Change-Id: I2d2dc42a1c06fbc682fd8f556fa89c864c749db8
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Erik Gilling [Wed, 9 Jun 2010 06:37:42 +0000 (23:37 -0700)]
HACK: [ARM] update PRRR and NMRR registers to agree with nvmap
Signed-off-by: Erik Gilling <konkers@android.com>
Colin Cross [Tue, 8 Jun 2010 03:47:33 +0000 (20:47 -0700)]
HACK: [ARM] tegra: stingray: Initialize emc clock to 600MHz
Change-Id: I3a7df1165b2bc8de1982b26980697bc461932e2e
Signed-off-by: Colin Cross <ccross@android.com>
Erik Gilling [Wed, 19 May 2010 21:19:01 +0000 (14:19 -0700)]
HACK: [ARM] tegra: add 3d support to stingray board file
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Fri, 7 May 2010 22:05:29 +0000 (15:05 -0700)]
HACK: [ARM] tegra: add 3d support to olympus board file
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Wed, 12 May 2010 23:04:49 +0000 (16:04 -0700)]
HACK: [ARM] tegra: add nvos, nvrm, and nvmap
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 18 May 2010 22:14:46 +0000 (15:14 -0700)]
HACK: [ARM] tegra: reduce vmalloc space for nvmap
Signed-off-by: Erik Gilling <konkers@android.com>
Dan Murphy [Tue, 8 Jun 2010 17:21:58 +0000 (12:21 -0500)]
[ARM] Stingray SPI board file: Modify the LED sink value for the P0
Change the LED sink value for the P0 units and add backward capability
for the M1
Change-Id: I4b5e0675956a9bd21125a7d38393269c23426de0
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Tue, 8 Jun 2010 15:42:48 +0000 (10:42 -0500)]
[ARM] Stingray sensor board file: Add values to the barometer
Adding min, max, fuzz and flat to the board file for the barometer
Change-Id: I2a4f4b52c58f2a7e6192e7e9a2fc1316345b70a5
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Colin Cross [Fri, 4 Jun 2010 00:52:02 +0000 (17:52 -0700)]
[ARM] tegra: stingray: Add hsuarts
Change-Id: I70d0ee59b262915379dcfda208f5ec8be3dab702
Signed-off-by: Colin Cross <ccross@android.com>
makarand.karvekar [Mon, 7 Jun 2010 23:33:54 +0000 (16:33 -0700)]
[ARM] stingray: Load touch firmware and configuration based on board revision
Change-Id: I20c65ae20eab3ba7f58b5de02fafa3a6a677f42a
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
makarand.karvekar [Mon, 7 Jun 2010 21:46:55 +0000 (16:46 -0500)]
touch: qtouch_obp: Add 12bit resolution for x,y co-ordinates.
Added 12-bit support for x,y co-ordinates.
x,y > 1023, x,y is reported as 12-bit.
x,y < 1024, x,y is reported as 10-bit.
Add firmware for second touch panel type.
Change-Id: Icfd687a37f5b3fcbb784665bac7d270317421a9a
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Greg Meiste [Mon, 7 Jun 2010 20:34:31 +0000 (15:34 -0500)]
[ARM] tegra: stingray: CPCAP and charging changes for P0 and P1
For P0 hardware, SW5 is not connected. For P1 hardware, the charging
GPIOs have changed.
Change-Id: I9f8a95f93a1e82e636e55bd85e847f952479d636
Signed-off-by: Greg Meiste <w30289@motorola.com>
James Wylder [Mon, 7 Jun 2010 16:28:42 +0000 (11:28 -0500)]
[ARM] tegra: stingray: Add board revision identification
Add function stingray_revision to return current board
revision.
Signed-off-by: James Wylder <james.wylder@motorola.com>
Dmitry Shmidt [Fri, 4 Jun 2010 01:02:03 +0000 (18:02 -0700)]
[ARM] tegra: stingray: Provide random MAC address for wlan [HACK]
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Dan Murphy [Wed, 2 Jun 2010 15:57:12 +0000 (10:57 -0500)]
[ARM] tegra: stingray: Use generic CPCAP led driver in board file
Modify the board file to initialize multiple instances of the CPCAP LED driver
Add the privacy LED data to create a privacy LED entry.
Change-Id: Ifbd022e743a38e02b70983ff65fc721b6b0744a9
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Wed, 2 Jun 2010 16:00:11 +0000 (11:00 -0500)]
[ARM] tegra: stingray: Add generic CPCAP led to defconfig
Changed LED_CPCAP_DISP to LED_CPCAP for common CPCAP LED driver
Change-Id: Icaf6c74d1ba8b8f277de6cda66c4226048f2cdf5
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Wed, 2 Jun 2010 12:40:55 +0000 (07:40 -0500)]
leds: Create generic CPCAP led driver
Commonized the CPCAP LED driver into a single driver for all LEDs
connected to the CPCAP.
Change-Id: Ic62356010f3e1b355f7da757c3f08608765a71da
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Colin Cross [Wed, 2 Jun 2010 00:31:33 +0000 (17:31 -0700)]
misc: max9635: Disable debug messages by default
Change-Id: I648540c9765ca14d43fb17995786a80d15991518
Greg Meiste [Fri, 28 May 2010 15:36:48 +0000 (10:36 -0500)]
mfd: cpcap: Fix VUSB issues
VUSB was being left enabled even when no accessories were attached.
Part of the fix includes removing SW5 as VUSB's parent supply.
Change-Id: I01cc7dcc416c9b9d8ece7975bc1a801e839e1f46
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Fri, 28 May 2010 20:18:30 +0000 (15:18 -0500)]
[ARM] tegra: stingray: Add SW2 and SW4 regulators
Change-Id: Idf53392a596885ea2cb4c02ca2eb9d55aa07d307
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Fri, 28 May 2010 15:33:49 +0000 (10:33 -0500)]
tegra: stingray: Temporarily set SW5 to boot_on
On M1 hardware, SW5 still powers VUSB. On later hardware, SW5 will be
NC. The VUSB regulator will no longer have its parent supply set to SW5.
Change-Id: Ic0b8ede4f5547201986c73e2e7f9dbd33d5af379
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Fri, 28 May 2010 20:17:21 +0000 (15:17 -0500)]
regulator: cpcap: Add support for SW2 and SW4
Will be needed for DVS
Change-Id: I56da93ae33c1b9a01b80a703d978f6ca3cc6a0e3
Signed-off-by: Greg Meiste <w30289@motorola.com>
Colin Cross [Sat, 29 May 2010 01:00:48 +0000 (18:00 -0700)]
misc: kxtf9: Fix printk
Change-Id: Ic453c35f4ebc76d19a3dab6f887b597898204196
Signed-off-by: Colin Cross <ccross@android.com>
Dan Murphy [Fri, 28 May 2010 13:56:43 +0000 (08:56 -0500)]
[ARM] tegra: stingray: Add gyroscope board file data
Adding the gyroscope board file data
Change-Id: I54f076f6e3f3331755a204454c9539ba6f031156
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Fri, 28 May 2010 13:58:04 +0000 (08:58 -0500)]
[ARM] tegra: stingray: Add gyroscope to defconfig
Change-Id: I24bef765a802ed6e19195449e5dfcea4fb12abf2
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Fri, 28 May 2010 13:53:37 +0000 (08:53 -0500)]
misc: Add ST Micro L3G4200D Gyroscope code
This is the initial submission of code for the gyroscope.
Change-Id: Ie56f79dad42b616058ea59cf05508337cc002f18
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Fri, 28 May 2010 18:06:14 +0000 (13:06 -0500)]
[ARM] tegra: stingray: Clean up the sensors board file
Uncomment the regulator code and add if NULL checks
Also fix some white space issues
Change-Id: I19fb2cbf1b2f2f3d2173a479ab543ed8b1f93dad
Signed-off-by: Dan Murphy <wldm10@motorola.com>
James Wylder [Thu, 27 May 2010 23:01:04 +0000 (16:01 -0700)]
[ARM] tegra: stingray: register pm_power_off function
Change-Id: I9d0cd40c1070b6c88418e2f983c2e4013a5a9f75
Signed-off-by: James Wylder <james.wylder@motorola.com>
Dan Murphy [Thu, 27 May 2010 18:43:06 +0000 (13:43 -0500)]
[ARM] tegra: stingray: Add Home key LED to board files
Change-Id: I0beb327530618196c613a1c1aaa4ae085885336e
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Thu, 27 May 2010 18:44:02 +0000 (13:44 -0500)]
[ARM] tegra: stingray: Enable CPCAP LEDs in defconfig
Change-Id: I0385e2a997790e33f1dc7141cc74cd3e353278df
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Thu, 27 May 2010 18:41:02 +0000 (13:41 -0500)]
leds: CPCAP LED driver initial submission
Initial submission of the Home key LED code.
Code was ported from Sholes and updated with a work queue
Change-Id: Ib25313471cd21fb941b8fa4ecab3811b6ef35d74
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Greg Meiste [Wed, 26 May 2010 21:19:20 +0000 (16:19 -0500)]
tegra: stingray: Changes for Whisper 0.4
Change-Id: I55f0c1e6cad26c6386dfb8cc6224720965b4598e
Signed-off-by: Greg Meiste <w30289@motorola.com>
Greg Meiste [Wed, 26 May 2010 21:18:47 +0000 (16:18 -0500)]
mfd: cpcap-whisper: Changes for version 0.4
Whisper detection changes for version 0.4, enabling Whisper proto board
to be detected. Now reporting dock type to system.
Change-Id: I22e9704a33afc0afcd02eb68fcb40c87b9b3e3fc
Signed-off-by: Greg Meiste <w30289@motorola.com>
Rebecca Schultz Zavin [Thu, 27 May 2010 19:18:57 +0000 (12:18 -0700)]
[ARM] tegra: stingray: Add SPI board file
Initial submission of Stingray SPI board file.
Change-Id: Iab0968bff87bde4acaf9a46f3a35ec3e39243634
Signed-off-by: Greg Meiste <w30289@motorola.com>
Dan Murphy [Wed, 26 May 2010 20:03:03 +0000 (15:03 -0500)]
[ARM] tegra: stingray: Add MAX9635 to defconfig
Change-Id: I06e8fc379e373ed5df01923e88a82a384cfc5311
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Wed, 26 May 2010 20:00:30 +0000 (15:00 -0500)]
[ARM] tegra: stingray: Add MAX9635 to board file
Change-Id: Ie7ca7819aa8daf2696b1242b05f7147318f6c902
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Dan Murphy [Wed, 26 May 2010 19:56:47 +0000 (14:56 -0500)]
misc: Initial MAX9635 ALS driver
The MAXIM 9635 IC is used for ALS sensing. This will report ambient
light data in LUX.
Change-Id: I93728eb804d748145fb17524cfd328c923f33eb3
Signed-off-by: Dan Murphy <wldm10@motorola.com>
Rebecca Schultz Zavin [Wed, 26 May 2010 21:46:49 +0000 (14:46 -0700)]
[ARM] tegra: Stingray: Add touch board file.
Touch board has platform data with config parameters for mxt1386.
i2c board file touch contents moved to touch board file.
Change-Id: I3f8df54f5a7c32de2d63a3d4b0c796c2a8e4ca3c
Signed-off-by: Makarand Karvekar <makarand.karvekar@motorola.com>