makarand.karvekar [Fri, 4 Feb 2011 00:47:00 +0000 (18:47 -0600)]
misc: kxtf9: use own wq to schedule work
Change-Id: I7fda277459d5f6520827edc01c50535c303cbeea
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Erik Gilling [Thu, 3 Feb 2011 21:16:13 +0000 (13:16 -0800)]
[ARM] tegra: specifiy stingray panel height and width
Change-Id: I76dc6cf9c901b67eb782ac527787d54817cb74f0
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Thu, 3 Feb 2011 21:30:54 +0000 (13:30 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Change-Id: Ica2eff483e5326079d30bf1b650c8fd2264fcc53
Erik Gilling [Thu, 3 Feb 2011 21:29:42 +0000 (13:29 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Change-Id: I65d011f4a13d99ffc617a807d551d5869b739662
Erik Gilling [Thu, 3 Feb 2011 21:15:50 +0000 (13:15 -0800)]
video: tegra: add height/width to dc and fb
Change-Id: I22c280928079af04263375fce63a87776588a457
Signed-off-by: Erik Gilling <konkers@android.com>
Jaikumar Ganesh [Thu, 3 Feb 2011 06:32:39 +0000 (22:32 -0800)]
[ARM] tegra: stingray: Use WL_REG_ON GPIO for BT
BT was using BT_REG_ON and Wlan was using WL_REG_ON.
4329 ORs both these GPIOs. However, there are problems
with BT_REG_ON while coming out of LP0 suspend.
So temporaraily have both wifi and BT use the same GPIO
for power on. For BT, set the BT_REG_ON to output low.
Change-Id: I75606ba124418fc7c606b434e4b7968fbc046228
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
Erik Gilling [Thu, 3 Feb 2011 02:43:02 +0000 (18:43 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Change-Id: I4bbe9b15e3f6f21b0c6e88010974da983ac9ab23
Erik Gilling [Thu, 3 Feb 2011 02:41:30 +0000 (18:41 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Change-Id: I870875673113113940a47d30010683e51b12a27b
Erik Gilling [Wed, 2 Feb 2011 23:28:32 +0000 (15:28 -0800)]
video: tegra: set h/v sync polarity for HDMI
Change-Id: I4be0eb963c3779b9313ef94476b1589059d4aa3c
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Wed, 2 Feb 2011 20:12:31 +0000 (12:12 -0800)]
video: tegra: support v/h sync polarity
Change-Id: Ida82a70efaeadc9d5b11d8703e688063680b72a8
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 1 Feb 2011 21:01:55 +0000 (13:01 -0800)]
video: tegra: correct HDMI h/vsync polairty in some modes
Change-Id: I0e988d1724461ff2d5bd1009f2fdc379bd154703
Signed-off-by: Erik Gilling <konkers@android.com>
Colin Cross [Wed, 2 Feb 2011 18:04:07 +0000 (10:04 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Wed, 2 Feb 2011 18:03:34 +0000 (10:03 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Thu, 27 Jan 2011 23:46:20 +0000 (15:46 -0800)]
ARM: vfp: Move exception address fixup into vfphw.S
If the PC on the stack is updated in entry-armv.S,
do_undefinstr can get called after the fixup. do_undefinstr
does its own fixup, and doing both causes the PC to point to
half way through an instruction.
Instead, do the fixup in do_vfp, where only the vfp code
can get called.
Change-Id: I6d966887adc8ed58d88bfe0cb3c0ba29213be488
Signed-off-by: Colin Cross <ccross@android.com>
makarand.karvekar [Mon, 31 Jan 2011 21:27:15 +0000 (15:27 -0600)]
[ARM]: tegra: update sleep time after wake line toggle
wait for 80mS after wake line toggle.
Change-Id: I6b62724cb6dc71ccdbe0ded02110873f94494dc4
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Colin Cross [Sun, 30 Jan 2011 08:27:38 +0000 (00:27 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Sun, 30 Jan 2011 08:26:58 +0000 (00:26 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Sat, 29 Jan 2011 03:32:31 +0000 (19:32 -0800)]
cpufreq: Prevent memory leak in cpufreq_stats on hotplug
Ensures that cpufreq_stats_free_table is called before
__cpufreq_remove_dev on cpu hotplug (which also occurs during
suspend on SMP systems) to make sure that sysfs_remove_group
can get called before the cpufreq kobj is freed. Otherwise,
the sysfs file structures are leaked.
Change-Id: I87e55277272f5cfad47e9e7c92630e990bb90069
Signed-off-by: Colin Cross <ccross@android.com>
Rebecca Schultz Zavin [Sat, 29 Jan 2011 06:00:33 +0000 (22:00 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Sat, 29 Jan 2011 05:58:22 +0000 (21:58 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Sat, 29 Jan 2011 05:51:32 +0000 (21:51 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
James Wylder [Sat, 29 Jan 2011 00:50:32 +0000 (18:50 -0600)]
leds: lp8550: restore register values on resume
In some cases the lp8550 is resetting on resume and
we need to restore the default values of registers a1-a7
Change-Id: I42e20d646c077008eab2a7100a731ece2bf835d8
Signed-off-by: James Wylder <james.wylder@motorola.com>
Colin Cross [Fri, 28 Jan 2011 21:49:27 +0000 (13:49 -0800)]
ARM: tegra: stingray: Prevent double-enables in the panel regulator
Change-Id: I33bd9b4acfc501a346d65d1575398a621eb2a4b6
Signed-off-by: Colin Cross <ccross@android.com>
Eric Laurent [Fri, 28 Jan 2011 17:13:22 +0000 (09:13 -0800)]
[ARM] tegra_i2s_audio: separate TX/RX DMA setup
Fixed a problem preventing independent setup/teardown
of TX and RX DMAs when setting playback or capture buffer count.
Signed-off-by: Eric Laurent <elaurent@google.com>
Benoit Goby [Thu, 27 Jan 2011 02:28:33 +0000 (18:28 -0800)]
PM: Change dpm watchdog to support async suspend
Exclude from the watchdog the time spent waiting for children that
are resumed asynchronously and time every devices, whether or not they
resumed synchronously.
Change-Id: I84209dfd5df72842e045096c906fd61e20e6d183
Signed-off-by: Benoit Goby <benoit@android.com>
Colin Cross [Fri, 28 Jan 2011 00:10:05 +0000 (16:10 -0800)]
ARM: tegra: stingray: Disable two-finger soft reset
Two-finger resets will now be a hard reset, which does not preserve
/proc/last_kmsg
Change-Id: Id55cb58c0a59b561970bbb3e2ccf1fddeb97ccef
Signed-off-by: Colin Cross <ccross@android.com>
makarand.karvekar [Wed, 26 Jan 2011 18:08:14 +0000 (12:08 -0600)]
[ARM]: tegra: stingray: update mov_filter in multi_touch cfg
move filter adjusted for touch resolution 2580x1630
Change-Id: Id7b52504688b67399667e16ddab50d38a5f39a04
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Greg Meiste [Wed, 26 Jan 2011 19:38:37 +0000 (13:38 -0600)]
power: bq24617: Fix scenario where charge indication is missed
On Stingray, the charge STAT pins are not connected to a wakeup
source. Therefore, if the device enters LP0 after the charger is
detected, but before charging begins, charging will never be
reported to the UI since the edge on STAT1 is missed. The device
is actually charging, but to see the indication, the charger would
have to be removed and re-inserted. In addition, if charge
complete is reached while in LP0, the edge on STAT2 is missed, and
the UI never shows charge complete. These issues were resolved by
adding a resume function to the driver.
In addition, the work function and wake_lock was removed from the
driver because the same functionality exists in the power supply
core driver.
Change-Id: Ieaeaf2b47adec21f51bd77910427d74780cb865d
Signed-off-by: Greg Meiste <w30289@motorola.com>
Praveen Bharathi [Mon, 24 Jan 2011 14:01:11 +0000 (08:01 -0600)]
mfd: cpcap: audio: Fix loss of audio over headset
When the 3.5mm headset is unplugged and plugged back in, cpcap gets into a
wierd state and audio is not routed to any speaker, neither headset nor
main speaker. This is a solution from Droid days. The cpcap sends a callback
to audio driver when such a plug/unplug is detected and forces the audio path
setup back to headset.
Change-Id: I91afda628e14ec20d589fc9b3e844d29f9f96fca
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
Rebecca Schultz Zavin [Wed, 26 Jan 2011 04:36:05 +0000 (20:36 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 26 Jan 2011 04:34:59 +0000 (20:34 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Wed, 26 Jan 2011 01:59:12 +0000 (17:59 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Change-Id: I003a21d788d6cdcb6594b1328b13a1913c5a552f
Rebecca Schultz Zavin [Wed, 26 Jan 2011 01:56:50 +0000 (17:56 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Nathan Connell [Wed, 12 Jan 2011 20:32:24 +0000 (14:32 -0600)]
ARM: tegra: usb_phy: Configure USB1 PHY to use programmed value
instead of fused value. This is required
to meet High Speed USB signaling requirements.
Change-Id: I659b33faa950605ecf040598112e1972047ae7ad
Signed-off-by: Nathan Connell <w14185@motorola.com>
Dmitriy Gruzman [Tue, 25 Jan 2011 02:52:02 +0000 (20:52 -0600)]
watchdog: tegra_wdt: Several changes to watchdog driver
Fix not re-enabling watchdog resume if it was enabled in probe
Add clearing watchdog interrupt in probe
Remove tegra_wdt_set_timeout
Change-Id: I8fdbb6da3eda64a85a73ed85ab979a5ee0261c37
Signed-off-by: Dmitriy Gruzman <dmitriy.gruzman@motorola.com>
Sergey Kudakov [Fri, 21 Jan 2011 01:08:12 +0000 (19:08 -0600)]
misc: max9635: unregister upon probe failure
currently it only unregisters input device but
not misc as a result in case if probe() fails
it may cause a panic in ubsequently called ioctl
where it would try to access unitialized/freed data
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
Benoit Goby [Tue, 25 Jan 2011 20:14:52 +0000 (12:14 -0800)]
usb: host: tegra: Request 400MHz emc clock
while USB is active to eliminate all USB buffer underruns.
Change-Id: I9977224601e715e950284708958be98d37b3e6b1
Signed-off-by: Nathan Connell <w14185@motorola.com>
Benoit Goby [Tue, 25 Jan 2011 20:13:52 +0000 (12:13 -0800)]
usb: gadget: tegra_udc: Request 400MHz emc clock
while USB is active to eliminate all USB buffer underruns.
Change-Id: I7ad8ebfa2d802f91b81839e14fde906da1a0569e
Signed-off-by: Nathan Connell <w14185@motorola.com>
Benoit Goby [Mon, 24 Jan 2011 20:36:06 +0000 (12:36 -0800)]
mdm6600: Fix auto-suspend when only using port 2
usb_autopm_put_interface_no_suspend decrease the usage count but does
not schedule a suspend. use usb_autopm_put_interface_async instead.
This fixes an issue where the modem is never auto-suspended if there
is traffic on only port2 (b/
3383043).
Change-Id: I572f14542180512540e67a47fce6e88c63d0c4c9
Signed-off-by: Benoit Goby <benoit@android.com>
Rebecca Schultz Zavin [Mon, 24 Jan 2011 23:50:14 +0000 (15:50 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Mon, 24 Jan 2011 23:48:38 +0000 (15:48 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Change-Id: Ifc4b876bb673b2f3beaa3c5995bc3d527f6f717d
Rebecca Schultz Zavin [Mon, 24 Jan 2011 22:16:47 +0000 (14:16 -0800)]
video: tegra: nvmap: Several changes to carveout killer
-Add a module param to enable/disable carveout killer
-Fix race condition in code to wait for something to free memory
after firing carveout killer
-Fix the check for current so we always compare task->group_leaders
Change-Id: Ie030978827dce6b0fbbfa1db0d80e4abe59eaa51
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Erik Gilling [Mon, 24 Jan 2011 23:28:31 +0000 (15:28 -0800)]
video: tegra: incresase delay in underflow recovery
Change-Id: I8093c83a2749c63b6ece051cc9b892d87e55fe04
Signed-off-by: Erik Gilling <konkers@android.com>
Todd Poynor [Mon, 24 Jan 2011 22:36:39 +0000 (14:36 -0800)]
Print pending wakeup IRQ preventing suspend to dmesg
Change-Id: I36f90735c75fb7c7ab1084775ec0d0ab02336e6e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Erik Gilling [Mon, 24 Jan 2011 20:53:22 +0000 (12:53 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Change-Id: Iab6dcbaa8e8277ecc1381322a7884a1fa8046755
Erik Gilling [Mon, 24 Jan 2011 20:50:57 +0000 (12:50 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Change-Id: I31c6619f888c36cfe571fda8593f6e1172810ba9
Erik Gilling [Mon, 24 Jan 2011 20:35:11 +0000 (12:35 -0800)]
video: tegra: dump host state when timing out on suspend
Change-Id: I718fb071ac74f5a051a7d5b9fcdd782163ed48b6
Signed-off-by: Erik Gilling <konkers@android.com>
Colin Cross [Sat, 22 Jan 2011 03:11:02 +0000 (19:11 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Sat, 22 Jan 2011 03:10:44 +0000 (19:10 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Sat, 22 Jan 2011 03:10:39 +0000 (19:10 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 21 Jan 2011 19:57:43 +0000 (11:57 -0800)]
ARM: tegra: stingray: Only enable bridge chip in resume on power button
Powering on the LVDS chip during resume when the resume was not caused by
the user pushing the power button causes the screen to flicker and wastes
power. Only power on the LVDS chip if the power button event is detected
during resume.
Change-Id: I6a36e00a04c7a4e33bad08af20d485426f429264
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Fri, 21 Jan 2011 21:42:46 +0000 (13:42 -0800)]
input: keyreset: Only print message for default handler
Change-Id: I68e5451fef2e6f08bf1035077ea999e34a619f87
Signed-off-by: Colin Cross <ccross@android.com>
Benoit Goby [Sat, 22 Jan 2011 01:43:38 +0000 (17:43 -0800)]
mdm6600: Set wake_irq_enabled to false on disconnect
Otherwise the irq won't get enabled when the modem is re-attached.
Change-Id: I74582ebb3c9336a5fb47d0bc12f5740a3d2f5203
Signed-off-by: Benoit Goby <benoit@android.com>
Colin Cross [Sat, 22 Jan 2011 01:04:36 +0000 (17:04 -0800)]
ARM: tegra: Prevent dynamically ioremapping device io memory
Change-Id: I893a42bd773b1acdf2b83f8602fe1aa6a8ea6741
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Sat, 22 Jan 2011 01:04:07 +0000 (17:04 -0800)]
ARM: tegra: Statically map all device io memory
Change-Id: I0c750b766dcdd166ddff6317b93556f9f5cce899
Signed-off-by: Colin Cross <ccross@android.com>
Benoit Goby [Fri, 21 Jan 2011 23:53:44 +0000 (15:53 -0800)]
PM: Dump suspend thread stack on dpm suspend timeout
When a driver takes more than 3 seconds to suspend, dump the suspend
thread stack since BUG() might only dump the idle thread stack.
Change-Id: If854db355fdcf3b773ea20b1b5e031def6d4b114
Signed-off-by: Benoit Goby <benoit@android.com>
Colin Cross [Fri, 21 Jan 2011 08:33:25 +0000 (00:33 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 21 Jan 2011 08:33:14 +0000 (00:33 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Benoit Goby [Thu, 20 Jan 2011 23:42:52 +0000 (15:42 -0800)]
usb: gadget: tegra: Enable emc clock while usb is connected
Change-Id: Icb94c516a580e29b42b1899e622c9b91f8701dd2
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Thu, 20 Jan 2011 23:41:58 +0000 (15:41 -0800)]
ARM: tegra: clocks: Add shared emc clocks for usb gadget
Change-Id: Idf1982fac02b987cb16ef89509cfe4d72953d1e5
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Thu, 20 Jan 2011 22:19:04 +0000 (14:19 -0800)]
usb: host: tegra: Enable emc clock while usb is resumed
Change-Id: I03a102f40134686fabbd5cfa1830816a691cf876
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Thu, 20 Jan 2011 23:18:18 +0000 (15:18 -0800)]
ARM: tegra: clocks: Add shared emc clocks for ehci driver
Change-Id: I02f9d798159e14007fa2e5abfc3493a2d779d515
Signed-off-by: Benoit Goby <benoit@android.com>
Jay Cheng [Thu, 20 Jan 2011 21:09:32 +0000 (16:09 -0500)]
ARM: tegra: DVFS: set 1.2V core voltage for USB to work
Change-Id: Idb7822329f1975307748a72d1786da68c0635738
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Colin Cross [Thu, 20 Jan 2011 05:21:38 +0000 (21:21 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Thu, 20 Jan 2011 05:21:20 +0000 (21:21 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36
Benoit Goby [Thu, 20 Jan 2011 01:11:11 +0000 (17:11 -0800)]
misc: ts27010: Don't wait for ack if DISC packet has been dropped
Change-Id: Ia05e57e47df7642d1939f402bad8d7f2e5d29280
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 19 Jan 2011 22:10:37 +0000 (14:10 -0800)]
input: evdev: Add missing wake_lock_destroy
Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2
Signed-off-by: Benoit Goby <benoit@android.com>
Rebecca Schultz Zavin [Wed, 19 Jan 2011 05:39:06 +0000 (21:39 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 19 Jan 2011 05:37:12 +0000 (21:37 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Benoit Goby [Wed, 19 Jan 2011 03:38:23 +0000 (19:38 -0800)]
usb: host: tegra: Fix SetPortFeature PORT_SUSPEND
This fixes a regression where hubs cannot detect new devices once they
have been auto-suspended.
Change-Id: I4b3efcaa9634b9a912060e438527000bbc83dc32
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Tue, 18 Jan 2011 20:56:16 +0000 (12:56 -0800)]
usb: host: tegra: Fix resuming low speed devices from lp0
Change-Id: I9576853bbe0fae52c5c2cfab26ce8f2017077d4e
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 19 Jan 2011 00:57:48 +0000 (16:57 -0800)]
ARM: tegra: usb_phy: Program DPDM_OBSERVE depending on the device speed
Low speed devices require a K-state resume signaling instead of J.
Change-Id: Ic06011f45c2b0f4cd969d018f2783acea57cb510
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Thu, 13 Jan 2011 01:01:10 +0000 (17:01 -0800)]
mdm6600: Fix irq storm on disconnect
When the modem is powered off, the driver might receive interupts
before usb has detected that the modem is disconnected. Disable
the interrupt in the irq handler before resuming the modem.
Change-Id: I866c64dea0da4cff6aa7947224255378790b160c
Signed-off-by: Benoit Goby <benoit@android.com>
makarand.karvekar [Mon, 17 Jan 2011 05:30:15 +0000 (23:30 -0600)]
[ARM]: tegra: enable touch vector (orientation) reporting for stingray
Change-Id: I20e9dc4ce8549ed113168f3f78f9f8a8012f6669
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Mon, 17 Jan 2011 05:17:13 +0000 (23:17 -0600)]
input: touchscreen: qtouch: report ABS_MT_ORIENTATION
Change-Id: I0f4109076e2f3125af62fb34012d4a9e04045328
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Sun, 16 Jan 2011 23:01:28 +0000 (17:01 -0600)]
[ARM]: tegra: update touch edge control settings in stingray board file
x-range: 10, 2570
y-range: 15, 1615
touch resolution: 2580x1630
Change-Id: I2f868539bb073596b800fbe9d97bea7a718be65e
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
James Wylder [Sun, 16 Jan 2011 20:56:44 +0000 (14:56 -0600)]
leds: lp8550: don't save register values to NVM
Reinitialize the backlight registers on each boot
rather than save them to non-volatile memory. Any
errors in the NVM can make the module unrecoverable.
Change-Id: Ibae4c0cc27c872dff4072f132402b06e815232de
Signed-off-by: James Wylder <james.wylder@motorola.com>
Colin Cross [Mon, 17 Jan 2011 20:52:13 +0000 (12:52 -0800)]
ARM: tegra: stingray: Enable Tegra AES hw engine and crypto dev
Change-Id: I35d0e0e6e5fbfb770a1aefcbdc94903b252d7736
Signed-off-by: Colin Cross <ccross@android.com>
Varun Wadekar [Sun, 7 Nov 2010 18:27:49 +0000 (23:57 +0530)]
[ARM] tegra: device node to access tegra aes hw
/dev/tegra-crypto node to access tegra aes hw from the
user space. currently ecb/cbc/ansi_x9.31 modes are supported
Change-Id: Ic22b5430ea205cd9be51e02b905f8ddc3292add1
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Varun Wadekar [Fri, 14 Jan 2011 07:49:25 +0000 (13:19 +0530)]
crypto: tegra-aes: perf: remove unnecessary polling and memset
Change-Id: I69731fcd50933ccea73542d046c3c5d86d03fcd9
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Colin Cross [Sat, 15 Jan 2011 01:32:40 +0000 (17:32 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Sat, 15 Jan 2011 01:32:24 +0000 (17:32 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Sat, 15 Jan 2011 01:32:17 +0000 (17:32 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36
Benoit Goby [Wed, 12 Jan 2011 23:38:24 +0000 (15:38 -0800)]
mdm6600: Resume modem synchronously
If runtime pm auto-resumes the modem while the modem is being
disconnected, runtime pm might use the modem power spinlock after free.
Auto-resumes the modem synchronously and make sure there are no pending
wakeup requests before disconnect returns.
Don't request an auto-resume if the modem is suspended or this may
cause usb devices to be resumed in the wrong order.
Change-Id: I38bf4830d30bb8b7619e093e0ba1b3861d240aec
Signed-off-by: Benoit Goby <benoit@android.com>
Colin Cross [Fri, 14 Jan 2011 23:07:27 +0000 (15:07 -0800)]
video: tegra: host: Force memory bus to full when using 2d, 3d or mpe
Change-Id: I7138af5d26c3f406537bc4b2bc4bb052de37f7bf
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Fri, 14 Jan 2011 23:06:58 +0000 (15:06 -0800)]
ARM: tegra: clock: Add shared emc clock for tegra_grhost
Change-Id: Ie2814726d151777140c20d2bc0a3c1a3822043a8
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Fri, 14 Jan 2011 23:06:29 +0000 (15:06 -0800)]
ARM: tegra: clock: Add round_rate op for shared clocks
Change-Id: Ica3f9fd9db4fe38f2c9ca3fc248526211f59c622
Signed-off-by: Colin Cross <ccross@android.com>
Mayuresh Kulkarni [Fri, 14 Jan 2011 02:22:43 +0000 (18:22 -0800)]
video: tegra: host: disable MPE auto-power-gate
It is seen that auto-power-gate of MPE causes some issues when long run
camera stress test is run. The issue manifest itself in the form of
MPE sync-point not getting triggered from hardware and hence the caller
who is waiting on it hangs up the system.
Disabling auto-power-gate for MPE seems to resolve this issue.
Original work of Jay Cheng <jacheng@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Change-Id: Iaef9f959cbc00dd715352ca637955cd2bea6f355
Colin Cross [Fri, 14 Jan 2011 22:32:49 +0000 (14:32 -0800)]
ARM: Fix up vfp exception location in thumb mode
The exception handler in entry-armv.S checks for thumb mode and
correctly determines the exception location and instruction,
but VFP_bounce uses the uncorrected location off the stack.
If the VFP exception occured in Thumb mode, fix up the
exception location on the stack to match the value that would
be returned in ARM mode.
Fixes segfaults in userspace applications running in Thumb mode
caused by a handled VFP exception returning to the middle of the
instruction that triggered the exception.
Change-Id: I02be4c5b546561d9a967a02c1e9eb1de876cff07
Original-author: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Colin Cross <ccross@android.com>
makarand.karvekar [Fri, 14 Jan 2011 23:06:17 +0000 (17:06 -0600)]
[ARM]: tegra: stingray: add cap_prox fail-safe thresholds
Change-Id: Ib4826cebe08882e4bf2aa6238da2abfb0e07597f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 14 Jan 2011 23:13:31 +0000 (17:13 -0600)]
misc: cap_prox: add fail-safe threshold checks
if either of the sensors are in failure mode,
keep device in body proximity detect.
Change-Id: I4e460ac30e3612863a995e73b7869aa619ea5eb6
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
John Kramer [Fri, 14 Jan 2011 14:04:58 +0000 (08:04 -0600)]
media: video: tegra: Correct mclk settings for ov5650 and soc2030
Change-Id: I8a7c1abf38313fb73256581d01f0245200f3b850
Signed-off-by: John Kramer <john.kramer@motorola.com>
makarand.karvekar [Fri, 14 Jan 2011 21:07:58 +0000 (15:07 -0600)]
[ARM]: tegra: stingray: touch separation calibration
T9-Multi-Touch Object
MRGTIMEOUT=0x0A
MRGHYST= 0x10
MRGTHR= 0x23
Change-Id: I32bb43cf8ac228a3758b5ab00f6a3dbff0bb41d3
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 14 Jan 2011 21:01:03 +0000 (15:01 -0600)]
[ARM]: tegra: stingray: enable palm suppression in touch sensor
firmware: mXT1386_10_FF.bin
Change-Id: I58dbadc633e6ad4bf42ca4a05d0272becdadf38f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
John Kramer [Tue, 11 Jan 2011 16:43:59 +0000 (10:43 -0600)]
leds: lm3559: Fix overexposed images when flash is used
Change-Id: Ie353c61644e07d22448331961f16b06721f8ac77
Signed-off-by: John Kramer <john.kramer@motorola.com>
makarand.karvekar [Wed, 5 Jan 2011 20:47:54 +0000 (14:47 -0600)]
[ARM]: tegra: stingray: update accelerometer and gyro config data
accelerometer:
range set to 2G
initial ODR at 100Hz
Gryo:
2000dps max
ODR at 800Hz.
Change-Id: Ic220f847f43a29ecf6c064fbe0537c6922555781
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 7 Jan 2011 16:39:34 +0000 (10:39 -0600)]
misc: l3g4200d: update gyro register set and general cleanup
Change-Id: I17c2384842e1528c4dbdedb094e79de3c44ac5ee
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Wed, 5 Jan 2011 20:32:59 +0000 (14:32 -0600)]
misc: akm8975: report magnetometer data as EV_REL event
Change-Id: I134d0162b6725801157786329c2058cf4516e93b
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 7 Jan 2011 16:28:06 +0000 (10:28 -0600)]
misc: kxtf9: report accelerometer data as EV_REL events
reports EV_REL type events for continuous data.
updated ODR table.
Change-Id: I0da2ac63a25816641207f748d9f477fc16779b2c
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Thu, 13 Jan 2011 19:49:02 +0000 (13:49 -0600)]
input: touchscreen: qtouch: update palm suppression cfg params
Change-Id: I74d99c06ee8b73a2ed59cbfe5264f2f7370c4e48
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>