7 years agotegra: i2c: Added high speed support
Alok Chauhan [Wed, 25 Jan 2012 03:51:29 +0000]
tegra: i2c: Added high speed support

Added i2c high speed support.

Bug 873879

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

Change-Id: I5a2c5f272485e6f7c8bb6c11d7c3b6850fdcd768
Signed-off-by: Alok Chauhan <alokc@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77741
Reviewed-by: Automatic_Commit_Validation_User

7 years agotegra: i2c: mutex-protect access to is_suspended
Alexandre Courbot [Fri, 16 Dec 2011 06:10:47 +0000]
tegra: i2c: mutex-protect access to is_suspended

Before making a transfer, is_suspended is checked to make sure the
device is alive. However this check is done without holding the lock
that the suspend and resume functions hold to change the suspend state,
creating the possibility of a race condition.

Bug 916336

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

Change-Id: I7b4e52f686b0b372f3fc8ba7c7a4e4fdcdb6ba10
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77740
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: cardhu: Fix unused variable warnings
Scott Williams [Fri, 20 Jan 2012 22:41:59 +0000]
ARM: tegra: cardhu: Fix unused variable warnings

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

Change-Id: I0134c46c5fceb1ee863f97a6b6e1aed9608b842f
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77739
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: power: Fix warnings when PM_SLEEP is not selected
Scott Williams [Fri, 20 Jan 2012 22:27:05 +0000]
ARM: tegra: power: Fix warnings when PM_SLEEP is not selected

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

Change-Id: I88939c92aa1c28f5177010ba2afd524c3a4b713d
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77738
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: enterprise: Fix unused variable warnings
Scott Williams [Fri, 20 Jan 2012 22:42:37 +0000]
ARM: tegra: enterprise: Fix unused variable warnings

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

Change-Id: Iaf9e52fd84f91ad275e1836eda5417c5bd70db02
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77737
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra: Disable pll_p_out clocks by default
Prashant Gaikwad [Mon, 23 Jan 2012 07:13:28 +0000]
arm: tegra: Disable pll_p_out clocks by default

Disable unused pll_p_out clocks until they are
needed to reduce power.

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

Change-Id: I16dba325fff48cc895ec115f3a4124a1d7228cee
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77736
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoenterprise: fix gpio regulators initialization
Alexandre Courbot [Mon, 23 Jan 2012 03:02:16 +0000]
enterprise: fix gpio regulators initialization

Move gpio regulators into their own table to avoid incorrect cast in
fixed regulator initialization function.

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

Change-Id: If98790dc843d7e1d7201a62f4977e15ae18502ca
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77735
Reviewed-by: Automatic_Commit_Validation_User

7 years agotegra3: fix pll_c frequency table
Alexandre Courbot [Tue, 24 Jan 2012 03:39:18 +0000]
tegra3: fix pll_c frequency table

tegra_pll_c_freq_table had an error in the output clock rate. This patch
fixes it so that the formula o =(i * (n / m)) holds true.

Bug 917377.

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

Change-Id: I06cb132e9ac05dac905ef2ef0437f5278cf916e5
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77734
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra: whistler: increase driver strength of dap
Nikesh Oswal [Tue, 24 Jan 2012 06:41:31 +0000]
arm: tegra: whistler: increase driver strength of dap

for low driver strength of daps we are getting noise in voice call
hence increase the drive strength of daps for voice call

Bug: 919350
Change-Id: I29dca68f339078cd80bebdb6ae46b46117e32949

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

Change-Id: I4c59379a1859938038cff175ab695808bddb0963
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77733
Reviewed-by: Automatic_Commit_Validation_User

7 years agoasoc: codecs: wm8753: allow to change the dai mode even when codec is busy
Nikesh Oswal [Tue, 24 Jan 2012 06:50:22 +0000]
asoc: codecs: wm8753: allow to change the dai mode even when codec is busy

In Voice Call when ringtone stream is opened the codec is busy and the
call mode needs to be set before closing the ringtone stream hence we
put the logic in codec driver to enable dai mode change even when codec
is busy

Bug: 919350

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

Change-Id: Iaf7176b3a7f72709140e29c2c6071ab4101ec418
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77732
Reviewed-by: Automatic_Commit_Validation_User

7 years agoasoc: tegra: wm8753: add support for voice call
Nikesh Oswal [Tue, 24 Jan 2012 06:49:32 +0000]
asoc: tegra: wm8753: add support for voice call

Bug: 919350

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

Change-Id: I95611af5e6c12e03cc22fc30c8147e3ef6852615
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77731
Reviewed-by: Automatic_Commit_Validation_User

7 years agoasoc: tegra: ap20: add functions to enable/tristate the das
Nikesh Oswal [Tue, 24 Jan 2012 06:48:04 +0000]
asoc: tegra: ap20: add functions to enable/tristate the das

Bug: 919350

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

Change-Id: Iffc597141a3a5ea528089ce06bf57a4b012eefe8
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77730
Reviewed-by: Automatic_Commit_Validation_User

7 years agovideo: tegra: host: Fix timeout syncpt incrs
Terje Bergstrom [Mon, 23 Jan 2012 12:23:45 +0000]
video: tegra: host: Fix timeout syncpt incrs

In timeout, if there were more than one submits in queue, timeout
accumulated the sync point increments incorrectly. Fix accounting
of sync point increments.

Bug 915715

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

Change-Id: I03223b1f65a4bdbae19e9c1b927451a80122bec4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77729
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: defconfig: touchscreen, Raydium SPI driver
Ali Ekici [Thu, 19 Jan 2012 23:34:36 +0000]
arm: tegra: defconfig: touchscreen, Raydium SPI driver

Enable Raydium touch touch driver which is used for
DirectTouchpurposes.

bug 832605

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

Change-Id: I633291cf5e11d66709f224292d02e211cca051fd
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77728
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agomedia: video: tegra: return next avaiable clock
Jihoon Bang [Thu, 12 Jan 2012 23:37:28 +0000]
media: video: tegra: return next avaiable clock

