7 years agofixup: early_suspend detection (cm3217)
Dan Willemsen [Sun, 25 Mar 2012 21:24:42 +0000]
fixup: early_suspend detection (cm3217)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agotegra-kbc: fix upstream break (fixed in k3.4)
Dan Willemsen [Sun, 25 Mar 2012 21:23:11 +0000]
tegra-kbc: fix upstream break (fixed in k3.4)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: module.h (tegra-tsensor.c)
Dan Willemsen [Sun, 25 Mar 2012 21:06:12 +0000]
fixup: module.h (tegra-tsensor.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: ina219: remove sysdev include
Dan Willemsen [Sun, 25 Mar 2012 21:05:34 +0000]
fixup: ina219: remove sysdev include

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: pm_qos.h (cpufreq.c)
Dan Willemsen [Sun, 25 Mar 2012 21:04:44 +0000]
fixup: pm_qos.h (cpufreq.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio includes (bluesleep.c)
Dan Willemsen [Sun, 25 Mar 2012 21:04:09 +0000]
fixup: gpio includes (bluesleep.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio includes (board-kai-sensors.c)
Dan Willemsen [Sun, 25 Mar 2012 20:56:40 +0000]
fixup: gpio includes (board-kai-sensors.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-kai-sdhci.c)
Dan Willemsen [Sun, 25 Mar 2012 20:55:30 +0000]
fixup: gpio-tegra.h (board-kai-sdhci.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-kai-power.c)
Dan Willemsen [Sun, 25 Mar 2012 20:55:01 +0000]
fixup: gpio-tegra.h (board-kai-power.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: board-kai-pinmux includes
Dan Willemsen [Sun, 25 Mar 2012 20:53:58 +0000]
fixup: board-kai-pinmux includes

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-kai-panel.c)
Dan Willemsen [Sun, 25 Mar 2012 20:52:47 +0000]
fixup: gpio-tegra.h (board-kai-panel.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: early_suspend (board-kai-panel.c)
Dan Willemsen [Sun, 25 Mar 2012 20:52:26 +0000]
fixup: early_suspend (board-kai-panel.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-kai-kbc.c)
Dan Willemsen [Sun, 25 Mar 2012 20:51:48 +0000]
fixup: gpio-tegra.h (board-kai-kbc.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: pinmux-tegra30.h (board-kai.c)
Dan Willemsen [Sun, 25 Mar 2012 20:50:54 +0000]
fixup: pinmux-tegra30.h (board-kai.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agok3.3: kai: Updates to board files
Dan Willemsen [Sun, 25 Mar 2012 20:50:22 +0000]
k3.3: kai: Updates to board files

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-kai.c)
Dan Willemsen [Sun, 25 Mar 2012 20:48:54 +0000]
fixup: gpio-tegra.h (board-kai.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio includes (board-enterprise-sensors.c)
Dan Willemsen [Sun, 25 Mar 2012 20:47:56 +0000]
fixup: gpio includes (board-enterprise-sensors.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: pinmux-tegra30.h (board-enterprise-baseband.c)
Dan Willemsen [Sun, 25 Mar 2012 20:46:52 +0000]
fixup: pinmux-tegra30.h (board-enterprise-baseband.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (Board-enterprise-baseband.c)
Dan Willemsen [Sun, 25 Mar 2012 20:46:26 +0000]
fixup: gpio-tegra.h (Board-enterprise-baseband.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (Board-enterprise-power.c)
Dan Willemsen [Sun, 25 Mar 2012 20:45:53 +0000]
fixup: gpio-tegra.h (Board-enterprise-power.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-enterprise-sdhci.c)
Dan Willemsen [Sun, 25 Mar 2012 20:45:22 +0000]
fixup: gpio-tegra.h (board-enterprise-sdhci.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: board-enterprise-pinmux includes
Dan Willemsen [Sun, 25 Mar 2012 20:43:50 +0000]
fixup: board-enterprise-pinmux includes

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-enterprise-panel.c)
Dan Willemsen [Sun, 25 Mar 2012 20:42:46 +0000]
fixup: gpio-tegra.h (board-enterprise-panel.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: early_suspend (board-enterprise-panel.c)
Dan Willemsen [Sun, 25 Mar 2012 20:42:18 +0000]
fixup: early_suspend (board-enterprise-panel.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agok3.3: enterprise: Updates to board files
Dan Willemsen [Sun, 25 Mar 2012 20:41:23 +0000]
k3.3: enterprise: Updates to board files

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-enterprise.c)
Dan Willemsen [Sun, 25 Mar 2012 20:39:35 +0000]
fixup: gpio-tegra.h (board-enterprise.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-touch-raydium_spi.c)
Dan Willemsen [Sun, 25 Mar 2012 20:38:51 +0000]
fixup: gpio-tegra.h (board-touch-raydium_spi.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-touch-kai-synaptics-spi.c)
Dan Willemsen [Sun, 25 Mar 2012 20:37:55 +0000]
fixup: gpio-tegra.h (board-touch-kai-synaptics-spi.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: board-cardhu-sensors.c includes
Dan Willemsen [Sun, 25 Mar 2012 20:37:18 +0000]
fixup: board-cardhu-sensors.c includes

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-cardhu-sdhci.h)
Dan Willemsen [Sun, 25 Mar 2012 20:35:45 +0000]
fixup: gpio-tegra.h (board-cardhu-sdhci.h)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: board-cardhu-*power*.c includes
Dan Willemsen [Sun, 25 Mar 2012 20:35:04 +0000]
fixup: board-cardhu-*power*.c includes

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: board-cardhu-pinmux includes
Dan Willemsen [Sun, 25 Mar 2012 20:32:55 +0000]
fixup: board-cardhu-pinmux includes

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-cardhu-panel.c)
Dan Willemsen [Sun, 25 Mar 2012 20:31:02 +0000]
fixup: gpio-tegra.h (board-cardhu-panel.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup earlysuspend (board-cardhu-panel.c)
Dan Willemsen [Sun, 25 Mar 2012 20:30:22 +0000]
fixup earlysuspend (board-cardhu-panel.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup gpio-tegra.h (board-cardhu-kbc.c)
Dan Willemsen [Sun, 25 Mar 2012 20:29:42 +0000]
fixup gpio-tegra.h (board-cardhu-kbc.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup wm8903 (see a0f203d384fa)
Dan Willemsen [Sun, 25 Mar 2012 20:29:06 +0000]
fixup wm8903 (see a0f203d384fa)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agok3.3: cardhu: Updates to board files
Dan Willemsen [Sun, 25 Mar 2012 20:25:56 +0000]
k3.3: cardhu: Updates to board files

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (board-cardhu.c)
Dan Willemsen [Sun, 25 Mar 2012 20:22:43 +0000]
fixup: gpio-tegra.h (board-cardhu.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h (tegra_usb_modem_power.c)
Dan Willemsen [Sun, 25 Mar 2012 20:21:41 +0000]
fixup: gpio-tegra.h (tegra_usb_modem_power.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: module.h (powerdetect.c)
Dan Willemsen [Sun, 25 Mar 2012 20:21:06 +0000]
fixup: module.h (powerdetect.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: module.h (tegra3_thermal.c)
Dan Willemsen [Sun, 25 Mar 2012 20:20:28 +0000]
fixup: module.h (tegra3_thermal.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: module.h (tegra3_throttle.c)
Dan Willemsen [Sun, 25 Mar 2012 20:19:47 +0000]
fixup: module.h (tegra3_throttle.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: PLAT_PHYS_OFFSET
Dan Willemsen [Sun, 25 Mar 2012 20:19:11 +0000]
fixup: PLAT_PHYS_OFFSET

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: cpuidle fallback
Dan Willemsen [Sun, 25 Mar 2012 20:18:41 +0000]
fixup: cpuidle fallback

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: module.h (cpuidle-t3.c)
Dan Willemsen [Sun, 25 Mar 2012 20:17:57 +0000]
fixup: module.h (cpuidle-t3.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: cpu_pm.h (cpuidle-t3.c)
Dan Willemsen [Sun, 25 Mar 2012 20:17:15 +0000]
fixup: cpu_pm.h (cpuidle-t3.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoARM: tegra: cpuidle: Remove dev->prepare()
Dan Willemsen [Fri, 10 Feb 2012 01:40:01 +0000]
ARM: tegra: cpuidle: Remove dev->prepare()

Upstream change 734c129df removed dev->prepare() from the cpuidle API.
This commit removes our usage of it. The check and fallback already
happens in the actual enter functions.

Change-Id: I137513a3ca8dd05a7c702b706fbadd15c7cd80da
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoARM: tegra: cpuidle changes (last_residency, last_state)
Dan Willemsen [Sun, 25 Mar 2012 20:16:00 +0000]
ARM: tegra: cpuidle changes (last_residency, last_state)

Upstream v3.2 commit e978aa7d7d5 changes the cpuidle API. This change
makes the necessary Tegra changes:

* Update dev->last_residency in tegra_idle_enter_lp(2|3) funcs instead
  of returning time
* Update tegra_idle_enter_lp(2|3) to accept the state as an index
* Update tegra_idle_enter_lp(2|3) to return the state index that was
  entered.
* The per-soc functions return bool for whether they entered LP2 or not
* Update safe_state to specify LP3 as the safe state. This decouples the
  fallback from LP2 to LP3 slightly.

Change-Id: Ide1f66260855de790e54648ea51e0b0098bd4ebe
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Conflicts:

arch/arm/mach-tegra/cpuidle-t3.c

7 years agoRevert "cpuidle: Single/Global registration of idle states"
Dan Willemsen [Sun, 25 Mar 2012 20:10:52 +0000]
Revert "cpuidle: Single/Global registration of idle states"

This reverts commit 46bcfad7a819bd17ac4e831b04405152d59784ab.

We aren't yet prepared to handle this commit - we need some sort of
per-cpu idle state. At least for statistics, maybe for the states
themselves (but that may be able to be handled in our driver)

Conflicts:

arch/arm/mach-omap2/cpuidle34xx.c
drivers/acpi/processor_driver.c
drivers/idle/intel_idle.c

7 years agofixup: module.h (cpuidle.c)
Dan Willemsen [Sun, 25 Mar 2012 20:09:06 +0000]
fixup: module.h (cpuidle.c)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: cpu_pm.h: cpuidle.c
Dan Willemsen [Sun, 25 Mar 2012 20:08:08 +0000]
fixup: cpu_pm.h: cpuidle.c

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: cpu-tegra3.c cputime_add/sub
Dan Willemsen [Sun, 25 Mar 2012 20:07:35 +0000]
fixup: cpu-tegra3.c cputime_add/sub

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup cpu-tegra.c
Dan Willemsen [Sun, 25 Mar 2012 20:06:30 +0000]
fixup cpu-tegra.c

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup pinmux-tegra30-tables.c
Dan Willemsen [Sun, 25 Mar 2012 20:05:49 +0000]
fixup pinmux-tegra30-tables.c

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: pinmux-tegra30-tables.c
Dan Willemsen [Sun, 25 Mar 2012 20:04:56 +0000]
fixup: pinmux-tegra30-tables.c

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: cpu_pm.h
Dan Willemsen [Sun, 25 Mar 2012 20:03:18 +0000]
fixup: cpu_pm.h

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agohacky? fixup: make wakeups-t3 compile
Dan Willemsen [Sun, 25 Mar 2012 20:02:54 +0000]
hacky? fixup: make wakeups-t3 compile

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: gpio-tegra.h
Dan Willemsen [Sun, 25 Mar 2012 19:28:20 +0000]
fixup: gpio-tegra.h

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: tegra3_emc.c compiles
Dan Willemsen [Sun, 25 Mar 2012 19:27:35 +0000]
fixup: tegra3_emc.c compiles

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: module.h
Dan Willemsen [Sun, 25 Mar 2012 19:24:29 +0000]
fixup: module.h

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: latency_allowance warnings
Dan Willemsen [Sun, 25 Mar 2012 19:23:51 +0000]
fixup: latency_allowance warnings

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: usb_phy.c compiles
Dan Willemsen [Sun, 25 Mar 2012 19:18:52 +0000]
fixup: usb_phy.c compiles

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup gpio-tegra.h
Dan Willemsen [Sun, 25 Mar 2012 08:34:35 +0000]
fixup gpio-tegra.h

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup export.h
Dan Willemsen [Sun, 25 Mar 2012 08:33:55 +0000]
fixup export.h

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixups: make pm.c compile
Dan Willemsen [Sun, 25 Mar 2012 08:33:26 +0000]
fixups: make pm.c compile

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup export.h
Dan Willemsen [Sun, 25 Mar 2012 08:33:12 +0000]
fixup export.h

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoRevert "ARM: tegra: tegra_powergate_is_powered should be static"
Dan Willemsen [Sun, 25 Mar 2012 08:32:15 +0000]
Revert "ARM: tegra: tegra_powergate_is_powered should be static"

This reverts commit 784278e116d6243f2588e28d2404425858df65b4.

We use tegra_powergate_is_powered in a number of places in our internal
tree.

Conflicts:

arch/arm/mach-tegra/include/mach/powergate.h

7 years agofixup: Update to new PM_QoS apis
Dan Willemsen [Sun, 25 Mar 2012 08:29:57 +0000]
fixup: Update to new PM_QoS apis

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixups: make pinmux.c compile
Dan Willemsen [Sun, 25 Mar 2012 08:18:25 +0000]
fixups: make pinmux.c compile

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agotreewide: Add export.h
Dan Willemsen [Sun, 25 Mar 2012 08:16:37 +0000]
treewide: Add export.h

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoarm: pageattr: Fix some warnings
Dan Willemsen [Sun, 25 Mar 2012 08:15:22 +0000]
arm: pageattr: Fix some warnings

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agofixup: arm: mm: change_page_attr support
Dan Willemsen [Sun, 25 Mar 2012 08:06:05 +0000]
fixup: arm: mm: change_page_attr support

add missing include

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agovideo: tegra: clean-up warnings and code style
Jon Mayo [Tue, 13 Mar 2012 01:42:28 +0000]
video: tegra: clean-up warnings and code style

fix some build warnings and bad code style.

Change-Id: I907296ce0e5437dfd6acd0b2b3c119b6dbde7b1c
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/89634
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R77627d42da861182a4e7722fb64f092534761963

7 years agoARM: tegra: disable proximity sensor in defconfig
Winnie Hsu [Tue, 6 Mar 2012 01:19:02 +0000]
ARM: tegra: disable proximity sensor in defconfig

Disable isl29028 proximity sensor.

bug 946330

Change-Id: I7a5d9f1defbb1de5f02fe851f7a24cd70d49d47b
Signed-off-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-on: http://git-master/r/87897
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R66b272563625e624664535d0ef79188c3388dbe6

7 years agoARM: tegra3: cardhu: Enable TPS65910 configs
Laxman Dewangan [Wed, 14 Mar 2012 11:35:15 +0000]
ARM: tegra3: cardhu: Enable TPS65910 configs

In order to use the mainline tps65910 driver for PMIC and
getting rid of NV's tps6591x driver, enabling config
variable for TPS65910 mfd and regulator driver.

bug 927501

Change-Id: I0dc30b248f648d554024adfdf7beb2dc3db7e844
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/90049
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Re1c20cf881d15a124362c3a28cccbc4497f8effc

7 years agoarm: tegra: configs: Enable LTR558 ALS
Sachin Nikam [Wed, 14 Mar 2012 08:16:57 +0000]
arm: tegra: configs: Enable LTR558 ALS

Enable CONFIG_SENSORS_LTR558 for Ambient Light and Proximity Sensor.

Bug 901133

Change-Id: I66245046add9ada58064490fa154c9b2190e15b9
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/89994
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R0f63fe8be34c734cb4f9ed6d9e6e9abbfee88e2e

7 years agoarm: config: tegra3: enable wl12xx gps char driver
Rakesh Goyal [Wed, 14 Mar 2012 16:08:19 +0000]
arm: config: tegra3: enable wl12xx gps char driver

Bug 933797

Change-Id: I13c066f9902af43e1958a445dcb2b8e710b6e644
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/90117
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R0c1e54f6d39b377c6c66da1ab30a0711c1d60b84

7 years agonet: wireless: bcmdhd: disable WLC_E_TXFAIL event.
Narayan Reddy [Wed, 14 Mar 2012 13:28:18 +0000]
net: wireless: bcmdhd: disable WLC_E_TXFAIL event.

In suspend mode WLC_E_TXFAIL event is causing autowake
when the device is connected to an AP,so discarding the
WLC_E_TXFAIL event initialization as per BRCM team suggestion.

Bug 880970
Bug 941420

Change-Id: I5db727004873a77b8b264e7dde2525e678519c54
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/90074
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R0e050d5bf23969885b4652556f150d50b990263c

7 years agoARM: tegra: defconfig: disable kernel debug features
Shridhar Rasal [Wed, 14 Mar 2012 12:51:55 +0000]
ARM: tegra: defconfig: disable kernel debug features

Following debug features are disabled:

- DETECT_HUNG_TASK
- DEBUG_SLAB
- DEBUG_MUTEXES
- DEBUG_SG

This helps in CPU performance boost. Most of these were already
disabled for tegra3.

Reviewed-on: http://git-master/r/76534
(cherry picked from commit 3ba53a37cfc02b44fe12db03a786b59b82152efd)

Change-Id: Ia1725b9f86d2d3132ecc77b826c70364cc9bca01
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/90065
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R768cc89aec3315df19d018024e9ab116bc65d7f4

7 years agoARM: kernel: flush console and disable irqs before machine_shutdown
Tom Cherry [Tue, 13 Mar 2012 22:31:08 +0000]
ARM: kernel: flush console and disable irqs before machine_shutdown

Bug 952455

Change-Id: I7400b519eccb274c1b5251032696e10e16ee1c42
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/89876
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R9c44a6e760f12ba62443aa9f7ce7851e9e3d8b75

7 years agoARM: tegra: use common console flush on reboot
Tom Cherry [Tue, 13 Mar 2012 22:23:20 +0000]
ARM: tegra: use common console flush on reboot

Bug 952455

Change-Id: I5272bdf2fc726994f3a22fd42671bb807bc30a21
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/89875
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R3d9f6a3f571ba7c8b5beb04cc13a13affdd321c8

7 years agoarm: tegra: kai: add ti_bluesleep support
Rakesh Goyal [Sat, 10 Mar 2012 02:39:57 +0000]
arm: tegra: kai: add ti_bluesleep support

Add ti_bluesleep support
Remove plat_kim_suspend and plat_kim_resume
Remove return from functions with void return type

Bug 933054
Bug 931931

Change-Id: I847e39de7444fe62ecd91f5e039f7b85ca64f1cf
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/89284
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R3af4e4ef2dfa90bc9188b3151c128ab34c57ed86

7 years agoarm: config: tegra: enable BT_TIBLUESLEEP
Rakesh Goyal [Sat, 10 Mar 2012 02:22:06 +0000]
arm: config: tegra: enable BT_TIBLUESLEEP

Bug 933054
Bug 931931

Change-Id: I3875000a1b109e3180d8f7481efc9b3083358bd8
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/89281
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R3775da5a6c5d635cf6bc371f7a8b988ebea53baf

7 years agomisc: bluetooth: clean ti_bluesleep patch
Rakesh Goyal [Sat, 10 Mar 2012 01:33:17 +0000]
misc: bluetooth: clean ti_bluesleep patch

Remove dead code
Remove whitespace
Remove platform callback function and add wake_lock/wake_unlock
Fix compilation warnings

Bug 933054
Bug 931931

Change-Id: I5b0947ad2053f9e0437ffe89879df2c84786ec9c
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/89274
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R0ea57bfc7ac918101ce980c1a41c94e3962d459a

7 years agocpufreq: Add a knob to treat IO wait as busy
satya popuri [Fri, 9 Mar 2012 18:57:31 +0000]
cpufreq: Add a knob to treat IO wait as busy

The new sysfs node io_is_busy enables the interactive governor to
account any time spent by the CPU waiting for IO as non-idle time.
This helps us improve run-time of IO bound tasks by making up for
lost IO time in speeding up the CPU bound parts of the task.

Reviewed on http://git-master/r/#change,86894
cherry picked from 13a15aadc1134b5dae05cdcf9687396644f87411
Signed-off-by: satya popuri <spopuri@nvidia.com>

Change-Id: I4a14ed7fef5fbce00054bb02d52d2d3e0f011f70
Reviewed-on: http://git-master/r/89218
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Tested-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R96214cc723ab448020846e68c428ed6923070eb7

7 years agocpufreq: change min_sample_time
satya popuri [Fri, 9 Mar 2012 18:41:33 +0000]
cpufreq: change min_sample_time

We prefer a min_sample_time of 30ms. This is tied to our cluster switch
and auto-hotplug artificial delays.

Signed-off-by: satya popuri <spopuri@nvidia.com>

original commit message:

cpufreq: reduce min_sample_time

Reduce the minimum amount of time the interactive governor spends at a
frequency before ramping down. This parameter (min_sample_time) was 80ms
now reduced to 30 ms based on perf and power sweep numbers.

Reviewed-on: http://git-master/r/86900 (cherry picked from commit
581f20a5b7b8c3e4ee2c211b28dbc81510af2ae7).
Signed-off-by: satya popuri <spopuri@nvidia.com>

Change-Id: I24f4cd52737950fd4e78a36b4ee34a84551e0e12
Reviewed-on: http://git-master/r/89217
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Tested-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: Re122331c596589db5c68dbf1452eb133093f91c3

7 years agoTI Wl128x support of bluesleep & Wake on BT Driver changes
Anjan Rao [Mon, 5 Mar 2012 12:41:13 +0000]
TI Wl128x support of bluesleep & Wake on BT Driver changes

Bug 933054
Bug 931931

Change-Id: Id84bcc1791114a50d26547de41daeb4774f6026b
Signed-off-by: Anjan Rao <anjan.rao@ti.com>
Reviewed-on: http://git-master/r/89136
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R8d732d2c1f761e6f1e92415d0ebfcd1f35fa0252

7 years agoarm: tegra: xmm: add usb interface check
Xin Xie [Wed, 25 Jan 2012 00:56:23 +0000]
arm: tegra: xmm: add usb interface check

BUG 928909

Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/82756
(cherry picked from commit f24375055ecba7c40c740a6b88ad03e38ea8b10c)

Change-Id: I2b3d59ea433555f595a1468cae3242b7dc54958a
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/89565
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: Rc2fc4c2339f76fc41ed43758f2db2ea65df502e6

7 years agodefconfig: tegra3: enable wext feature of bcmdhd
Mursalin Akon [Fri, 9 Mar 2012 16:33:46 +0000]
defconfig: tegra3: enable wext feature of bcmdhd

enable wext to make the bcmdhd driver integrate with
network manager

Bug 924521

Change-Id: I5cd90a72e844d024256323e936bfba072766adf0
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/89158
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Gerrit_Virtual_Submit

Rebase-Id: Ra6ecd189414504256c32f5f2cb0bb139155e16b0

7 years agowireless: bcmdhd: make wext and cfg80211 choices
Mursalin Akon [Thu, 8 Mar 2012 22:00:21 +0000]
wireless: bcmdhd: make wext and cfg80211 choices

make wext and cfg80211 integration from
bcmdhd choices

Bug 924521

Change-Id: Ie0c46159003985e4e4b29b2809fe881ce924dbee
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/88908
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Gerrit_Virtual_Submit

Rebase-Id: R4ef28f62b7f1037f53d74b8ae7be55cf2ac401f2

7 years agomisc: tegra-baseband: Add support for L2 and cleanup code.
Raj Jayaraman [Mon, 13 Feb 2012 22:12:04 +0000]
misc: tegra-baseband: Add support for L2 and cleanup code.

Bug 886459

Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
(cherry picked from commit 9032b38a76d8337ee6b9582265171ca09473a3e9)

Change-Id: Ifa5ad5bdb3a782119a2920281bc39ce5f6fd2a5a
Reviewed-on: http://git-master/r/88868
Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: R20611eb941cac59271c1a86fa51647c491fa9b1d

7 years agoARM: tegra: config: Disable MPU6050 Gyroscope driver
Preetham Chandru [Wed, 7 Mar 2012 12:32:51 +0000]
ARM: tegra: config: Disable MPU6050 Gyroscope driver

For cardhu and ventana the Gyroscope present is MPU3050 and not
MPU6050. Hence disabling MPU6050 Gyroscope driver from the defconfig.

Bug 946328
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: I5dc9133ca4f3d51832eeeab26c7b76ee55302a0a
Reviewed-on: http://git-master/r/88314
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R9d9c1253720b7073e7417447f9a8a534a5533b46

7 years agoarm: tegra: whistler: remove duplicate code
Shridhar Rasal [Wed, 7 Mar 2012 12:41:11 +0000]
arm: tegra: whistler: remove duplicate code

Remove duplication definition of uarta and uartb console

bug 907612

Change-Id: I0f0f4d990b1d7050b0ab044f5c9059b7972497b5
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/88325
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R415eb3fb3e167b99e33402ef9be22a73e68291da

7 years agoarm: tegra: whistler: select uart debug address
Shridhar Rasal [Wed, 7 Mar 2012 10:11:11 +0000]
arm: tegra: whistler: select uart debug address

Added mechanism to select the uart debug channel base address through
variable so that board file can directly change this.

bug 907612

Reviewed-on: http://git-master/r/34494

Change-Id: I9f9dbeaf81d5b62708d01fddd6e27223dc2dd361
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/88279
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R2d5be6b2baf33a39469f07058696affe4e7f6c13

7 years agousb: gadget: android: Honor CONFIG_USB_GADGET_VBUS_DRAW
Scott Anderson [Wed, 18 Jan 2012 23:56:51 +0000]
usb: gadget: android: Honor CONFIG_USB_GADGET_VBUS_DRAW

The maximum current draw was hard coded to 500 mA.  composite.c
has code that uses CONFIG_USB_GADGET_VBUS_DRAW to set the
bMaxPower and to set whether or not the device is self-powered if
they haven't been set.  This change removes the code in android.c
to allow composite.c to set them.

(cherry picked from commit 09701e3edf03f92f4215aad83b32cd8cec7fb689 from
android.googlesource.com/common.git)

Change-Id: I9db37922e91ee86e9e5c0e14519e119e5c41ca48
Signed-off-by: Scott Anderson <saa@google.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78889
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R623f3ba0f6fcacce5658cf26b8c63fa834a90581

7 years agoarm: tegra: comms: hsic first enum issue with flight mode off
Seshendra Gadagottu [Tue, 28 Feb 2012 08:49:44 +0000]
arm: tegra: comms: hsic first enum issue with flight mode off

After flight mode on/off, EHCI phy power and modem power on sequences
not correct. For first enumeration HSIC phy should be power and then
modem needs to be powered before sending any hub events.  Also
corrected  initial state for ipc_ap_wake_state.

Bug 946027

Change-Id: I84edbebaa408fd6830adc09ebd0c67cb288a2626
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/86297
(cherry picked from commit 700c7bc52b26b370ff2449a9a9f91b22188a9aee)
Reviewed-on: http://git-master/r/88008
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R5b93195440af0ee3b968ce39e1f9598290c6f187

7 years agoarm: tegra: xmm: change irq handler to irq thread
shawn joo [Mon, 13 Feb 2012 05:30:23 +0000]
arm: tegra: xmm: change irq handler to irq thread

since irq function has printk and long context.
change the handler to irq thread for stable running.

Bug 937413

Signed-off-by: shawn joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/83350
(cherry picked from commit 1bf117669ed8b4fdb854074aef26d1a568544616)

Change-Id: Ib760e19903b7e9975a1ac7b8275537c75830764d
Reviewed-on: http://git-master/r/87633
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rcd2d5605f807db3e303c6b2f89e9b13c1d05651f

7 years agoarm: tegra: xmm: ignore same xmm_onoff value
Seongho Joo [Fri, 24 Feb 2012 10:03:11 +0000]
arm: tegra: xmm: ignore same xmm_onoff value

sysfs xmm_onoff is called from userspace.
If it is called twice with same value it could cause a problem.
if it happens, this change will ignore the case.

Bug 943018

Signed-off-by: Seongho Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/85721
(cherry picked from commit e722f73d1eed055682dbfeeedfa9c73173a7b3b6)

Change-Id: Ief96b667242a9af3df078cf62c9e9a9531b80f45
Reviewed-on: http://git-master/r/87639
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rc09adfa9264deaad75cc6709a54342d773358316

7 years agoarm: tegra: xmm: add enable_irq_wake in probe
Seongho Joo [Sat, 25 Feb 2012 09:50:43 +0000]
arm: tegra: xmm: add enable_irq_wake in probe

Add enable_irq_wake in probe to enable gpio irq wake.

Bug 928950

Signed-off-by: Seongho Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/85972
(cherry picked from commit e81069047c14a0ab9a3e1eb5588060959d550c49)

Change-Id: Ic513179670661ddc8a75d73a0afaa6264847cb1a
Reviewed-on: http://git-master/r/87644
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R1e30f2af0b7d151bb41737abf7ac026c6fcb3dbc

7 years agoARM: tegra: clock: Put Cardhu clocks to known state
Jong Kim [Thu, 1 Mar 2012 01:26:05 +0000]
ARM: tegra: clock: Put Cardhu clocks to known state

Add TEGRA_PREINIT_CLOCKS option to put host1x, disp1, and audio clocks
into known state, so that L4T Cardhu works on u-boot.

BUG 931602

Change-Id: I7c5aaff340a072fe6587822eccc89df72b2b1d79
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/86725
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rede799f17dc45b9912296099fe9f1e9b449794c7