firefly-linux-kernel-4.4.55.git
13 years agoARM: tegra: board-stingray: define emc_clk_rate for dc
James Wylder [Wed, 5 Jan 2011 22:06:36 +0000 (16:06 -0600)]
ARM: tegra: board-stingray: define emc_clk_rate for dc

Display on requires at least 200 MHz memory frequency and
HDMI requires maximum.

Change-Id: I99066c31c9d3cb9ab52ead06910be2f86683baaa
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 7 Jan 2011 02:14:25 +0000 (18:14 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 7 Jan 2011 02:12:28 +0000 (18:12 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 7 Jan 2011 02:12:22 +0000 (18:12 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agoARM: tegra: Add emc_clk_rate field to dc platform data
James Wylder [Wed, 5 Jan 2011 21:27:03 +0000 (15:27 -0600)]
ARM: tegra: Add emc_clk_rate field to dc platform data

If passed in, use the required emc_clk_rate passed in from the
board file.  If no value set use ULONG_MAX as before.

Change-Id: I301f9fea8bf7297722b5e91e34c0dc7796c6095f
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoARM: tegra: timer: Separate clocksource and sched_clock
Colin Cross [Wed, 17 Nov 2010 21:03:46 +0000 (13:03 -0800)]
ARM: tegra: timer: Separate clocksource and sched_clock

tegra_clocksource_read should not use cnt32_to_63, wrapping is
already handled in the clocksource code.

Change-Id: Ic4ab38b74fea4be430937427aa6112aab31d41ec
Signed-off-by: Colin Cross <ccross@android.com>
13 years agousb: host: tegra: Fix enumeration after lp0
Benoit Goby [Wed, 5 Jan 2011 02:59:42 +0000 (18:59 -0800)]
usb: host: tegra: Fix enumeration after lp0

Fix enumeration when a device is plugged while the host is in lp0 state.

Change-Id: Idb491f347172daac8a5603ed098b422b15cc534e
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomfd: cpcap-3mm5: Improve support for Apple 3 button headsets
Greg Meiste [Tue, 4 Jan 2011 17:42:42 +0000 (11:42 -0600)]
mfd: cpcap-3mm5: Improve support for Apple 3 button headsets

Previously when an Apple 3 button headset was inserted, the driver would
report the MEDIA key as always pressed.  When the volume keys were pressed,
a release was reported, and when the key was actually released, a press
was reported again.

This patch improves Apple headset support by sending the MEDIA key
press and releases correctly based on whether the volume key is actually
pressed or released.  The 3 buttons are still treated the same due to
hardware limitations.

Change-Id: I8bcc59f95f40a8c98e3748d90e257ea1ec0eeaf5
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoMerge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Erik Gilling [Wed, 5 Jan 2011 01:54:53 +0000 (17:54 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36

Change-Id: I3a5bce1a80f73fd289031d7f329b67eaaf6ce8b5

13 years agousb: host: tegra: Fix a possible int storm on resume from lp0
Benoit Goby [Wed, 5 Jan 2011 01:40:30 +0000 (17:40 -0800)]
usb: host: tegra: Fix a possible int storm on resume from lp0

usbcore will reenable usb interrupts later once the bus has been
resumed.

Change-Id: If78088bc86710f50293d84234d764655f4bba979
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoMerge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Erik Gilling [Wed, 5 Jan 2011 01:51:22 +0000 (17:51 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36

Change-Id: Iec42f1fa234c03c6267f91ba0553d1c651b9ba94

13 years agovideo: tegra: fix three overlay window blending
Ari Hirvonen [Thu, 30 Dec 2010 13:27:28 +0000 (15:27 +0200)]
video: tegra: fix three overlay window blending

Change-Id: I36e2540b5b98817b87efbe4ca2b1f4d4f19ceba4
Signed-off-by: Michael I. Gold <gold@nvidia.com>
13 years agovideo: tegra: fix typo from register header
Ari Hirvonen [Thu, 30 Dec 2010 13:18:18 +0000 (15:18 +0200)]
video: tegra: fix typo from register header

Change-Id: Ifa7b454791f2d32cd1d12a8930890e061e835ef6
Signed-off-by: Michael I. Gold <gold@nvidia.com>
13 years agomisc: l3g4200d: Add delay after power on.
Mike Corrigan [Wed, 29 Dec 2010 22:25:40 +0000 (16:25 -0600)]
misc: l3g4200d: Add delay after power on.

Add more delay after the device powers on in order to avoid invalid data.

Change-Id: Ifcbc42300b0f27542eb32d199dbda04e3c1e9eb9
Signed-off-by: Mike Corrigan <michael.corrigan@motorola.com>
13 years agomedia: video: tegra: ov5650: Fix for 1080p capture
Naren Bhat [Wed, 22 Dec 2010 00:11:11 +0000 (16:11 -0800)]
media: video: tegra: ov5650: Fix for 1080p capture

1080p resolution (1920x1080) was broken and fix added to make 2080x1164
the default 1080p resolution. Settings table for 2080x1164 has been
updated with new values.

Change-Id: I62797829935db7855b20173094eb7a2b322a8601
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agocpufreq interactive governor: fix crash on CPU shutdown
Todd Poynor [Fri, 24 Dec 2010 01:33:07 +0000 (17:33 -0800)]
cpufreq interactive governor: fix crash on CPU shutdown

Don't reference the saved copy of the CPU's cpufreq policy
pointer after the governor has been stopped for the CPU.

When the governor is stopped for a CPU:

* Use del_timer_sync() to wait for a currently-running timer
function to stop.

* Delete the timer when the governor is stopped for the
associated CPU, not when the last CPU is stopped.

* Flush any speed down work ongoing.

* Reset the timestamp that is used to tell if the timer function
has had a chance to run since last idle exit.

Check the governor enabled flag for the CPU before re-arming the
timer from within the timer function and at idle exit (in case
stopping the governor at runtime).

Check the governor enabled flag for the CPU in the worker
function and thread before using the policy pointer.  (There is
still a tiny window in the thread that needs more work to close.)

Change-Id: Ifaddf7a495a8dae15a579a57bdc654f7c47f6ada
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoi2c: i2c-tegra: Return error code on partial master_xfer transfer
Colin Cross [Thu, 30 Dec 2010 05:15:12 +0000 (21:15 -0800)]
i2c: i2c-tegra: Return error code on partial master_xfer transfer

It is unclear what the correct return value is when
master_xfer gets an error part way through a set of
messages, but other drivers seem to return the error
code of the individual failed message instead of
the number of successful messages.  Convert the Tegra
i2c driver to do the same.

Change-Id: Iacda4b6d7591bfe644b93564b93356a0cda3134f
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: smp_twd: Use cpufreq notifiers to update prescalers
Colin Cross [Thu, 30 Dec 2010 04:45:10 +0000 (20:45 -0800)]
ARM: smp_twd: Use cpufreq notifiers to update prescalers

Change-Id: I957d5ca8580d4e7a98fb9fc754ca8f00133940d9
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: cpufreq: Remove direct calls to localtimer
Colin Cross [Thu, 30 Dec 2010 04:43:50 +0000 (20:43 -0800)]
ARM: tegra: cpufreq: Remove direct calls to localtimer

The localtimer code will use a cpufreq notifier to update
the prescalers.

Change-Id: Ie0587d7eaec628ff11bf40636f78597574cd63ec
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: smp_twd: Avoid recalibrating local timer
Colin Cross [Thu, 30 Dec 2010 03:51:35 +0000 (19:51 -0800)]
ARM: smp_twd: Avoid recalibrating local timer

Change-Id: I10af3139ecd0dc1ef54e7a8e5258ee6fb29bfb0c
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: stingray: Disable panic on softlockup for debugging
Colin Cross [Tue, 4 Jan 2011 22:36:10 +0000 (14:36 -0800)]
ARM: tegra: stingray: Disable panic on softlockup for debugging

Change-Id: Id97ad20bfcf90dd76ade458e5c5b57f76cf2fafb
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: cpufreq thermal throttling cleanups
Todd Poynor [Tue, 21 Dec 2010 19:12:31 +0000 (11:12 -0800)]
ARM: tegra: cpufreq thermal throttling cleanups

Various review feedback, including:

Keep a global throttling index that specifies a ceiling CPU speed, lowered by one
at each delay interval (while the temperature alarm continues to be signalled).
Avoid lowering the throttle too far based on a transitory lowering of speed
requested by the governor.

Restore governor-requested speed when throttling turned off.

Add cpufreq sysfs attribute for checking throttling state.

Make throttling workqueue high-priority.

Cosmetic changes.

Change-Id: I068bf32115927fa61282f17f4a8798f2aee0b530
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoARM: tegra: stingray: Enable core dvfs in defconfig
Colin Cross [Wed, 1 Dec 2010 00:56:35 +0000 (16:56 -0800)]
ARM: tegra: stingray: Enable core dvfs in defconfig

Change-Id: I5ac9a60634098f50101a7a0c7a32885ed0d59386
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: stingray: Set the sdmmc tap delay for wifi
Colin Cross [Tue, 28 Dec 2010 22:56:19 +0000 (14:56 -0800)]
ARM: tegra: stingray: Set the sdmmc tap delay for wifi

Change-Id: Ia9b029738945c14f2fa6e6077cd20d4e191c2537
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Thu, 30 Dec 2010 00:16:20 +0000 (16:16 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Thu, 30 Dec 2010 00:15:17 +0000 (16:15 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoARM: tegra: clock: Add function to set SDMMC tap delay
Colin Cross [Tue, 28 Dec 2010 22:54:10 +0000 (14:54 -0800)]
ARM: tegra: clock: Add function to set SDMMC tap delay

The SDMMC controllers have extra bits in the clock source
register that adjust the delay between the clock and data
to compenstate for delays on the PCB.  The values need to
be set from the clock code so the clock can be locked
during the read-modify-write on the clock source register.

Change-Id: Id25b7cc01fa4ec48478b60aefdf5e59bb040fbf2
Signed-off-by: Colin Cross <ccross@android.com>
13 years agocrypto: tegra-aes: reduce ivsize to 16 bytes and priority to 100
Varun Wadekar [Mon, 27 Dec 2010 12:47:35 +0000 (18:17 +0530)]
crypto: tegra-aes: reduce ivsize to 16 bytes and priority to 100

Change-Id: I6f5a7107d1140cf67f6029111cb4df312ac1183c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years agocrypto: tegra-aes: initialise bsev/vde clocks per operation
Varun Wadekar [Mon, 27 Dec 2010 06:53:47 +0000 (12:23 +0530)]
crypto: tegra-aes: initialise bsev/vde clocks per operation

Change-Id: Iaddea9ba9d3bee9c987776f37225dee483684274
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years ago[ARM] tegra: clocks: add clock entry for bsev
Varun Wadekar [Mon, 27 Dec 2010 10:04:59 +0000 (15:34 +0530)]
[ARM] tegra: clocks: add clock entry for bsev

Change-Id: I7ec657c30b84c65705b38a390bdc44b64cd5ea36
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years agousb: ehci: tegra: Don't change the hcd state on restart
Benoit Goby [Tue, 28 Dec 2010 23:33:49 +0000 (15:33 -0800)]
usb: ehci: tegra: Don't change the hcd state on restart

usbcore will change it once the bus has been resumed. This fixes
the "hub 3-0:1.0: activate --> -22" error on resume.

Change-Id: Icff283a60634b4d003e77aafb5a5127d415cbd3f
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoARM: tegra: usb_phy: Use utmi_phy_preresume for usb1 too
Benoit Goby [Sat, 18 Dec 2010 01:25:12 +0000 (17:25 -0800)]
ARM: tegra: usb_phy: Use utmi_phy_preresume for usb1 too

This prevents disconnects on resume.

Change-Id: I16a9e826df0d6c992e0e4480d38badba6cc9dfec
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agotegra SDHCI: Make debugging printk properly a debugging printk
Todd Poynor [Thu, 23 Dec 2010 20:55:08 +0000 (12:55 -0800)]
tegra SDHCI: Make debugging printk properly a debugging printk

Tegra SDMMC clock enable/disable seems to be working well enough,
don't need this extra spew.

Change-Id: I8bce2a6b26a72b9b3af2eec873bca0177f149ca3
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoARM: Stop irqsoff trace on return to user
Todd Poynor [Tue, 9 Nov 2010 04:26:23 +0000 (20:26 -0800)]
ARM: Stop irqsoff trace on return to user

If the irqsoff tracer is in use, stop tracing the interrupt disable
interval when returning to userspace.  Tracing userspace execution
time as interrupts disabled time is not helpful for kernel
performance analysis purposes.  Only do so if the irqsoff tracer
is enabled, to avoid overhead purely for lockdep, which doesn't
care.

Change-Id: I74cde7dd0c4c3a783af34e76bd4efc1f85315abe
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoARM: tegra: stingray: usbnet: Make work be queued on non-reentrant queue
Andrei Warkentin [Sat, 4 Dec 2010 03:20:24 +0000 (21:20 -0600)]
ARM: tegra: stingray: usbnet: Make work be queued on non-reentrant queue

Didn't see any synchro in worker.

Change-Id: I047bea31653a2856859ab1e5f28d7b01191f0b2b
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
13 years agomfd: cpcap-whisper: Only hold wake lock during debouncing
Greg Meiste [Fri, 17 Dec 2010 17:41:19 +0000 (11:41 -0600)]
mfd: cpcap-whisper: Only hold wake lock during debouncing

Only need to hold the wake lock during debouncing.  This change allows
the device to suspend when docks are attached, resulting in better
current drain.

Change-Id: Ieb72bacc5da3678a25a70a34620faa0c8620cbd2
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoARM: tegra: stingray: Enable Linsys USB Ethernet Adapters
Benoit Goby [Wed, 22 Dec 2010 02:34:15 +0000 (18:34 -0800)]
ARM: tegra: stingray: Enable Linsys USB Ethernet Adapters

Change-Id: I7e7a5557c839e834e54ba0b923530d1ca3c0b9ce
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Wed, 22 Dec 2010 02:38:24 +0000 (18:38 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Wed, 22 Dec 2010 02:38:13 +0000 (18:38 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

Conflicts:
drivers/usb/gadget/composite.c

Change-Id: I1a332ec21da62aea98912df9a01cf0282ed50ee1

13 years agoMerge commit 'v2.6.36.2' into linux-tegra-2.6.36
Colin Cross [Wed, 22 Dec 2010 02:34:37 +0000 (18:34 -0800)]
Merge commit 'v2.6.36.2' into linux-tegra-2.6.36

13 years agoARM: tegra: stingray: Enable USB ACM in defconfig
prabhu annabathula [Tue, 21 Dec 2010 18:35:28 +0000 (12:35 -0600)]
ARM: tegra: stingray: Enable USB ACM in defconfig

Signed-off-by: prabhu annabathula <prabhu.annabathula@motorola.com>
13 years agoARM: tegra: stingray: Enable soft reset
Colin Cross [Tue, 21 Dec 2010 20:25:34 +0000 (12:25 -0800)]
ARM: tegra: stingray: Enable soft reset

Makes the cpcap treat POWER + VOL UP as a soft reset, preserving
memory contents in /proc/last_kmsg

Change-Id: Idabbe725620b1e587b6310a5de8dc9bebabb4979
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: adjust panel timings to match upcoming bootloader
Erik Gilling [Wed, 22 Dec 2010 00:07:05 +0000 (16:07 -0800)]
[ARM] tegra: adjust panel timings to match upcoming bootloader

Change-Id: I907cae119dfeb5c97c713bd9e0b307b462f7f104
Signed-off-by: Erik Gilling <konkers@android.com>
13 years ago[ARM] tegra: stingray: Support for PWR + VOL_UP soft reset
Greg Meiste [Thu, 16 Dec 2010 23:11:57 +0000 (17:11 -0600)]
[ARM] tegra: stingray: Support for PWR + VOL_UP soft reset

Currently PWR + VOL_UP setup for hard reset to match current
behavior.

Change-Id: I725215eaf2af884bf33d7e6fe3975a60740c8337
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agofirmware: cpcap: Add option to soft reset host
Greg Meiste [Thu, 16 Dec 2010 23:09:59 +0000 (17:09 -0600)]
firmware: cpcap: Add option to soft reset host

Change-Id: I25c6d2d93105c2dc59de81b0955d3a63ef7144b9
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Tue, 21 Dec 2010 19:58:04 +0000 (11:58 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Tue, 21 Dec 2010 19:51:19 +0000 (11:51 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Tue, 21 Dec 2010 19:51:15 +0000 (11:51 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agostaging: android: lowmemorykiller: Ignore shmem pages in page-cache
Arve Hjønnevåg [Wed, 24 Nov 2010 01:29:04 +0000 (17:29 -0800)]
staging: android: lowmemorykiller: Ignore shmem pages in page-cache

Change-Id: Ia54fc50b7dcabfeb71eb487c652803f83e2f3d8e
Signed-off-by: Arve Hjønnevåg <arve@android.com>
13 years agostaging: android: lowmemorykiller: Don't wait more than one second for a process...
Arve Hjønnevåg [Wed, 24 Nov 2010 02:20:28 +0000 (18:20 -0800)]
staging: android: lowmemorykiller: Don't wait more than one second for a process to die

If a process forked and the child process was killed by the
lowmemorykiller, the lowmemory killer would be disabled until
the parent process reaped the child or it died itself.

Change-Id: I709b1a4e1b1a1970e51d26a39fcbee57977bbc7f
Signed-off-by: Arve Hjønnevåg <arve@android.com>
13 years agolowmemorykiller: don't unregister notifier from atomic context
Rabin Vincent [Thu, 9 Sep 2010 05:18:21 +0000 (10:48 +0530)]
lowmemorykiller: don't unregister notifier from atomic context

The lowmemorykiller registers an atomic notifier for notfication of when
the task is freed.  From this atomic notifier callback, it removes the
atomic notifier via task_free_unregister().  This is incorrect because
atomic_notifier_chain_unregister() calls syncronize_rcu(), which can
sleep, which shouldn't be done from an atomic notifier.

Fix this by registering the notifier during init, and only unregister it
if the lowmemorykiller is unloaded.

Change-Id: I1577b04e617bc2b2e39dcb490fcfc9ce660eb7ec
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
13 years agoRevert "Revert "sched: Add a generic notifier when a task struct is about to be freed""
Rebecca Schultz Zavin [Tue, 21 Dec 2010 19:36:14 +0000 (11:36 -0800)]
Revert "Revert "sched: Add a generic notifier when a task struct is about to be freed""

This reverts commit d534322cb6066ae0db4790ceacba3e1a95b1ee7c.

13 years ago[ARM] tegra: ventana: remove pda-power device
Varun Wadekar [Wed, 8 Dec 2010 12:51:59 +0000 (18:21 +0530)]
[ARM] tegra: ventana: remove pda-power device

pda-power is only needed on pdas and phones.

Change-Id: I46a668cc0ee3f4b23c63de48251591cf4a8f99e8
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years agoRevert "Revert "staging: android: lowmemorykiller: Remove bitrotted codepath""
Rebecca Schultz Zavin [Tue, 21 Dec 2010 19:28:18 +0000 (11:28 -0800)]
Revert "Revert "staging: android: lowmemorykiller: Remove bitrotted codepath""

This reverts commit abe997b06f4da33416b20bed5784abd9ea97c7c9.

13 years agoRevert "Revert "staging: android: lowmemorykiller: Fix task_struct leak""
Rebecca Schultz Zavin [Tue, 21 Dec 2010 19:28:07 +0000 (11:28 -0800)]
Revert "Revert "staging: android: lowmemorykiller: Fix task_struct leak""

This reverts commit 83dd90a8d9b866caca7da58805fdbb5e61d23e57.

13 years agoRevert "Revert "staging: android: lowmemkiller: Substantially reduce overhead during...
Rebecca Schultz Zavin [Tue, 21 Dec 2010 19:27:57 +0000 (11:27 -0800)]
Revert "Revert "staging: android: lowmemkiller: Substantially reduce overhead during reclaim""

This reverts commit 54a1c40c991e35c31e7413d9bf24e828c3cab6b7.

13 years agonet: wireless: bcm4329: Update to version 4.218.248-18
Greg Goldman [Tue, 21 Dec 2010 19:14:17 +0000 (11:14 -0800)]
net: wireless: bcm4329: Update to version 4.218.248-18

- Improve BT-coex to differentiate HID and SCO device during DHCP session
- Enforce DTIM=1 for any SoftAP settings to optimize internal memory logic

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoARM: tegra: cpufreq: Change function signature for CPU speed throttling
Todd Poynor [Mon, 20 Dec 2010 23:53:54 +0000 (15:53 -0800)]
ARM: tegra: cpufreq: Change function signature for CPU speed throttling

The NCT1008 driver is now passed a function pointer from the board
file's platform data to be called when alarms are asserted or
deasserted.  Switch to a single function for throttling
enable/disable suitable for calling via the temperature alarm
callback.

Change-Id: Ic0eb1566a68e151216e26dfb6ed6f4bc7a273ddb
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoARM: tegra: Make CPU thermal throttling configurable
Todd Poynor [Sat, 18 Dec 2010 03:36:23 +0000 (19:36 -0800)]
ARM: tegra: Make CPU thermal throttling configurable

Based on work by Dmitriy Gruzman and Varun Wadekar.

Change-Id: I64d765628223b7ef1ec493b9e409ea11e9391b94
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agomfd: Remove tps6586x device ID check
Stephen Warren [Thu, 9 Dec 2010 17:30:11 +0000 (10:30 -0700)]
mfd: Remove tps6586x device ID check

... and convert it to a dev_info print at probe time.

There are many variants of this chip with different values of VERSIONCRC.
The set of values is large, and not useful to enumerate. All are SW
compatible. The difference lies in default settings of the various power
rails, and other similar differences. The driver, or clients of the
driver, shouldn't be affected by this, since all rails should be
programmed into the desired state in all cases for correct operation.

Derived-from-code-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
13 years agomfd: Add TPS658621C device ID
Andrew Chew [Tue, 19 Oct 2010 09:08:36 +0000 (11:08 +0200)]
mfd: Add TPS658621C device ID

The interface for this device should be identical to that of the
TPS658521A.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
13 years agomisc: moto_bmp085: Disable debug messages
Mike Corrigan [Fri, 17 Dec 2010 18:04:18 +0000 (12:04 -0600)]
misc: moto_bmp085: Disable debug messages

Change-Id: I3bdcafa3b1cba636ce8cd2a6d0d87990db677b84
Signed-off-by: Mike Corrigan <michael.corrigan@motorola.com>
13 years agoRevert "ARM: tegra: stingray: Enable core dvfs in defconfig"
Paul Eastham [Mon, 20 Dec 2010 19:53:36 +0000 (11:53 -0800)]
Revert "ARM: tegra: stingray: Enable core dvfs in defconfig"

This reverts commit 92ead7c3a8b5789368df3b5a1e65f367c96c5cf9.

13 years ago[ARM] configs: Turn off the Tegra AES engine.
Ken Sumrall [Sun, 19 Dec 2010 05:08:44 +0000 (21:08 -0800)]
[ARM] configs: Turn off the Tegra AES engine.

The Tegra AES engine is crashing when trying to write an
encrypted filesystem.  Revert to the software AES engine
untill we get this debugged.

Signed-off-by: Ken Sumrall <ksumrall@android.com>
13 years agoARM: tegra: stingray: Add cgroups back to defconfig
Colin Cross [Sat, 18 Dec 2010 01:25:26 +0000 (17:25 -0800)]
ARM: tegra: stingray: Add cgroups back to defconfig

Change-Id: I85bc0442252ffca282d3ae015ff6208723a9664d
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Sat, 18 Dec 2010 01:24:24 +0000 (17:24 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Sat, 18 Dec 2010 01:23:38 +0000 (17:23 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agocgroup: Remove call to synchronize_rcu in cgroup_attach_task
Colin Cross [Wed, 24 Nov 2010 05:37:04 +0000 (21:37 -0800)]
cgroup: Remove call to synchronize_rcu in cgroup_attach_task

synchronize_rcu can be very expensive, averaging 100 ms in
some cases.  In cgroup_attach_task, it is used to prevent
a task->cgroups pointer dereferenced in an RCU read side
critical section from being invalidated, by delaying the
call to put_css_set until after an RCU grace period.

To avoid the call to synchronize_rcu, make the put_css_set
call rcu-safe by moving the deletion of the css_set links
into free_css_set_work, scheduled by the rcu callback
free_css_set_rcu.

The decrement of the cgroup refcount is no longer
synchronous with the call to put_css_set, which can result
in the cgroup refcount staying positive after the last call
to cgroup_attach_task returns.  To allow the cgroup to be
deleted with cgroup_rmdir synchronously after
cgroup_attach_task, have rmdir check the refcount of all
associated css_sets.  If cgroup_rmdir is called on a cgroup
for which the css_sets all have refcount zero but the
cgroup refcount is nonzero, reuse the rmdir waitqueue to
block the rmdir until free_css_set_work is called.

Signed-off-by: Colin Cross <ccross@android.com>
13 years agocgroup: Set CGRP_RELEASABLE when adding to a cgroup
Colin Cross [Wed, 24 Nov 2010 05:37:03 +0000 (21:37 -0800)]
cgroup: Set CGRP_RELEASABLE when adding to a cgroup

Changes the meaning of CGRP_RELEASABLE to be set on any cgroup
that has ever had a task or cgroup in it, or had css_get called
on it.  The bit is set in cgroup_attach_task, cgroup_create,
and __css_get.  It is not necessary to set the bit in
cgroup_fork, as the task is either in the root cgroup, in
which can never be released, or the task it was forked from
already set the bit in croup_attach_task.

Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: stingray: Update memory scaling tables
Colin Cross [Sat, 18 Dec 2010 00:45:49 +0000 (16:45 -0800)]
ARM: tegra: stingray: Update memory scaling tables

Adds separate tables for Samsung vs. Elpida memory parts
Changes the scaling frequencies to 60 MHz, 120 MHz, 200 MHz,
and 300 MHz

Change-Id: I6c490d337bbbd119704a690a9d0f5db66b1243d7
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Fri, 17 Dec 2010 23:32:37 +0000 (15:32 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Fri, 17 Dec 2010 23:29:50 +0000 (15:29 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agousb: cpcap-otg: Take wake lock when USB connected
Greg Meiste [Fri, 17 Dec 2010 17:39:12 +0000 (11:39 -0600)]
usb: cpcap-otg: Take wake lock when USB connected

Driver was previously relying on accessory detection driver to hold a
wake lock when USB was attached.

Change-Id: I07542b87fcdc82e87f36d03133e8e5f6acf231a8
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agovideo: tegra: nvmap: Add logging to some error conditions
Rebecca Schultz Zavin [Fri, 17 Dec 2010 23:06:38 +0000 (15:06 -0800)]
video: tegra: nvmap: Add logging to some error conditions

Change-Id: I1ec34fd4a6bb21a6d84912a7228c209f459261be
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomedia: video: tegra: soc2030: Prevent concurrent ioctls from multiple threads.
Andrei Warkentin [Fri, 17 Dec 2010 22:14:22 +0000 (16:14 -0600)]
media: video: tegra: soc2030: Prevent concurrent ioctls from multiple threads.

Protects with a mutex. Also cleans up the error handling a bit.

Change-Id: Ib7b04890d86dd3890033b06e2ea7201c20178909
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 17 Dec 2010 07:10:41 +0000 (23:10 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 17 Dec 2010 07:09:45 +0000 (23:09 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agocrypto: tegra-aes: Disable clock at end of probe
Colin Cross [Thu, 16 Dec 2010 20:51:22 +0000 (12:51 -0800)]
crypto: tegra-aes: Disable clock at end of probe

Change-Id: Ie5b98b705a7ec70782df5dc0aec69438b699661c
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] stingray: Enable fixed voltage regulator in stingray defconfig
Rebecca Schultz Zavin [Thu, 16 Dec 2010 02:58:37 +0000 (18:58 -0800)]
[ARM] stingray: Enable fixed voltage regulator in stingray defconfig

Change-Id: I9380ed5ea070bc2498d69fa8834632a6f9bf92ec
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoleds: lp8550: Fix regulator enable/disable in lp8550 driver
Rebecca Schultz Zavin [Thu, 16 Dec 2010 02:36:22 +0000 (18:36 -0800)]
leds: lp8550: Fix regulator enable/disable in lp8550 driver

Change-Id: I6ec17f20b92eb4f02489be82d5943882e2266633
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomfd: cpcap: Improve ST DAC enable time
Greg Meiste [Fri, 10 Dec 2010 21:35:52 +0000 (15:35 -0600)]
mfd: cpcap: Improve ST DAC enable time

Workaround provided by ST to improve ST DAC enable time.

Change-Id: I246ef7af1e9b5c2d21f9ec311d35fc704b4589bd
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoARM: tegra: stingray: Enable core dvfs in defconfig
Colin Cross [Wed, 1 Dec 2010 00:56:35 +0000 (16:56 -0800)]
ARM: tegra: stingray: Enable core dvfs in defconfig

Change-Id: I9c60cc97d7410308cbecfb9a2a46f5685481bad0
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: stingray: Enable EMC scaling in defconfig
Colin Cross [Thu, 9 Dec 2010 04:25:50 +0000 (20:25 -0800)]
ARM: tegra: stingray: Enable EMC scaling in defconfig

Change-Id: Iaba7e0699692f4efd66dc0bcdc81624c7fd4b29e
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: stingray: Add emc tables
Colin Cross [Wed, 8 Dec 2010 02:27:28 +0000 (18:27 -0800)]
ARM: tegra: stingray: Add emc tables

Change-Id: I2fb991478c527fc3fc4355110c524037b4e4d372
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoserial: tegra_hsuart: Call rx_done callback with lock held.
Jaikumar Ganesh [Tue, 14 Dec 2010 22:56:59 +0000 (14:56 -0800)]
serial: tegra_hsuart: Call rx_done callback with lock held.

Similar to the exit_lpm callback which is called with the lock
held, call the rx_done callback with lock held.

Change-Id: I307d5191669ef6816d8406bb421b2c10c902f6a8
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
13 years ago[ARM] tegra: stingray: Rework Bluetooth rfkill driver.
Jaikumar Ganesh [Thu, 9 Dec 2010 21:22:15 +0000 (13:22 -0800)]
[ARM] tegra: stingray: Rework Bluetooth rfkill driver.

Convert Bluetooth rfkill driver to both power up/down
the chipset as well as enable low power mode.
Add wake lock to lpm and gpio fixes.

Change-Id: I9232cacdc68a603903e22c883e8a1531998d3a77
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
13 years ago[ARM] tegra: stingray: Rename rfkill driver to stingray-bluetooth.
Jaikumar Ganesh [Wed, 15 Dec 2010 00:46:05 +0000 (16:46 -0800)]
[ARM] tegra: stingray: Rename rfkill driver to stingray-bluetooth.

This rename is being done with the future addition of low power
driver to rfkill driver.

Change-Id: I678a579af60aea8c72cee43c36cc292260350033
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
13 years agomisc: moto_bmp085: Add vio regulator to barometer driver
Rebecca Schultz Zavin [Wed, 15 Dec 2010 00:53:56 +0000 (16:53 -0800)]
misc: moto_bmp085: Add vio regulator to barometer driver

Change-Id: I31a28fefa55e9d0391c0fa431305356977d19703
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoinput: touchscreen: Add regulator to qtouch driver
Rebecca Schultz Zavin [Tue, 14 Dec 2010 22:29:57 +0000 (14:29 -0800)]
input: touchscreen: Add regulator to qtouch driver

Change-Id: Ic2461309a9c7b6a6162c4e5fb9b67b6828369938
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoleds: lp8550: Add regulator to lp8550 lighting driver
Rebecca Schultz Zavin [Tue, 14 Dec 2010 21:57:09 +0000 (13:57 -0800)]
leds: lp8550: Add regulator to lp8550 lighting driver

Change-Id: I9e57aec4fca3352ce2e689ca44b5a4b3bdfe2ed2
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: max9635: Add regulator to als driver
Rebecca Schultz Zavin [Tue, 14 Dec 2010 20:19:43 +0000 (12:19 -0800)]
misc: max9635: Add regulator to als driver

Change-Id: I5fe58e698011024cb0f6d8d9c090b430e31b8fd2
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: Add fixed regulator for panel enable
Rebecca Schultz Zavin [Tue, 14 Dec 2010 20:02:54 +0000 (12:02 -0800)]
[ARM] tegra: stingray: Add fixed regulator for panel enable

Due to a problem with the hardware design, a voltage divider
is created on the i2c bus when the panel is turned off.  This
can cause problems with other devices on that bus.  To work
around, a fixed regulator has been created representing the panel
power.  This regulator must be enabled when devices on that i2c
bus are in use, even if the panel is otherwise off.

Change-Id: I78d9a3b29e69c1cffd5e8df23025b186527f31b3
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoMerge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Erik Gilling [Wed, 15 Dec 2010 02:11:59 +0000 (18:11 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36

Change-Id: Id806720fee83d7515a38dc601a7570a3da55fec3

13 years agoMerge remote branch android-2.6.36 into android-tegra-2.6.36
Erik Gilling [Wed, 15 Dec 2010 02:10:08 +0000 (18:10 -0800)]
Merge remote branch android-2.6.36 into android-tegra-2.6.36

Change-Id: Ice30bc601132f829abd664c68ddc61cbcdb8668c

13 years agoARM: tegra: enable tegra aes in stingray defconfig
Dima Zavin [Tue, 14 Dec 2010 22:34:22 +0000 (14:34 -0800)]
ARM: tegra: enable tegra aes in stingray defconfig

Change-Id: I8f7fd5f72637f8c8e31be08fefe9ab9d9a89b072
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: tegra: stingray: add AES device
Dima Zavin [Tue, 14 Dec 2010 22:25:59 +0000 (14:25 -0800)]
ARM: tegra: stingray: add AES device

Change-Id: I97245f9266e69b2c7d0af6c22f8ac7a1a1e7fc13
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Dima Zavin [Tue, 14 Dec 2010 22:25:27 +0000 (14:25 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
arch/arm/mach-tegra/tegra2_clocks.c

Change-Id: Ia10990fca6221d4d7d0236073910d8c48bf6762b

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Dima Zavin [Tue, 14 Dec 2010 22:12:05 +0000 (14:12 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years ago[ARM] tegra: ventana: register AES device
Varun Wadekar [Sun, 17 Oct 2010 00:44:37 +0000 (06:14 +0530)]
[ARM] tegra: ventana: register AES device

Change-Id: I5badd8d4967d7a98439b6f4b5d1329b28ee0c2d4
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
13 years ago[ARM] tegra: add aes to devices.c
Varun Wadekar [Sun, 17 Oct 2010 00:40:43 +0000 (06:10 +0530)]
[ARM] tegra: add aes to devices.c

Change-Id: Id13075009d785e784ae6bd0feb9b29f3fa7184df
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>