tegra_camera_clk_set_rate sets the clock rate which is
equal to or greater than requested clock rate. In this way,
user space code doesn't have to scan through to find next
available higher clock through system call.
Remove setting VI/ICP clock to register directly.

Bug 917641

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

Change-Id: Iecbeacecb34c6b6f71228932ba4b046658ff905d
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77727
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: tps65910: use appropriate variable names.
Laxman Dewangan [Fri, 20 Jan 2012 11:06:22 +0000]
regulator: tps65910: use appropriate variable names.

Renaming the variables "table" to "voltage_table" and
"table_len" to "n_voltages" of regulator information
to have more meaningful.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cherry picked from commit
7d38a3cb9b9f6a6d31b1d19e4f07a7c0b71407d5

Change-Id: I8ef3a7544bf432a3c6efb98d99cb660b6fefde38
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77539
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: tps65910: Initialize n_voltages for rails.
Laxman Dewangan [Wed, 18 Jan 2012 15:17:16 +0000]
regulator: tps65910: Initialize n_voltages for rails.

Initializing the number of voltages supported by different
rails of pmic device tps65911.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cherry picked from mainline's commit
51ced5e288b4381705df173fb05f561dea35bfac

Change-Id: I85ec3261125291f9862f9746ef7ec97e09fa375b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77538
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: tps65910: Add regulator info for RTC rail
Laxman Dewangan [Wed, 18 Jan 2012 15:16:56 +0000]
regulator: tps65910: Add regulator info for RTC rail

Adding missing regulator info for VRTC rail for device
tps65911. The regulator voltage rail index start from
VRTC which is defined as 0.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cherry picked from mainline's commit
c2f8efd7641b1b10b73ffa6f216a45209a5705dd

Change-Id: I7e544ea2f0b3df677ad75bbca38b744c9a6f71da
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77537
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: TPS65910: Fix VDD1/2 voltage selector count
Afzal Mohammed [Tue, 8 Nov 2011 13:24:10 +0000]
regulator: TPS65910: Fix VDD1/2 voltage selector count

Count of selector voltage is required for regulator_set_voltage
to work via set_voltage_sel. VDD1/2 currently have it as zero,
so regulator_set_voltage won't work for VDD1/2.
Update count (n_voltages) for VDD1/2.

Output Voltage = (step value * 12.5 mV + 562.5 mV) * gain

With above expr, number of voltages that can be selected is
step value count * gain count

constant for gain count will be called VDD1_2_NUM_VOLT_COARSE

existing constant for step value count is VDD1_2_NUM_VOLTS,
use VDD1_2_NUM_VOLT_FINE instead to make clear that step value
is not the only component in deciding selectable voltage count

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cherry picked from mainline's commit
780dc9ba4eb682a89be48d5b814feae6722a19e0

Change-Id: I1c246a02f1c647fe3c647b3dde2a0633c2783764
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77536
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: TPS65910: Create an array for init data
Kyle Manna [Thu, 3 Nov 2011 17:08:06 +0000]
regulator: TPS65910: Create an array for init data

Create an array of fixed size for the platform to pass regulator
initalization data through.

Passing an array of pointers to init data also allows more flexible
definition of init data as well as prevents reading past the end of the
array should the platform define an incorrectly sized array.

Signed-off-by: Kyle Manna <kyle.manna@fuel7.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
cherry picked from mainline's commit
 c1fc1480249dfe059254779a4bb7ca27cf5f8038

Change-Id: Ia298bbd2828e644d24e10ab67ff76f1169cf7f51
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77535
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: TPS65910: Move regulator defs to header
Kyle Manna [Thu, 3 Nov 2011 17:08:05 +0000]
regulator: TPS65910: Move regulator defs to header

Move the regulator defintions to the header so that platform board file
can use them to configure specific regulators.

Signed-off-by: Kyle Manna <kyle.manna@fuel7.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Cherry picked from mainline's commit:
72c108cc4947db2fcdd3f3e8a2b60bd65e74a1cc

Change-Id: I7659c33cab6f20c91dc4bf36e1c157e1878993ab
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77534
Reviewed-by: Automatic_Commit_Validation_User

7 years agomfd: Make TPS65910 usable without interrupts
Afzal Mohammed [Wed, 14 Dec 2011 10:35:35 +0000]
mfd: Make TPS65910 usable without interrupts

TPS65910 can be used without interrupts.
Hence let probe succeed in case interrupt can't be
configured and let Kernel only to complain about it

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
cherry picked from mainline's commit
1e351a95b6fda20e16b64a698bae505765080308

Change-Id: Ib619d906f0cc9668c08e156d85eb940f29945771
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77529
Reviewed-by: Automatic_Commit_Validation_User

7 years agomfd: Handle tps65910 clear-mask correctly
Marcus Folkesson [Tue, 22 Nov 2011 13:39:51 +0000]
mfd: Handle tps65910 clear-mask correctly

The function is not actually cleaing the bitmask.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
cherry picked from mainline's commit:
8f6a459a9daa6ce76d7c192f2cb3047fffb45ec8

Change-Id: I53d59ba72ecca513ef4b1ad265d578e493007660
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77528
Reviewed-by: Automatic_Commit_Validation_User

7 years agoiommu/tegra: gart: Disabled as default in Kconfig
Hiroshi DOYU [Thu, 26 Jan 2012 06:56:40 +0000]
iommu/tegra: gart: Disabled as default in Kconfig

CONFIG_TEGRA_IOMMU_GART has to be selected explicitly because there's
2 IOMMU framewrok existing in Tegra, CONFIG_TEGRA_IOVMM_{GART,SMMU}
and CONFIG_TEGRA_IOMMU_{GART,SMMU}.

Change-Id: I6f1a0ad8e321c5ad5378baa6bc4a9bcecad9d4d2
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/77513
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoregulator: tps62360: Remove extra argument in regulator_register
Laxman Dewangan [Wed, 25 Jan 2012 14:13:27 +0000]
regulator: tps62360: Remove extra argument in regulator_register

As this dirver is back ported from kernel mainline, the function
regulator_register() have one extra argument.
Removing this extra argument.

