Commit Graph

211812 Commits

Author SHA1 Message Date
Greg Meiste
5c0fcc3ff2 [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>
2010-10-06 16:33:27 -07:00
Greg Meiste
8d69c3efae 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>
2010-10-06 16:33:27 -07:00
makarand.karvekar
0f0edcf524 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>
2010-10-06 16:33:27 -07:00
Benoit Goby
a0f7890d10 [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>
2010-10-06 16:33:27 -07:00
Rebecca Schultz Zavin
e7463c70c4 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>
2010-10-06 16:33:27 -07:00
Rebecca Schultz Zavin
3c611418cb [ARM] tegra: Add ov5650 camera sensor to stingray board file
Change-Id: I1b5277de2ed972ef2c7235e1c7d190273ff0e069
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:26 -07:00
Rebecca Schultz Zavin
10fcfa5e7a [ARM] tegra: Add tegra isp to stingray board files
Change-Id: I84eab4cb11a90cea7e43d63a571faffd022a5cda
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:26 -07:00
Rebecca Schultz Zavin
fb64380479 [ARM] configs: Add ov5650 to stingray defconfig
Change-Id: Id0088aff7dc4f235965d834e153461f653772300
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:26 -07:00
Rebecca Schultz Zavin
b980b509ab media: video: Add support for omnivision ov5650 for use with tegra isp
Change-Id: Ifb306ff6818d46fac26d7a1a9261a4cc67d729ca
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:26 -07:00
Rebecca Schultz Zavin
3c06c14668 media: video: Add stub isp driver for tegra
Change-Id: I6ff1bf0e72ef69b59d5875bd60c7cd825fa2ca4f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:26 -07:00
Gary King
e562176306 [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>
2010-10-06 16:33:25 -07:00
Gary King
11d90deeb8 [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>
2010-10-06 16:33:25 -07:00
Colin Cross
7a8b3a8e0e Revert "[ARM] tegra: stingray: Disable DS2781 1w driver"
This reverts commit 3f399eda535217497ba911cbe94af04f7f2fb724.
2010-10-06 16:33:25 -07:00
Colin Cross
325afb3d68 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>
2010-10-06 16:33:25 -07:00
Dmitry Shmidt
6c1ce0b219 [ARM] tegra: stingray: Fix path to bcm4329 Wifi calibration file
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-10-06 16:33:24 -07:00
Colin Cross
80fdca15ec [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>
2010-10-06 16:33:24 -07:00
makarand.karvekar
6e8d4049ac [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>
2010-10-06 16:33:24 -07:00
makarand.karvekar
852dee5c7f [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>
2010-10-06 16:33:24 -07:00
makarand.karvekar
53bf9eb154 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>
2010-10-06 16:33:24 -07:00
Kazuhiro Ondo
e07b275795 Motorola USB flash mode driver.
Change-Id: Idf72cbceeff56523be443013c5cbda79ea829994
2010-10-06 16:33:23 -07:00
Greg Meiste
59b6367c01 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>
2010-10-06 16:33:23 -07:00
Greg Meiste
5226f9f0c4 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>
2010-10-06 16:33:23 -07:00
Colin Cross
6833fbee23 usb: fsl_udc_core: Prevent udc timeout on suspend
Change-Id: Ic4780063d432860df835c54c17b2b9249132c8c5
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 16:33:23 -07:00
Colin Cross
af3cc93a9a [ARM] tegra: stingray: Disable LP1 suspend
Change-Id: Id345a12759425889bb295c8004daa4ccb7bfc812
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 16:33:23 -07:00
Gary King
2118125750 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
2010-10-06 16:33:23 -07:00
Colin Cross
2316a237a9 [ARM] tegra: stingray: Disable DS2781 1w driver
Change-Id: Ib7a4da3370b988137f498783e1699814ad758aaa
Signed-off-by: Colin Cross <ccross@android.com>
2010-10-06 16:33:22 -07:00
Colin Cross
f07328fb70 [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
2010-10-06 16:33:22 -07:00
Sergey Kudakov
e0782d5354 Corrections for usb platform data
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
2010-10-06 16:33:22 -07:00
Greg Meiste
54daa0a59f [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>
2010-10-06 16:33:22 -07:00
Greg Meiste
ba087e409b 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>
2010-10-06 16:33:22 -07:00
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