Change-Id: I615f995184e4908c399b9ccc91e090e49f10aec3

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Change-Id: I999307c90092c3cc816952c948e04c170fc4303d
Reviewed-on: http://git-master/r/77343
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: TPS62360: Add tps62360 regulator driver
Laxman Dewangan [Mon, 9 Jan 2012 14:57:41 +0000]
regulator: TPS62360: Add tps62360 regulator driver

The regulator module consists of 1 DCDC. The output voltage
is configurable and is meant for supply power to the core
voltage of Soc.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Cherrypick from Mainline commit
6219929f5f82708309b3054ec7db6cb6e3ee47d5

Change-Id: Idfdbf06f7d01e0faaabcb658311a9aa5324ddc68
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/77341
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: whistler: Increase Carveout Memory to 160M
Vaibhav Gorde [Mon, 12 Dec 2011 16:34:48 +0000]
arm: tegra: whistler: Increase Carveout Memory to 160M

Limited carveout memory gives Out of Memory errors for
1080p camera preview. Even when camera app runs 640x480
preview carveout memory almost all of carveout memory
(127/128) gets used.

bug 907782
bug 911767

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

Change-Id: I993d656910a1853f22719411553dbec3edb9f53f
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77311
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: Tegra: clock: Add PERIPH_ON_APB flag to HDA clocks
Sumit Bhattacharya [Wed, 18 Jan 2012 08:50:43 +0000]
ARM: Tegra: clock: Add PERIPH_ON_APB flag to HDA clocks

Bug 896827

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

Change-Id: Id37fe5557f6d7993f6df424d0a8d027acb6bd1b4
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77310
Reviewed-by: Automatic_Commit_Validation_User

7 years agousbnet: Fix 'FLAG_RMNET' and 'FLAG_MULTI_PACKET' overlap.
Raj Jayaraman [Fri, 20 Jan 2012 19:07:23 +0000]
usbnet: Fix 'FLAG_RMNET' and 'FLAG_MULTI_PACKET' overlap.

Bug 901367

Change-Id: I73fe7c19f5f50530f7d0a73d0a6b9ba2092c71d2

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

Reviewed-by: Steve Lin <stlin@nvidia.com>
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I309eb6178a7f39714f9e5f963faf011a1a79b079
Reviewed-on: http://git-master/r/77309
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: pci: fix section mismatch warnings.
Venu Byravarasu [Fri, 20 Jan 2012 08:55:53 +0000]
arm: tegra: pci: fix section mismatch warnings.

Section mismatch warning messages were due to declaring tegra_pcie_hw using
 __initdata & tegra_pcie_scan_bus using __init.
Hence removed them.

bug 929358

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

Change-Id: I1894c1c360e0fc0f3da18bbe840e88afa4de6ffc
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77308
Reviewed-by: Automatic_Commit_Validation_User

7 years agomedia:video:tegra: Fix ov2710 stress test timeout issue
Frank Chen [Thu, 19 Jan 2012 03:37:00 +0000]
media:video:tegra: Fix ov2710 stress test timeout issue

Put sensor to software standby mode before updating
registers. This helps to sync sensor internal timing.

Bug 914391

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

Change-Id: I4ee0d918a0c792e0b40c14c9530002d3672be0f8
Signed-off-by: Frank Chen <frankc@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77307
Reviewed-by: Automatic_Commit_Validation_User

7 years agovideo: tegra: dsi: Refine the DSI clock calculation.
Kevin Huang [Wed, 18 Jan 2012 00:28:55 +0000]
video: tegra: dsi: Refine the DSI clock calculation.

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

Change-Id: I6e5b37a88d6be4ba2cc81417fe3eadfd129bc899
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77306
Reviewed-by: Automatic_Commit_Validation_User

7 years agoRevert "ASoC: Tegra: Acquire wake_lock during playback capture"
Sumit Bhattacharya [Fri, 20 Jan 2012 05:42:24 +0000]
Revert "ASoC: Tegra: Acquire wake_lock during playback capture"

This reverts commit 78d27b4b610fbe7d77e3cf43a3b82e15cf879d37.

Bug 916409

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

Change-Id: I4288dc4d90b393dd8dbefd7e997b9bfceb49d564
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77305
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: power: disable all sd dpd
Bitan Biswas [Thu, 19 Jan 2012 18:48:09 +0000]
arm: tegra: power: disable all sd dpd

Disabled dpd support for all SD instances - SDMMC0, SDMMC2 and SDMMC3

bug 924452

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

Change-Id: Id8967ccb79fc87fcb249c2a2085cd9d68e1ffcb8
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77304
Reviewed-by: Automatic_Commit_Validation_User

7 years agosdhci: Add option for non std freq tuning
Pavan Kunapuli [Fri, 13 Jan 2012 09:57:24 +0000]
sdhci: Add option for non std freq tuning

Adding option for non std freq tuning for
host controllers that have deviation in the
tuning procedure.

Bug 920089

Change-Id: I8ca6962c6f0380c1160460e5094c47aee241d6e3

Reviewed-on: http://git-master/r/72603
Reviewed-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I97cceb39fd27b159823ebce6706c5e74e53deccd
Reviewed-on: http://git-master/r/77303
Reviewed-by: Automatic_Commit_Validation_User

7 years agoASoC: tegra: add max98095 audio codec support
Ravindra Lokhande [Wed, 18 Jan 2012 14:58:49 +0000]
ASoC: tegra: add max98095 audio codec support

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

Change-Id: Iddc1a4ab042aaab00d7959f957b66fc879c76ccc
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77302
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: kai: fix kernel boot failure
Chandler Zhang [Thu, 19 Jan 2012 14:46:08 +0000]
arm: tegra: kai: fix kernel boot failure

regulator vdd_vbus_micro_usb is not yet defined.
remove it to fix kernel boot failure

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

Change-Id: If2efc8efab70fcc130f9303ac6a04428c8e4489b
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77301
Reviewed-by: Automatic_Commit_Validation_User

7 years agoscheduler: domain: init next_balance in nohz_idle_balancer with jiffies
Diwakar Tundlam [Thu, 19 Jan 2012 02:58:57 +0000]
scheduler: domain: init next_balance in nohz_idle_balancer with jiffies

Bug 878165

The next_balance parameter of nohz_idle_balancer should be initialized
to jiffies since jiffies itself is initialized to 300 seconds shy of
overflow. Otherwise, nohz_idle_balancer does not run for the first 5
mins after bootup.

Change-Id: I18334451f394ead8ddad3b94d725635a31e0173b
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77300
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: kai: Add DVFS table for Hynix DDR3
Johnny Qiu [Wed, 11 Jan 2012 23:20:47 +0000]
arm: tegra: kai: Add DVFS table for Hynix DDR3

Bug 913259

Change-Id: Id337b7d9c24ee226e3de5f38dc495e03084a4ba0
Reviewed-on: http://git-master/r/74830
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77299
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: kai: Fill power rails details
Johnny Qiu [Thu, 12 Jan 2012 01:29:34 +0000]
arm: tegra: kai: Fill power rails details

Register PMU MAX77663 and provide detailed power rails information.

Change-Id: I28051b621b72c88519c57ba2485fa7cdb4e76c70

Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: Icace4430f24c7e3ac62ed2ac359ace707cd11209
Reviewed-on: http://git-master/r/77298
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: config: tegra3_android: Add Kai
Johnny Qiu [Wed, 11 Jan 2012 04:44:11 +0000]
arm: config: tegra3_android: Add Kai

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

Change-Id: Icc6316ddddd1e6a7e9634a6539ae48cbbcd87607
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77297
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: kai: create board files
Johnny Qiu [Tue, 10 Jan 2012 20:40:05 +0000]
arm: tegra: kai: create board files

Create initial board files and config files for Kai.

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

Change-Id: I4b07607da85fe4bcb00e5fce2ddbc2a83471b1de
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77296
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: clock: Auto-detect PLLP rate in clock init
Alex Frid [Fri, 13 Jan 2012 04:27:55 +0000]
ARM: tegra: clock: Auto-detect PLLP rate in clock init

Tegra3 platform may boot with one of the predefined fixed PLLP
(peripheral PLL) output rates: 216MHz, 408MHz, or 204MHz. This
commit implements auto-detection of PLLP rate, as well as CPU,
and system bus PLLP dependencies configuration during clock tree
initialization.

Bug 928260

Change-Id: I65ea4db2e5cfe96f13566c93e882a3be9deaa129
Reviewed-on: http://git-master/r/75850
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77295
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: clock: Auto-detect PLLP rate in uart init
Alex Frid [Fri, 13 Jan 2012 01:39:04 +0000]
ARM: tegra: clock: Auto-detect PLLP rate in uart init

Tegra3 platform may boot with one of the predefined fixed PLLP
(peripheral PLL) output rates: 216MHz, 408MHz, or 204MHz. This
commit implements auto-detection of PLLP rate, and debug uart
configuration during kernel uart initialization.

Bug 928260

Change-Id: I3fac4c462f28ac3dc1c72c0cc0f8f87fa0a809c4
Reviewed-on: http://git-master/r/75849
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77294
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: clock: Auto-detect PLLP rate in kernel uncompress
Alex Frid [Sun, 15 Jan 2012 01:48:15 +0000]
ARM: tegra: clock: Auto-detect PLLP rate in kernel uncompress

Tegra3 platform may boot with one of the predefined fixed PLLP
(peripheral PLL) output rates: 216MHz, 408MHz, or 204MHz. This
commit implements auto-detection of PLLP rate, and debug uart
configuration during kernel uncompressing.

Bug 928260

Change-Id: I435c228691191434a10847fdbccef048a8d507c7
Reviewed-on: http://git-master/r/75848
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77293
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: ventana: remove unused gpio CAM3_LDO_SHUTDN_L_GPIO
Pritesh Raithatha [Tue, 24 Jan 2012 12:04:19 +0000]
arm: tegra: ventana: remove unused gpio CAM3_LDO_SHUTDN_L_GPIO

remove CAM3_LDO_SHUTDN_L_GPIO as it is not connected.

Bug 925547

Change-Id: Ide685bd5ee4773e5b3f3cbaf1c938de57c621764
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/76996
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

7 years agoarm: config: tegra: Turn off PCI VGA arbitration
Preetham Chandru [Tue, 24 Jan 2012 07:53:57 +0000]
arm: config: tegra: Turn off PCI VGA arbitration

Not used in tegra. With it, the driver continously
spews on console.

Bug: 930042
Change-Id: I6394c1ee1de19bc114006f064d12b987b499d8a6
Reviewed-on: http://git-master/r/#change,61354,patchset=2
 (cherry picked from commit 838d4ba231e5bd550114f89cf92c75391416df3b)
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/76969
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoHACK: gpu: ion: tegra: Implement nvmap_alloc_iovm.
Krishna Reddy [Mon, 23 Jan 2012 07:38:03 +0000]
HACK: gpu: ion: tegra: Implement nvmap_alloc_iovm.

Change-Id: Ida720a6b27f2df11e6381dc0eb5306df3b768f22
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/76785
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

7 years agoHACK: gpu: ion: Add api to remap dma address.
Krishna Reddy [Mon, 23 Jan 2012 07:28:22 +0000]
HACK: gpu: ion: Add api to remap dma address.

Change-Id: Ib68612c6a1e003938fa6df009df85e9cb4599b11
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/76784
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

7 years agoHACK: gpu: ion: Add support to remap dma address.
Krishna Reddy [Mon, 23 Jan 2012 07:21:39 +0000]
HACK: gpu: ion: Add support to remap dma address.

Change-Id: Ica835fad10677ce61d812e00bb489034a8b06a36
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/76783
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

7 years agogenalloc: Fix build error.
Krishna Reddy [Mon, 23 Jan 2012 02:17:30 +0000]
genalloc: Fix build error.

Fix build error caused by missing arg.

Change-Id: I5ab0efed314db320aaa70a3acb406f37b17b183a
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/76759
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoMerge remote-tracking branch 'origin/dev/vwadekar/korg-k3.1-merge' into promotion_build
Rohan Somvanshi [Wed, 25 Jan 2012 13:22:34 +0000]
Merge remote-tracking branch 'origin/dev/vwadekar/korg-k3.1-merge' into promotion_build

7 years agousb: host: tegra: avoid disabling clock while in use
Sang-Hun Lee [Mon, 16 Jan 2012 09:29:45 +0000]
usb: host: tegra: avoid disabling clock while in use

Problem description:
 - ehci is accessed while holding a different lock from the bus
   disable logic, such as tegra_ehci_shutdown and
   tegra_ehci_bus_suspend
 - the access to disabled clock happens in tegra_ehci_irq and
   tegra_ehci_hub_control

Fix description:
 - tegra_ehci_hub_control: Acquire tegra_ehci_hcd_mutex for the
   duration of tegra_ehci_hub_control to ensure tegra_ehci_shutdown
   or tegra_ehci_bus_suspend does not disable the clock while ehci is
   being used
 - tegra_ehci_irq: Disable the interrupt and wait for interrupt
   handlers to finish when the clock is about to be disabled

Bug 923414

Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/75534
(cherry picked from commit 4a9ec3021a7515a82fa1511e92113ac22afcd17a)

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

Change-Id: I758921f441f2b5af71f57ce08dfd6786621b5cbf
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76824
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>

7 years agohwmon: tsensor: Only enable one sensor
Joshua Primero [Wed, 18 Jan 2012 20:45:32 +0000]
hwmon: tsensor: Only enable one sensor

Only enable one sensor at a time to save power.

bug 928188

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

Change-Id: I1d3c21783cbe579568ff9e9ef3ce2e48220e7edb
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76823
Reviewed-by: Automatic_Commit_Validation_User

7 years agotegra: usb: host: Fix remote wakeup issues on UTMI
Venkat Moganty [Thu, 19 Jan 2012 06:04:22 +0000]
tegra: usb: host: Fix remote wakeup issues on UTMI

Add WAR to fix 2LS voilation during usb remote resume.

Bug 880538

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

Change-Id: I552c9e657776f67c263ef750a7786c796dc785cb
Signed-off-by: Venkat Moganty <vmoganty@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76822
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: usb: cdc: Modifed USB buffer logic for autopm issue
Seshendra Gadagottu [Tue, 3 Jan 2012 07:16:16 +0000]
arm: usb: cdc: Modifed USB buffer logic for autopm issue

Modifed usb buffer anchor mechanism to process pending
urb requests. cdc-acm has buffer mechanism to buffer
first pending request. This mechanism is replaced with
new anchor mechanism which can buffer any number of requests.

BUG 919145

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

Change-Id: Ibcedc92457013bd616b194e9ea3ce73e69fcdde6
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
Signed-off-by: Seshendra Gadagottu<sgadagottu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76821
Reviewed-by: Automatic_Commit_Validation_User

7 years agoinput: touch: rm31080a: DirectTouch Raydium driver
Ali Ekici [Tue, 10 Jan 2012 23:58:28 +0000]
input: touch: rm31080a: DirectTouch Raydium driver

Raydium is responsible from pushing this driver
to kernel.org. This driver contains two distinct
drivers, one communicates with Touch IC using SPI
and pushes raw touch data received to a file system,
another driver who is a misc driver receives
processed touch data and initiates touch
input_abs_report touch commands which can only be
issued by a driver.

Changed misc_deregister call from rm31080_spi_exit to
rm31080_spi_remove

Bug 832605

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

Change-Id: I8f361130bfe3236cf88ab4348c3d578c84c63ba7
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Signed-off-by: Ali Ekici <aekici@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76820
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: tsensor: Remove tsensor init
Joshua Primero [Wed, 18 Jan 2012 01:03:48 +0000]
arm: tegra: tsensor: Remove tsensor init

Removed tsensor initialization if external tdiode is
being used for temperature measurements.

bug 928188

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

Change-Id: Ifcfd5b4c2b094dcd4fb5386708b332f2a76c272c
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76819
Reviewed-by: Automatic_Commit_Validation_User

7 years agovideo: tegra: dc: Add dc backup clock source support
Alex Frid [Fri, 13 Jan 2012 06:57:29 +0000]
video: tegra: dc: Add dc backup clock source support

Add backup clock source option in dc platform configuration. Use
backup source if fixed frequency pllp is specified as main source,
but its rate can not be divided into pixel clock within required
tolerance.

928260

Change-Id: I19bd9173276c6ea087f86361956809787875e979
Reviewed-on: http://git-master/r/76033
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76818
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: la: Fix the register offset for G2_1
Krishna Reddy [Wed, 18 Jan 2012 23:47:45 +0000]
arm: tegra: la: Fix the register offset for G2_1

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

Change-Id: I8eb5148399cc8a08c2f37f20927b655f3e909241
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76817
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: cardhu: Specify PLLD2 as backup clock source
Alex Frid [Sun, 15 Jan 2012 06:54:23 +0000]
ARM: tegra: cardhu: Specify PLLD2 as backup clock source

Since not all possible PLLP output rates (216MHz, 408MHz or 204MHz)
can provide accurate enough pixel clock rate for cardhu panel, use
PLLD2 as backup clock source.

Bug 928260

Change-Id: I767e621606e849cb7d1976fbed198b9427660544
Reviewed-on: http://git-master/r/76034
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76816
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: host: Access nvhost_master via drvdata
Terje Bergstrom [Mon, 2 Jan 2012 09:14:26 +0000]
video: tegra: host: Access nvhost_master via drvdata

Use standard drvdata interface for storing and accessing nvhost_master.

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

Change-Id: I191987c8f6d313a6ede9b59f723269cb6a197e8a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76815
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: clock: Fix Tegra3 clock locking
Alex Frid [Thu, 19 Jan 2012 05:11:14 +0000]
ARM: tegra: clock: Fix Tegra3 clock locking

Added locking for non-atomic access to shared registers for the
following clocks:
- secondary PLL dividers
- audio doublers
- cml (sata/pcie) clock controls

Added locking for peripheral clocks secondary reference counting
(register access is atomic, but some clocks may share an enable bit).

Updated comments for external output clocks (shared access already
protected).

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

Change-Id: If656bf13d966bf4590d55c5509860110efea937b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76814
Reviewed-by: Automatic_Commit_Validation_User

7 years agovideo: tegra: dc: enable emc clock on probe
Nitin Kumbhar [Thu, 19 Jan 2012 10:39:06 +0000]
video: tegra: dc: enable emc clock on probe

When dc->emc_clk_rate goes from 0 to non-zero the dispX.emc clock is
enabled. This works with the sequence for probe and hotplug to have emc
clock in the correct enable/disable state.

Bug 927785
Bug 917769

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

Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>

Change-Id: I53cc8c5091967ce021dd3ec1e2bc75405dc8c45c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76813
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: config: Build camera drivers as modules
Preetham Chandru [Mon, 23 Jan 2012 07:59:57 +0000]
ARM: tegra: config: Build camera drivers as modules

Modify kernel config flags in tegra3_defconfig and
tegra_defconfig to build the camera drivers as modules.

Bug: 928498
Change-Id: I516618c25e5790dc270a97579a9852c442821eaf
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/76787
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agomedia: video: tegra: Add GPL license to torch and focuser
Preetham Chandru [Thu, 19 Jan 2012 07:54:45 +0000]
media: video: tegra: Add GPL license to torch and focuser

sh532u focuser driver, ssl3250a torch driver and tps61050 torch driver
make references to kernel functions which are GPL-only symbols.
L4T requires that these drivers be built as modules and
without making it GPL compatible, the module fails to get loaded.
Hence GPL license is added.

Bug: 928498
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/76172
(cherry picked from commit 148d4d99066f904141c85a0fad36483bc1570d02)

Change-Id: I11ab4b20bab504cb11b04a6e7746e0bae02d9fbf
Reviewed-on: http://git-master/r/76786
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amit Pandya <apandya@nvidia.com>
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoarm: config: tegra: Enable NCT1008
Wei Ni [Wed, 18 Jan 2012 10:08:54 +0000]
arm: config: tegra: Enable NCT1008

Enable CONFIG_SENSORS_NCT1008

Change-Id: I855e68dc30f73ea0e2c7f1c0b1cfbb11a1f8b0e9
Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-on: http://git-master/r/75903
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoMerge branch 'linux-3.1.y' into android-tegra-nv-3.1
Varun Wadekar [Tue, 24 Jan 2012 11:22:10 +0000]
Merge branch 'linux-3.1.y' into android-tegra-nv-3.1

Linux 3.1.10

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

7 years agoARM: IOMMU: Tegra20: Add iommu_ops for GART driver
Hiroshi DOYU [Wed, 16 Nov 2011 15:36:37 +0000]
ARM: IOMMU: Tegra20: Add iommu_ops for GART driver

Tegra 20 IOMMU H/W, GART (Graphics Address Relocation Table). This
patch implements struct iommu_ops for GART for the upper IOMMU API.

This H/W module supports only single virtual address space(domain),
and manages a single level 1-to-1 mapping H/W translation page table.

Change-Id: I2f550bf0e14d9f994abdde79b835ddfe815faa5a
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75945
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agogpu: ion: Remove unnecessary error handling
Hiroshi DOYU [Mon, 16 Jan 2012 09:00:20 +0000]
gpu: ion: Remove unnecessary error handling

Ion core takes care of the case failing allocaion. Remove unnecessary
code and obsolete comment.

Change-Id: I0a27f6697beb1b3e802275eb01bfdc4fc0ae3ae2
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75533
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agogpu: ion: Replace vmalloc() with vzalloc()
Hiroshi DOYU [Mon, 16 Jan 2012 08:57:46 +0000]
gpu: ion: Replace vmalloc() with vzalloc()

Use vzalloc() instead of vmalloc() + memset(,0,).

Change-Id: I24a10114a325bf94c4cb0131eaf3dcd2f901e023
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75532
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agogpu: ion: Remove residual empty line
Hiroshi DOYU [Mon, 16 Jan 2012 08:56:38 +0000]
gpu: ion: Remove residual empty line

Remove unnecessary empty line.

Change-Id: I475b711205d58ac220199b9875840c5300cef81c
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75531
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agogpu: ion: Fix incorrect BUG_ON()
Hiroshi DOYU [Mon, 16 Jan 2012 08:55:08 +0000]
gpu: ion: Fix incorrect BUG_ON()

ALIGN() -> IS_ALIGN().

Change-Id: I4451142932c5b33e83a8296c654226c41db73611
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75530
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agogpu: ion: Add one empty line for readability
Hiroshi DOYU [Mon, 16 Jan 2012 08:52:45 +0000]
gpu: ion: Add one empty line for readability

For readability.

Change-Id: I3f197e584f81b748c04d4eb7711bb4082492c441
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75529
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agogpu: ion: Remove unnecessary header inclusions
Hiroshi DOYU [Mon, 16 Jan 2012 08:29:05 +0000]
gpu: ion: Remove unnecessary header inclusions

This should be independent of any SoCs. Remove tegra specific header
inclusion and other unnecessary ones too.

Change-Id: I2fcc7481b535f7c9348d36a1974e2b8b8883046d
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75528
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoarm: tegra: cardhu: Fix build error for ion_platform_data
Hiroshi DOYU [Fri, 13 Jan 2012 14:17:29 +0000]
arm: tegra: cardhu: Fix build error for ion_platform_data

Because of incorrect struct member name. This is the left over from
the previous commit.

Change-Id: Ia4a824761bce69ad8f740ed7525c58affca7d1fb
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75281
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoARM: tegra: usb: check for valid phy clock
Krishna Yarlagadda [Fri, 18 Nov 2011 09:32:17 +0000]
ARM: tegra: usb: check for valid phy clock

Check for valid clock after setting up phy
in UTMIP reset

Bug 853708
Bug 886080

(reviewed on http://git-master/r/51555)
(cherry picked from commit 25b340b64ca27971f6d2d555299a749f0394e77e)

Change-Id: I98c79fb1e8961b9af19f3001fe6fbde2b28509a0
Reviewed-on: http://git-master/r/75502
Reviewed-by: Simone Willett <swillett@nvidia.com>
Signed-off-by: Ken Chang <kenc@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76468
Reviewed-by: Automatic_Commit_Validation_User

7 years agoASoC: WM8903: Use 2x of miniumum bitclk in master mode
Sumit Bhattacharya [Tue, 17 Jan 2012 13:56:18 +0000]
ASoC: WM8903: Use 2x of miniumum bitclk in master mode

Instead of using tight bitclk use 2x of minimum bitclk requirement
in codec master mode. This change is needed to have clean audio
in codec master mode on Tegra30 based cardhu platform.

Bug 915107

Change-Id: Ia59e1a906415ad8fd1ed324ab4dabef61746b62f
Reviewed-on: http://git-master/r/75706
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76467
Reviewed-by: Automatic_Commit_Validation_User

7 years agoALSA: HDA: Fix MODPOST errors
Sumit Bhattacharya [Tue, 17 Jan 2012 12:48:57 +0000]
ALSA: HDA: Fix MODPOST errors

Bug 923312

Change-Id: I7c68f261989d2ca1ef7b273b7d41a519bc91c868
Reviewed-on: http://git-master/r/75700
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76466
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: cardhu: Use fixed regulator
Laxman Dewangan [Wed, 11 Jan 2012 10:25:27 +0000]
arm: tegra: cardhu: Use fixed regulator

Using fixed regulator in place of gpio-switch regulator.
Fixed regulator is very similar to gpio-switch regulator
and it is available by default in linux kernel.

gpio-switch-regulator will be used only for the open
collector load switches.

bug 923713

Change-Id: I42480cb314135d475b4d4b56bb5e8e73eba2f77e
Reviewed-on: http://git-master/r/74536
Reviewed-by: Simone Willett <swillett@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76465
Reviewed-by: Automatic_Commit_Validation_User

7 years agotegra: usb: phy: support for minus calib offset
Ken Chang [Mon, 17 Oct 2011 05:26:15 +0000]
tegra: usb: phy: support for minus calib offset

need to support negative values for usb calibration.
change xcvr_setup_offset from unsigned to signed.

bug 872648

(cherry picked from commit 06258b46589436b5579c8265405b1cb286c406aa)
(reviewed on http://git-master/r/66101)

Change-Id: I1ab6a63184fe48bc734152546a541085ac7c6efc
Reviewed-on: http://git-master/r/74503
Reviewed-by: Simone Willett <swillett@nvidia.com>
Signed-off-by: Ken Chang <kenc@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76464
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: clock: Add Tegra3 0.95V core voltage step
Alex Frid [Tue, 10 Jan 2012 03:46:25 +0000]
ARM: tegra: clock: Add Tegra3 0.95V core voltage step

- Expanded Tegra3 DVFS tables with 0.95V core voltage step
- Updated cbus minimum rate calculation, since cbus can not
  run at 0.95V
- Updated PLLM dvfs initialization, since PLLM can no longer
  be voltage independent, even when its usage is restricted.

Bug 817679
Bug 841336

Change-Id: I4973dc19d351ce237f2b249ebf75a79abf3afef4
Reviewed-on: http://git-master/r/74141
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76463
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: Fix possible nullpointer dereference in regulator_enable()
Heiko Stübner [Fri, 14 Oct 2011 16:00:29 +0000]
regulator: Fix possible nullpointer dereference in regulator_enable()

In the case where _regulator_enable returns an error it was not checked
if a supplying regulator exists before trying to disable it, leading
to a null pointer-dereference if no supplying regulator existed.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cherry-pick from main stream:
 commit d1685e4e2c3854782272f32b71f2f3eff5c6e0d0

Change-Id: Ie4d8db9184a65e6a98964259299bfc7daa0f4048
Reviewed-on: http://git-master/r/75908
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76462
Reviewed-by: Automatic_Commit_Validation_User

7 years agoDTV: dma: fixed dma burst size issue DTV xmit
Adam Jiang [Fri, 13 Jan 2012 16:16:02 +0000]
DTV: dma: fixed dma burst size issue DTV xmit

Since dtv interface was designed based on SPI bus, it shares the same
dma configuration with SPI bus. However, it is not proper because DTV
interface has to transmit data in 4 words long constantly. The patch
added an option in tegra_dma_req to set burst size to be fixed 4 words.

fixed Bug 910227

Change-Id: I1436f0c8d108dd39edc57ae4c9cb750d9574b62c
Reviewed-on: http://git-master/r/75509
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76461
Reviewed-by: Automatic_Commit_Validation_User

7 years agocdc_ncm: Modify NCM network interface.
BH Hsieh [Wed, 18 Jan 2012 05:10:14 +0000]
cdc_ncm: Modify NCM network interface.

Adding FLAG_RMNET to change ncm net device name
for Ericsson modem.

Bug 901367

Change-Id: I4a029cc10a02176035319ed4ac1e7b9af349cbd1
Reviewed-on: http://git-master/r/74912
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76459
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: config: tegra: Enable NCT1008
Wei Ni [Wed, 11 Jan 2012 11:20:34 +0000]
arm: config: tegra: Enable NCT1008

Enable CONFIG_NCT1008

Change-Id: I700557b8900401b8f9ab36faab5903ba0afde542
Reviewed-on: http://git-master/r/74564
Reviewed-by: Allen Martin <amartin@nvidia.com>
Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76458
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: cardhu: update elpida dqs
Ray Poudrier [Sat, 7 Jan 2012 00:59:58 +0000]
ARM: tegra: cardhu: update elpida dqs

Bug 852560

Change-Id: I335bed2bb4a35e8c740ee54829c1c2e3203d97aa
Reviewed-on: http://git-master/r/73838
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76457
Reviewed-by: Automatic_Commit_Validation_User

7 years agocrypto: tegra-aes: get hardware ownership before copying key
Varun Wadekar [Thu, 19 Jan 2012 05:45:17 +0000]
crypto: tegra-aes: get hardware ownership before copying key

Bug 917607

Change-Id: I049ca03efe7953dc6a6c03eaa4acce85e15662d1
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76154
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>

7 years agocrypto: tegra-aes: remove aes_lock usage
Varun Wadekar [Wed, 18 Jan 2012 13:45:18 +0000]
crypto: tegra-aes: remove aes_lock usage

Bug 917607

Change-Id: I6036b12456d3b5fb22f479a9e0eefd500cb6c059
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76153
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>

7 years agocrypto: tegra-aes: rng: check if bsea is busy before using it
Varun Wadekar [Mon, 12 Dec 2011 07:02:36 +0000]
crypto: tegra-aes: rng: check if bsea is busy before using it

Bug 917607

Change-Id: I7497411932b6ba8c155026f1662063e87c21eb40
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/74012
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>

7 years agousb: gadget: fsl_udc: use can_pullup function in vbus_session.
Jubeom Kim [Wed, 18 Jan 2012 13:52:43 +0000]
usb: gadget: fsl_udc: use can_pullup function in vbus_session.

Even if the value of is_active is true, vbus_session is needed to check
whether udc can do pullup or not.
If the return value of can_pullup function is false
because of udc->softconnect value, udc has to make the STOP status by pullup.

Bug 925453

Change-Id: Iaefbc44cc3b3aefa2bb8e2a42d7c042ad535b308
Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/75954
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kurt Yi <kyi@nvidia.com>
Tested-by: Kurt Yi <kyi@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agotegra: nor: always build partitioning support
Preetham Chandru [Wed, 18 Jan 2012 09:43:38 +0000]
tegra: nor: always build partitioning support

Remove the CONFIG_MTD_PARTITIONS preprocessor conditionals as
partitioning is always available.
Moreover as none of the drivers use CONFIG_MTD_PARTITIONS, this has
been undefined in Kconfig from 2.6.39 onwords.
The following commit 6a8a98b22b10f1560d5f90aded4a54234b9b2724 has
removed the CONFIG_MTD_PARTITIONS in Kconfig.

Bug: 923135
Change-Id: I8acb6ac2df26d9983b4cfe5869bc97a5861da573
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/75895
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agocrypto: tegra-se: Fix SG buffer length mismatch
Mallikarjun Kasoju [Tue, 17 Jan 2012 14:22:05 +0000]
crypto: tegra-se: Fix SG buffer length mismatch

Fixed the case where SG buffer length is more than actual number
of bytes to process.

Bug 922857

Change-Id: I8445d8ae74b8fc6c964c19523fcd731f7ba4bd37
Reviewed-on: http://git-master/r/75701
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75891
Reviewed-by: Automatic_Commit_Validation_User

7 years agomfd: max77663: Support Low-Power Mode during sleep mode
Jin Park [Tue, 17 Jan 2012 05:48:47 +0000]
mfd: max77663: Support Low-Power Mode during sleep mode

Put the power rails into Low-Power Mode during sleep mode,
if SLP_LPM is enabled and the power rail's power mode is GLPM.

Bug 924686

Change-Id: I460f8bfa6be73a440a4924160d8e271695fc4973
Reviewed-on: http://git-master/r/75626
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75890
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: defconfig: build cfg80211 as module
Om Prakash Singh [Thu, 12 Jan 2012 13:09:47 +0000]
arm: tegra: defconfig: build cfg80211 as module

Bug 926128

Change-Id: I326e3806a429e031bea78a3e051c22518e705f86
Reviewed-on: http://git-master/r/74973
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75889
Reviewed-by: Automatic_Commit_Validation_User

7 years agousb: host: tegra: replace CONFIG_USB_HOTPLUG to tegra_ehci_platform_data
Kurt Yi [Wed, 11 Jan 2012 12:11:07 +0000]
usb: host: tegra: replace CONFIG_USB_HOTPLUG to tegra_ehci_platform_data

remove CONFIG_USB_HOTPLUG and add default_enable into tegra_ehci_platform_data
We can't use different def_config because whistler & ventana source code
is merged in same tree.

BUG 923705

Change-Id: I3dfdf237d80865831264f02104c89c8088101905
Reviewed-on: http://git-master/r/74574
Signed-off-by: Kurt Yi <kyi@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75888
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra2: defconfig: enable nct1008
Artiste Hsu [Tue, 10 Jan 2012 09:37:47 +0000]
arm: tegra2: defconfig: enable nct1008

bug 924363

Change-Id: Ic5e88e0887d912234e01a759674945524a3350a1
Reviewed-on: http://git-master/r/74258
Signed-off-by: Artiste Hsu <chhsu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75887
Reviewed-by: Automatic_Commit_Validation_User

7 years agocpufreq: Preserve sysfs min/max request
Antti P Miettinen [Thu, 5 Jan 2012 00:13:23 +0000]
cpufreq: Preserve sysfs min/max request

Store the value received via sysfs as the user_policy
min/max value instead of the currently enforced min/max.
This allows restoring the user min/max values when
constraints on enforced min/max change.

Bug 888312

Change-Id: I8a5adf022585e5bd91fa3b1d8d448065efa6827a
Reviewed-on: http://git-master/r/73982
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75886
Reviewed-by: Automatic_Commit_Validation_User

7 years agovideo: tegra: host: Fix includes
Juha Tukkinen [Mon, 2 Jan 2012 15:18:38 +0000]
video: tegra: host: Fix includes

Remove one duplicate include and relative paths in includes. Replace one
include with forward declaration. Make dependencies to t20 and t30
explicit.

Change-Id: I195020bedbb46277dbd6a92b65be2cde5f6276b8
Reviewed-on: http://git-master/r/72903
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75885
Reviewed-by: Automatic_Commit_Validation_User

7 years agocpufreq: Enforce PM QoS min/max limits
Antti P Miettinen [Tue, 27 Dec 2011 10:41:39 +0000]
cpufreq: Enforce PM QoS min/max limits

Observe PM QoS CPU frequency minimum and maximum in addition
to policy settings.

Bug 888312

Change-Id: Ia4f60a1649a9952e02f6847c8add3b2ea5d47524
Reviewed-on: http://git-master/r/72207
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75884
Reviewed-by: Automatic_Commit_Validation_User