7 years agoarm: tegra: cardhu: enable touchscreen for E1506 panel
Rakesh Iyer [Thu, 7 Jun 2012 09:43:58 +0000]
arm: tegra: cardhu: enable touchscreen for E1506 panel

Enable Atmel Mxt touchscreen for E1506 panel.

Bug 978305.

Change-Id: I57b02e4a9b3180e8114a96d5f9a8e075df166260
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/104895
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoARM: tegra: cardhu: add support for E1506 panel
Rakesh Iyer [Thu, 10 May 2012 20:24:53 +0000]
ARM: tegra: cardhu: add support for E1506 panel

Add support for 720p DSI panel on the E1506.

Bug 978305.

Change-Id: If76d2754eebc9e612c2ce006fa73ead7ebb1a109
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/104894
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: dc: remove tegra_dc_host_trigger
Jon Mayo [Fri, 1 Jun 2012 20:24:24 +0000]
video: tegra: dc: remove tegra_dc_host_trigger

The function tegra_dc_host_trigger() is no longer used, removing it.

Change-Id: I929450bdf0224779910e8569bc8d1b3edb93f12d
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/106075
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: dsi: remove build warnings
Jon Mayo [Sat, 2 Jun 2012 02:59:57 +0000]
video: tegra: dsi: remove build warnings

Added void to function prototypes and initialized some variables.

Change-Id: I69250f5e17560f900fffddec9697e496af6ad4d2
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/106073
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: xmm: changing mdelay and add wait_event
Vinayak Pane [Tue, 15 May 2012 22:38:37 +0000]
arm: tegra: xmm: changing mdelay and add wait_event

baseband_xmm_power has delays related to CP sync-up.
Changing these delays from mdelay() to msleep and
usleep_range.

Adding wait_event mechanism to wait for L2->L0

Bug 932574

Change-Id: Ie33a3f1cc0a798e592f00153435b0135713213ea
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/102689
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

7 years agovideo: tegra: dc: Export display feature table.
Kevin Huang [Thu, 31 May 2012 23:55:15 +0000]
video: tegra: dc: Export display feature table.

Bug 992947

Change-Id: I0d1ecc9f8f042956cbe631779260a38573936616
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/105776
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: nvsd: Fix Phase In Issue with Aggressiveness
Matt Wagner [Thu, 31 May 2012 01:03:39 +0000]
video: tegra: nvsd: Fix Phase In Issue with Aggressiveness

Change to correct behavior for changing settings while
phase_in_adjustments is set.  Manual K values should not be overridden
in the case where DIDIM was on and aggressiveness was changed.
They should maintain state to avoid flickering.

Bug 992995

Change-Id: Ic35c32a0fd5c6caaeee147dff114649ea25770c5
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/105523
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: nvmap: Use config option NVMAP_CACHE_MAINT_BY_SET_WAYS
Krishna Reddy [Wed, 23 May 2012 23:10:32 +0000]
video: tegra: nvmap: Use config option NVMAP_CACHE_MAINT_BY_SET_WAYS

Change-Id: I762929a0d72a0b26aa1451a946993f4a57806fd4
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/104292
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Hiro Sugawara <hsugawara@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agogpio: Convert tps65910 to a platform driver
Laxman Dewangan [Fri, 11 May 2012 16:18:27 +0000]
gpio: Convert tps65910 to a platform driver

Make the gpio-tps65910 as platform driver and register
this from tps65910 core driver as mfd sub device.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 10bbc48d7a045c022a54f637c0c6b72f0e38b519)

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

7 years agomfd: Fix tps65910 build failure
Samuel Ortiz [Fri, 11 May 2012 13:10:28 +0000]
mfd: Fix tps65910 build failure

The tps65910_parse_dt() prototype for !CONFIG_OF was not correct, leading to:

drivers/mfd/tps65910.c: In function ‘tps65910_i2c_probe’:
drivers/mfd/tps65910.c:218:3: error: too many arguments to function ‘tps65910_parse_dt’

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 7f65f74ccee15f6eb0009921a428e3c5d5d06ae0)

Change-Id: I1592020268c408effc331069b7ae241c6da248bb
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105927
GVS: Gerrit_Virtual_Submit

7 years agomfd: Register tps65910 gpios as an mfd device
Laxman Dewangan [Fri, 11 May 2012 13:07:44 +0000]
mfd: Register tps65910 gpios as an mfd device

As gpio support for tps65910 is on gpio driver, registering
gpio support as the mfd sub devices instead of calling gpio_init()
from the core probe.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 32df986e985921386b75b4bd1117102bf65fe095)

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

7 years agomfd: Convert all tps65910 allocation to devm_*
Laxman Dewangan [Fri, 11 May 2012 10:36:57 +0000]
mfd: Convert all tps65910 allocation to devm_*

Convert memory allocation and regmap initialization to
use devm_* functions.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 63fe7dee9183118716078a9f2503f5f805d37c12)

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

7 years agomfd: Cache tps65910 register when we need it
Laxman Dewangan [Wed, 9 May 2012 13:10:54 +0000]
mfd: Cache tps65910 register when we need it

During regmap initialization, we do not provide the default value and
hence in place of caching register during regmap_init(), cache it
when actually we need it i.e. after reading of that register.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 3bf6bf9be51a0195c6b1604454fdd28ed1cc1770)

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

7 years agomfd: Add tps65910 device-tree support
Rhyland Klein [Fri, 11 May 2012 09:36:26 +0000]
mfd: Add tps65910 device-tree support

Add device tree based initialization support for TI's tps65910 pmic.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit cd4209ced4d3936cfe51b7b8833260457e2d9995)

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

7 years agomfd: Commonize tps65910 regmap access through header
Rhyland Klein [Thu, 7 Jun 2012 09:36:43 +0000]
mfd: Commonize tps65910 regmap access through header

This change removes the read/write callback functions in favor of common
regmap accessors inside the header file. This change also makes use of
regmap_read/write for single register access which maps better onto what this
driver actually needs.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(Cherry-pick from mainline
3f7e82759c692df473675ed06fb90b20f1f225c3)

Change-Id: Ida79b196acf65ed14ff9fd2cc1f7c0048f99ba2b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105922
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
GVS: Gerrit_Virtual_Submit

Conflicts:

include/linux/mfd/tps65910.h

7 years agomfd: Fix tps65910 section annotations
Mark Brown [Mon, 7 May 2012 09:03:19 +0000]
mfd: Fix tps65910 section annotations

A warning was being generated by the reference from tps65910_i2c_probe()
to tps65910_sleepinit() since the latter was annotated as __init but the
former was unannotated. Since these functions can only be called during
device init make them both __devinit, and while we're at it also annotate
tps65910_i2c_remove() __devexit for symmetry.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 63745d4068de8ccea3580214c6dbfdca0ec37859)

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

7 years agomfd: Add support for tps65910 device sleep
Laxman Dewangan [Thu, 7 Jun 2012 09:35:58 +0000]
mfd: Add support for tps65910 device sleep

Adding support for device sleep through the external input control
signal "SLEEP".
Changing the SLEEP signal state can switch the device into SLEEP and
ACTIVE state.
Also adding sleep configuration for different resources so that they
should be keep on during sleep state of device.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(Cherry-picked from mainline
201cf052810d20814a77ca0e0045a2c1a3508a1f)

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

Conflicts:

include/linux/mfd/tps65910.h

7 years agousb: otg: tegra: using sscanf in enable_host store functionality
Venu Byravarasu [Fri, 1 Jun 2012 09:48:47 +0000]
usb: otg: tegra: using sscanf in enable_host store functionality

Replaced kstrtoul with sscanf.

Change-Id: I1c82e92bf43d2ceba6ac3a7c0090394ba3497f13
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/105888
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agovideo: tegra: host: Remove error case panics
Terje Bergstrom [Fri, 1 Jun 2012 08:09:36 +0000]
video: tegra: host: Remove error case panics

Remove BUG_ON()s in error cases:
* If IOCTL size is too large, return error instead
* If sync point id is out of range, return error. Prevents panics in
  sanity checks nvhost_cdma.

Bug 993642

Change-Id: I3cfa7a23dc557c811e20b726885f82666437de7f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/105866
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoregulator: tps62360: support force PWM mode via regulator mode
Laxman Dewangan [Mon, 14 May 2012 12:16:51 +0000]
regulator: tps62360: support force PWM mode via regulator mode

Change the mechanism of enabling the force PWM mode through
regulator set mode. This can be dynamically configured now.
In the REGULATOR_MODE_FAST the force PWM is enabled and in
REGULATOR_MODE_NORMAL the force PWM is disabled.

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

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

7 years agoasoc: tegra: p1852: Use pcm-driver from platform
Nitin Pai [Wed, 30 May 2012 13:01:46 +0000]
asoc: tegra: p1852: Use pcm-driver from platform

Use the pcm-driver specified from platform/board
specified file.

Bug 991926

Change-Id: I9e4c9a3f76bacb22de817273a2281ac9b8959c43
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/105415
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoarm: tegra: enable 1.8 volts through ocr_mask for sdio
naveenk [Fri, 25 May 2012 09:49:01 +0000]
arm: tegra: enable 1.8 volts through ocr_mask for sdio

sdio supports 1.8 volts, setting 1.8 volts for
cardhu, kai, ventana, whistler

Bug 979504

Change-Id: I8f03b01e0792ac0e6abe74ce898934e65762fb85
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/104712
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agonet: wireless: sd8797: Fix (re)association issue
Nitin Bindal [Thu, 24 May 2012 14:15:28 +0000]
net: wireless: sd8797: Fix (re)association issue

Fix the issue -
When device connects to 2GHz AP, it does not scan
APs in 5GHz and vice-versa.

Bug 968022

Change-Id: I5dfddf4e73260cb1e03bd3d28c029503507cd898
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/104482
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoARM: defconfig: Remove SYSRQ support.
Gaurav Sarode [Tue, 22 May 2012 06:11:08 +0000]
ARM: defconfig: Remove SYSRQ support.

Due to noise on serial port , we get unwanted SYSRQ events.

Bug 978676

Signed-off-by: Gaurav Sarode <gsarode@nvidia.com>
Change-Id: Ida73f6817c2365b74c7237ae97a9fc006674c34c
Reviewed-on: http://git-master/r/103786
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: resolve compilation time warnings
Sanjay Singh Rawat [Thu, 7 Jun 2012 09:33:14 +0000]
arm: tegra: resolve compilation time warnings

Bug 949219

Change-Id: I91a67d30869e9800c483f112d58b9f76e2dbe361
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/103534
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Conflicts:

arch/arm/mach-tegra/pcie.c

7 years agocrypto: tegra-se: Use sg_next to get next sg
Mallikarjun Kasoju [Wed, 9 May 2012 12:54:17 +0000]
crypto: tegra-se: Use sg_next to get next sg

Use sg_next to get next sg

Bug 958431

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>

Change-Id: I14aa7c9c551d0230b9c5b681a2699dd5355d0a6d
Reviewed-on: http://git-master/r/98449
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoARM: tegra: config: Enable RICOH RC5T583 drivers
Laxman Dewangan [Thu, 7 Jun 2012 09:22:02 +0000]
ARM: tegra: config: Enable RICOH RC5T583 drivers

The RICOH RC5T583 drivers are back ported to downstream from
mainline. Enabling this driver.

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

Conflicts:

arch/arm/configs/tegra3_android_defconfig

7 years agogpio/rc5t583: add gpio driver for RICOH PMIC RC5T583
Laxman Dewangan [Thu, 7 Jun 2012 09:16:13 +0000]
gpio/rc5t583: add gpio driver for RICOH PMIC RC5T583

The PMIC device RC5T583 from RICOH supports 8 gpios.
Adding gpio driver for this device to access the pins
control through gpio library.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[grant.likely: slight cosmetic changes]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
(Cherry-picked from mainline
e9fe32bcadb8a7a40411d77f168abd45941b049b)

Change-Id: Id11f0dec229a92ce0ddcf606376ff83b6e14ca90
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105885
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Conflicts:

drivers/gpio/Makefile

7 years agoregulator: rc5t583: Correct MODULE LICENSE to GPL v2
Laxman Dewangan [Fri, 6 Apr 2012 05:28:33 +0000]
regulator: rc5t583: Correct MODULE LICENSE to GPL v2

Fixing build issue reported by Paul Gortmaker:

It appears this breaks linux-next allmodconfig build, because it
uses an uppercase V in the v2 of its MODULE_LICENSE.

FATAL: modpost: GPL-incompatible module rc5t583-regulator.ko uses
GPL-only symbol 'platform_driver_unregister'
make[2]: *** [__modpost] Error 1

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 4eb06453648bb0d1eca3669f26798a19b6f40eb8)

Change-Id: I8c715cf5a8e72555721a954d6db6879aed2eb423
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105884
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoregulator: rc5t583: Remove nsteps from struct rc5t583_regulator_info
Axel Lin [Thu, 5 Apr 2012 06:04:48 +0000]
regulator: rc5t583: Remove nsteps from struct rc5t583_regulator_info

The nsteps can be calculated by (_max_mv - _min_mv) * 1000 / _step_uV + 1,
thus we can remove _nsteps from RC5T583_REG macro, and then remove
nsteps from struct rc5t583_regulator_info.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit e3a7384c3e98c48b5f122e449e22cc8a1a6c7e0d)

Change-Id: If6db39255b2f7f8be38b848f2ca2619301b19b38
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105883
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoregulator: rc5t583: Fix off-by-one valid range checking for selector
Axel Lin [Wed, 4 Apr 2012 14:38:09 +0000]
regulator: rc5t583: Fix off-by-one valid range checking for selector

The valid selector should be 0 ... nsteps-1.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 9cc7a453b637d8c1f628f9873204ff55d7aa664c)

Change-Id: Ie1a39883036de3b2945d35854e0a16c46d2a9db2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105882
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoregulator: Fix rc5t583_regulator_probe error handling
Axel Lin [Wed, 4 Apr 2012 11:52:35 +0000]
regulator: Fix rc5t583_regulator_probe error handling

1. regulator_register returns ERR_PTR on error, thus use IS_ERR to check the
   return value.
2. Fix off-by-one for unregistering the registered regulator.
   Current code does not unregister regs[0].rdev in clean_exit.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit a69df8a14ae7b891ee22f0e4c081f3ff65c0640f)

Change-Id: Ib5e00e655020e313c73e5b838e62dbdea54c28d0
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105881
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agomfd: Convert rc5t583 to devm_regmap_init_i2c()
Axel Lin [Wed, 25 Apr 2012 02:01:55 +0000]
mfd: Convert rc5t583 to devm_regmap_init_i2c()

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit f8dddc0cfe9f56ed74fd5efde8d0754f5fb73a3f)

Change-Id: I72d44f59c79abbbdac95398a5d4da2bedf19d8f1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105880
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agomfd: Add rc5t583's gpio in mfd device list
Laxman Dewangan [Mon, 9 Apr 2012 08:25:55 +0000]
mfd: Add rc5t583's gpio in mfd device list

Adding the gpio of RC583 in the list of rc583 mfd devices
to register the gpio driver of RC5T583.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit e1277f45d8748ff59608b140780f75390cb5400c)

Change-Id: Iea2ccf7831c331d1ad08f96100d4222cce31224f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105879
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoregulator: Add support for RICOH PMIC RC5T583 regulator
Laxman Dewangan [Thu, 7 Jun 2012 09:14:52 +0000]
regulator: Add support for RICOH PMIC RC5T583 regulator

The RC5T583 PMIC from RICOH consists of 4 DCDC and 10
LDOs. This driver supports the control of different
regulator output through regulator interface.
This driver depends on MFD driver of RC5T583 and uses
mfd rc5t583 apis to communicate to device for accessing
different device's registers.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(Cherry-picked from mainline commit
6ffc3270210efa2bea526953a142ffc908f5bd86)

Change-Id: If6bcc9c987fc97ff6f0c61e53de715cd84d0151b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105877
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoarm: tegra: configs: Enable Audio Channel support
Vandana Salve [Thu, 31 May 2012 14:19:10 +0000]
arm: tegra: configs: Enable Audio Channel support

Add config Enable TEGRA_NVAVP_AUDIO to enable
Audio Channel support

bug 964515

Change-Id: Ibc17e650f5a26b348ea9dda329d009c79ba21a49
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/104382
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

7 years agoARM: tegra: usb_phy: turn off clocks during suspend
Rakesh Bodla [Fri, 1 Jun 2012 09:44:00 +0000]
ARM: tegra: usb_phy: turn off clocks during suspend

To save power turning off/on clocks (controller, emc, sclk)
appropriately depending upon the features supported on
particular controller.

Bug 991262
Bug 993380

Change-Id: I15fd5641c73f6a170a33515b5e9fe0a62c8430cc
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/105887
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: host: Restrict register access
Terje Bergstrom [Thu, 31 May 2012 05:15:28 +0000]
video: tegra: host: Restrict register access

Register access (read/write) to modules MPE, ISP and VI lack sanity
check for the register number. Add checks to ensure only aperture is
accessed. Also make sure that the check accounts for wrapping of
values of offset and count.

Also fixes the register offset for reads which are done in multiple
blocks.

Bug 992938

Change-Id: I35f30cbd1dda31956286e48c5995b24fd262d1ae
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/105585
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

7 years agoarm: tegra: p1852: Add i2s/tdm mode selection
Nitin Pai [Wed, 30 May 2012 10:56:25 +0000]
arm: tegra: p1852: Add i2s/tdm mode selection

Added code to select i2s vs tdm mode.
Added tdm-pcm-audio device defination.
Changed the pcm driver to use tdm-pcm-audio device.
Added fields to pass the pcm driver name to ASoC.
Added P1852_TDM config to KConfig and Linux defconfig

Bug 948478

Change-Id: I82fa03ab947cc615089e0a3107fb53901a1c00cd
Signed-off-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-on: http://git-master/r/105383
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomedia: video: nvavp: Add audio channel support
Vandana Salve [Thu, 3 May 2012 10:37:48 +0000]
media: video: nvavp: Add audio channel support

Added support for audio channel.
Push buffers can be submitted on audio channel.

bug 964514

Change-Id: Ib13b6ed41678e9dcc170fddc64ab4646f960838b
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/97534
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gajanan Bhat <gbhat@nvidia.com>

7 years agoregulator: tps62360: fix stylistic issue and optimize code
Laxman Dewangan [Tue, 8 May 2012 11:35:58 +0000]
regulator: tps62360: fix stylistic issue and optimize code

Fix multiple stylistic issue like:
- The print message should be not break into multiple line.
- line gap after variable declaration and statement.
- checkpatch error.
- some typo.

Some enhancement on error message printing to print error value
also along with proper text.

Avoid voltage_base conversion to microvolts every time.
Put init functions in init section.
Using efficient function inplace of calling multiple function
to reduce the code size.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 2935fb18aa1e75e6afaab3303cdd1a4ac62be63e)

Change-Id: I988938f8f8cc6fb5355e32bd6ac25d95db94913c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105831
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoregulator: tps62360: Provide settling time for voltage change
Laxman Dewangan [Mon, 7 May 2012 12:38:26 +0000]
regulator: tps62360: Provide settling time for voltage change

Settling time is require when there is voltage output change.
Implement set_voltage_time_sel() callback which returns delay time
for voltage change to settle down to new value.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit a60cfce051dd5e22329df1018d278bf3e52d82bc)

Change-Id: I522df8a72595622fd99cc46043c34610434d932f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105830
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoregulator: tps62360: enable register cache
Laxman Dewangan [Mon, 7 May 2012 12:38:25 +0000]
regulator: tps62360: enable register cache

Enable cache of device register using regmap cache RBTREE.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 16ea003bd1c95ea55a0b88187ce7cbeaca760fcf)

Change-Id: If747dd18a488d500f8295f903c8da92c241c293e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105829
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoregulator: tps62360: Convert to devm_regmap_init_i2c()
Axel Lin [Sat, 7 Apr 2012 15:29:56 +0000]
regulator: tps62360: Convert to devm_regmap_init_i2c()

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 9a4bdd87a29bf297d9046410b011d726d51c3999)

Change-Id: Ic7cca64e14b2b2e812140c8d368279b615da074f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105828
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoregulator: Add support for tps62362 and tps62363 in tps62360-regulator driver
Axel Lin [Mon, 2 Apr 2012 10:19:28 +0000]
regulator: Add support for tps62362 and tps62363 in tps62360-regulator driver

According to the datasheet[1], tps62360 is register compatible with tps62362.
tps62361B is register compatible with tps62363.
Thus this patch adds support for tps62362 and tps62363.

[1] http://www.ti.com/litv/pdf/slvsau9b

Change-Id: I62cdede0755d7decedeb7b1ef08e216a0dad3a12
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(Cherry-picked from mainline commit d1cf4f6)

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Change-Id: Ib9c4a63f06182c0ed2c1f27d9bf63342aa8474bc
Reviewed-on: http://git-master/r/105827
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoregulator: Remove unused name and client fields from struct tps62360_chip
Axel Lin [Wed, 28 Mar 2012 02:06:45 +0000]
regulator: Remove unused name and client fields from struct tps62360_chip

The client field of struct tps62360_chip is not used after converting to regmap.
The name field of struct tps62360_chip is not used in this driver.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from mainline commit c60f1718f508a40964c149f1139b4eaaae825fd3)

Change-Id: If7b0606b60bd887bc20ecbdaf5cafa6ccba8ff77
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105826
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoregulator: tps62360: Remove pointless test for unsigned less than zero
Axel Lin [Tue, 7 Feb 2012 03:06:20 +0000]
regulator: tps62360: Remove pointless test for unsigned less than zero

The variable 'selector' is a 'unsigned int', so it can never be less than zero.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 46783a046e13588f0459271ad6db9785fa8dcb8b)

Change-Id: I920b1628016b7d1c0b626497f24210c5c1f549ab
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105825
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: tegra: usb: fix UTMIP auto suspend issues
Rakesh Bodla [Thu, 31 May 2012 16:02:23 +0000]
arm: tegra: usb: fix UTMIP auto suspend issues

Fixing the UTMIP auto suspend issues.

Bug 992463
Bug 989400

Change-Id: Ia0d536cd66081b263f7f2bde5debcc600dcef22a
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/105692
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoARM: Tegra: P1852: changed pad strengths
Mohit Kataria [Thu, 31 May 2012 05:00:28 +0000]
ARM: Tegra: P1852: changed pad strengths

changed pad strengths to the values provided
by syseng.

Bug 978870

Change-Id: I23afc8235065ce8ab950dc92dc40e7df5f835989
Signed-off-by: Mohit Kataria <mkataria@nvidia.com>
Reviewed-on: http://git-master/r/105578
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agoarm: tegra: enterprise: add gpio for pmu msecure
Tom Cherry [Tue, 22 May 2012 02:03:49 +0000]
arm: tegra: enterprise: add gpio for pmu msecure

Bug 986402

Change-Id: Icf06b136c602639fc84ea822db8cf54078ace5fd
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/104270
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agortc: tps80031: add msecure support
Tom Cherry [Thu, 7 Jun 2012 08:53:04 +0000]
rtc: tps80031: add msecure support

Bug 986402

Change-Id: Id12540e31f8d7d9a04d764ed012310a685eafb8d
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/104269
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Conflicts:

drivers/rtc/rtc-tps80031.c

7 years agoARM: tegra: cleanup wake header usage
Bitan Biswas [Tue, 29 May 2012 16:45:25 +0000]
ARM: tegra: cleanup wake header usage

Removed unused wake header file from Tegra board files

bug 980993

Change-Id: I61d919a2dc5b98caaca612b990fd1a7d06e76ae2
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/103622
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: changed pingroups
Mohit Kataria [Thu, 7 Jun 2012 08:46:40 +0000]
ARM: Tegra: changed pingroups

Changed pingroups with proper bit fields
provided in TRM.

Bug 978870

Change-Id: Ie02ff14448103c70e27149ac95cd487d33ab52c0
Signed-off-by: Mohit Kataria <mkataria@nvidia.com>
Reviewed-on: http://git-master/r/103353
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Conflicts:

arch/arm/mach-tegra/pinmux-t3-tables.c

7 years agoarm: tegra: Enable config NVMAP_CACHE_MAINT_BY_SET_WAYS.
Krishna Reddy [Thu, 7 Jun 2012 08:44:51 +0000]
arm: tegra: Enable config NVMAP_CACHE_MAINT_BY_SET_WAYS.

Change-Id: Ia6dccfbd0464bc088dfcb05cc16e7f2ad35a9783
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/104291
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Conflicts:

arch/arm/mach-tegra/Kconfig

7 years agovideo: tegra: Config option for cache maint by set/ways.
Krishna Reddy [Wed, 23 May 2012 23:00:07 +0000]
video: tegra: Config option for cache maint by set/ways.

Add config option to enable/disable cache maintenance by set/ways.

Change-Id: Ie795e19650b2c05cd4789dbc1e8f04f9edc70bf1
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/104290
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

7 years agoARM: tegra: kai: Remove tegra_gpio_enable/disable
Ashwini Ghuge [Wed, 16 May 2012 11:17:53 +0000]
ARM: tegra: kai: Remove tegra_gpio_enable/disable

Removing tegra_gpio_enable and disable calls
from board files as they are supported thorugh
set direction calls in the driver

Bug 984439

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

7 years agoarm: tegra: pci: Support for dock hot plug
Jay Agarwal [Wed, 30 May 2012 13:30:33 +0000]
arm: tegra: pci: Support for dock hot plug

PCIE dock detection is done using GPIO for cardhu
e1291 board. Currently supporting only hotplug
disconnect when all pcie devices will be stopped
and will not work on hotplug connect later.

Bug 912743
Bug 955043
Bug 946385

Change-Id: Ibb2869c12e193be5e6e7e057e149e7699598a061
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/87315
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoserial: tegra: disable interrupt when changing configuration
Laxman Dewangan [Wed, 23 May 2012 11:46:59 +0000]
serial: tegra: disable interrupt when changing configuration

Disable the interrupts when the baudrate or any uart
configuration. This will avoid the interrupt to be call
when configuration is getting change.

bug 984164
bug 969087

Change-Id: Id008964773237726a0ec4a04c428d3975bf3ebd9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/104476
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Tested-by: David Yu (Engrg-SW) <davyu@nvidia.com>

7 years agoASoC: tegra: remove compilation warning
Juha Tukkinen [Wed, 30 May 2012 14:04:48 +0000]
ASoC: tegra: remove compilation warning

Ensure i2s_client_bits and i2s_audio_bits do not get used
uninitialized.

Bug 949219

Change-Id: Ibdd7f2598278639388d2c2afb5843f2471375ea2
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/105426
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>

7 years agovideo: tegra: host: Remove nvhost dsi driver
Terje Bergstrom [Thu, 7 Jun 2012 08:16:37 +0000]
video: tegra: host: Remove nvhost dsi driver

Remove nvhost dsi driver. Real dsi driver is in tegradc.

Bug 982965

Change-Id: I86044ba586d796ae8d049471a154dcf37bd0e6ed
Reviewed-on: http://git-master/r/104975
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

Conflicts:

drivers/video/tegra/host/dsi/dsi.c

7 years agoARM: tegra: ventana: get rid of gpio enable/disable calls
Sanjay Singh Rawat [Mon, 28 May 2012 09:09:07 +0000]
ARM: tegra: ventana: get rid of gpio enable/disable calls

Gpio direction setting and freeing functions will do the needful now.

Bug 984440

Change-Id: I598cfbda4ac1d8fe7a61fe070abc92c5179807e9
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/104493
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoARM: tegra: power: Go to G-CPU if minimum 1 is requested
Alex Frid [Sat, 12 May 2012 07:16:31 +0000]
ARM: tegra: power: Go to G-CPU if minimum 1 is requested

On Tegra3 switch and stay on G-CPU if minimum 1 is requested via
PM QoS interface. Allow return to LP-CPU only if request is at
default 0 level.

Change-Id: Ie1a732fe6c6a1dcd2f7e78be01e32dcc5a7993a6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/102120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agovideo: tegra: host: Use correct units in default timeout
Terje Bergstrom [Tue, 29 May 2012 04:51:49 +0000]
video: tegra: host: Use correct units in default timeout

Convert the jiffies to msecs when assigning a channel the default
timeout.

Change-Id: If9b6fb7c695e9621a0c50d99d4d1362b6dd214b6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/105022
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoasoc: codecs: ALC5639/40: Change to reduce codec pwr in lp0
Manoj Gangwal [Thu, 24 May 2012 14:00:36 +0000]
asoc: codecs: ALC5639/40: Change to reduce codec pwr in lp0

Bug 964287

1) Add support for resetting the codec while entering in lp0
   state to save codec power in lpo for KAI.
2) Fix for cache sync.
3) Add index sync functionality.

Change-Id: I04039eb55944bfe7f06e6a1405ac3c810c5688a1
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/104480
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agomedia: video: tegra: space correction
Preetham Chandru [Tue, 29 May 2012 16:11:59 +0000]
media: video: tegra: space correction

A space is missing between the words 'an' and 'independent'
in the print statement:
dev_info(&info->i2c_client->dev,
"%s no regulator found for %s. "
"This board may not have an"
"independent %s regulator.\n",
__func__, info->vreg[j].vreg_name,
info->vreg[j].vreg_name);

Bug 991768
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>

Change-Id: Idde809c162b3b32c1db57436273af1810f03000a
Reviewed-on: http://git-master/r/105157
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agovideo: tegra: host: Fix error case memory leaks
Terje Bergstrom [Tue, 29 May 2012 15:30:16 +0000]
video: tegra: host: Fix error case memory leaks

When a submit fails, the related nvhost_job is not freed. Add an
explicit free. Also, 3D is mapping the save buffer, but it is not
unmapped.

Bug 991972

Change-Id: Ie335adb5e64f54557e76d12dfb6a9a1557781e8d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/105152
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agomedia: video: ov2710: add sensor group hold
Pablo Ceballos [Thu, 22 Mar 2012 21:59:56 +0000]
media: video: ov2710: add sensor group hold

Implements a group hold so that the gain, frame length, and
coarse time can all be written in one ioctl call

Also fixes AEC manual control register value

Also implements bulk i2c send in the same way as ov5650

Bug 953910

Change-Id: Iaa2e8ac6c0156564920696afaa099321db6314f6
Signed-off-by: Pablo Ceballos <pceballos@nvidia.com>
Reviewed-on: http://git-master/r/94380
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Patrick Shehane <pshehane@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoarm: tegra: cardhu: pm298: do not enable wakeup for interrupt keys
Johnny Qiu [Sat, 28 Apr 2012 08:37:11 +0000]
arm: tegra: cardhu: pm298: do not enable wakeup for interrupt keys

Bug 975433

MAX77663 driver hasn't implemented irq_set_wake(). Actually its
interrupt always wakes up AP. Set wakeup = false to reduce warning
messages in kernel

Change-Id: If3e44fea359e363bd99ec415f7be3c4b3945205e
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/100000
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoi2c: tegra: Fix possible race condition.
Laxman Dewangan [Wed, 7 Mar 2012 06:41:41 +0000]
i2c: tegra: Fix possible race condition.

on tegra3, the i2c communication start immediately
after writing the tx fifo. And hence there is possibility
to complete the transfer and generates done interrupt before
actually sw updates their local pointers/count.
This patch will make sure that pointers/count can
get updated before data written into the fifo.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/89510
(cherry picked from commit 999c09f0ed32f271e767a319dd094947e63fdb8c)

Change-Id: I8e974b83b5306ec3363d4ca31ce1b539a498ca08
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/99997
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: resolve compilation time warnings
Sanjay Singh Rawat [Thu, 7 Jun 2012 08:11:33 +0000]
arm: tegra: resolve compilation time warnings

Warnings removed are related to unused variables/labels,
structure/argument type mismatch, copyright update, function return
type mismatch and wrong C coding style.

Bug 949219

Change-Id: Ib748d12d5ab3cfc35118be28c29983081cca6cbb
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/103770
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Conflicts:

arch/arm/mach-tegra/board-harmony-pcie.c
arch/arm/mach-tegra/common-t2.c
arch/arm/mach-tegra/tegra2_mc.c

7 years agoarm: tegra: pcie: resolve flaw in lp0 save state
Jay Agarwal [Fri, 18 May 2012 06:46:28 +0000]
arm: tegra: pcie: resolve flaw in lp0 save state

1. Restoring control register correctly.
2. Enabling clock clamping while resume

Bug 959642

Change-Id: Ic97306b4dfed0e131274aa93b35dba3f906e55be
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/103127
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoRevert "PCI: move pci_find_saved_cap out of linux/pci.h"
Varun Wadekar [Thu, 7 Jun 2012 08:09:10 +0000]
Revert "PCI: move pci_find_saved_cap out of linux/pci.h"

This reverts commit 34a4876e3071ddebf3c98c99ba01c14b059a1361.

Conflicts:

include/linux/pci.h

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

7 years agoARM: tegra: Add config for new focuser ad5816
Sudhir Vyas [Thu, 7 Jun 2012 05:56:19 +0000]
ARM: tegra: Add config for new focuser ad5816

Add config param for new focuser ad5816 driver
in tegra3 defconfig.

Bug 947792

Change-Id: Ie34a982ac120abd7c9f980c9f038a734845b6f02
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/103143
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Conflicts:

arch/arm/configs/tegra3_android_defconfig

7 years agoARM: tegra: Add ad5816 focuser board support
Sudhir Vyas [Thu, 17 May 2012 14:32:22 +0000]
ARM: tegra: Add ad5816 focuser board support

- Add support for new focuser ad5816 driver to
cardhu boards.
- Add regulator for new focuser ad5816.

Bug 947792

Change-Id: I62e89e9188d307704098e2d4e88d276914836d70
Signed-off-by: Sudhir vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/103138
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: host: Dump sync queue in debug dump
Terje Bergstrom [Mon, 28 May 2012 11:06:05 +0000]
video: tegra: host: Dump sync queue in debug dump

Dump contents of sync queue when debug dump is requested, either
because of a stuck sync point, or when the debugfs entry is accessed.

Exclude FIFO from normal debugfs dump. Dumping FIFO is invasive and
actually changes how the channel behaves. It's safe to dump only when
system is in fault condition.

Change-Id: I12c68e8186acd7bd17e4ab52b2589f765396ed17
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104970
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agovideo: tegra: host: Throttle lower priority jobs
Terje Bergstrom [Mon, 28 May 2012 08:56:54 +0000]
video: tegra: host: Throttle lower priority jobs

Implement per channel counter for jobs in each priority level. If
there are jobs active with higher priority than the one being
submitted, throttle.

Bug 926690

Change-Id: I5fed341e3f248325873b31d1c53bf57bf0a78074
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104939
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

7 years agovideo: tegra: nvmap: Remove nvhost specific APIs
Terje Bergstrom [Thu, 24 May 2012 11:18:28 +0000]
video: tegra: nvmap: Remove nvhost specific APIs

Remove nvmap_pin_array() and nvmap_patch_word() and their utility
functions.

Bug 965206

Change-Id: I217a427934b0b99b5252b33ab3ac4eaaa8c7e076
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104451
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agovideo: tegra: host: Replace nvmap structs with own
Terje Bergstrom [Thu, 24 May 2012 12:06:58 +0000]
video: tegra: host: Replace nvmap structs with own

Replace usage of nvmap_pinarray_elem with own nvhost_reloc and
nvhost_reloc_shift structs.

Bug 965206

Change-Id: I90618d8a34d79156d8880d9925dadbf416353811
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104450
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

7 years agovideo: tegra: host: Merge waitchk and relocation
Terje Bergstrom [Thu, 24 May 2012 08:30:30 +0000]
video: tegra: host: Merge waitchk and relocation

Job pinning and relocation already maps the gather buffers to
kernel memory. Move waitchk to be done at the same time so that we
do not need to re-map the memory to patch expired waits.

Bug 965206

Change-Id: I23634b501a45de080200e57d3debf267b39fea38
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104415
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

7 years agovideo: tegra: host: rewrite nvhost_job_pin/unpin APIs
Mayuresh Kulkarni [Mon, 9 Apr 2012 06:51:24 +0000]
video: tegra: host: rewrite nvhost_job_pin/unpin APIs

- remove usage of custom interface of nvmap to patch the relocs and
  and pin the gathers/relocs
- convert code that references nvmap_handle to nvmap_handle_ref
- add logic to pin and map only unique gathers and relocs
- rename nvhost_channel_gather to nvhost_job_gather, because it's
  used in nvhost_job code only

Bug 965206

Change-Id: Iaa7fbac9e4a7b08c0a7c1e184b8dd3566e1edfe2
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/95299
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoRevert "ARM: move iotable mappings within the vmalloc region"
Varun Wadekar [Thu, 7 Jun 2012 06:05:42 +0000]
Revert "ARM: move iotable mappings within the vmalloc region"

This reverts commit 0536bdf33faff4d940ac094c77998cfac368cfff.

Conflicts:

arch/arm/mm/mmu.c

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

7 years agousb: otg: tegra: Enable ID_WAKEUP in otg suspend
Rakesh Bodla [Mon, 4 Jun 2012 11:45:35 +0000]
usb: otg: tegra: Enable ID_WAKEUP in otg suspend

Disabling the ID_WAKEUP in the suspend causing the
otg state to change to host, so disabling it in otg
suspend. Also, renaming the readl calls to otg_readl
call.

Bug 993390

Change-Id: I2789ea31fefe4425eb63b6be3e70d794bddcfd83
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/106177
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: usb: add null ulpi baseband ops
Rakesh Bodla [Wed, 30 May 2012 11:48:54 +0000]
arm: tegra: usb: add null ulpi baseband ops

Adding the implementation of null ulpi
 baseband ops.

Bug 991485

Change-Id: Ic5ed9b2143650a07528189c80c5b6b8b8a9657c7
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/105398
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoARM: tegra: usb: enable pmu vbus interrupts
Krishna Yarlagadda [Fri, 1 Jun 2012 11:16:43 +0000]
ARM: tegra: usb: enable pmu vbus interrupts

Enable pmu vbus interrupt for Enterprise and Whistler
to save power by turning off controller clock

Change-Id: I691bdd76ca71d63d98f83e2a3a18bbfcfc16a473
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/105150
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Conflicts:

drivers/usb/otg/tegra-otg.c

7 years agoarm: tegra: usb: fix suspend resume issues of ULPI phy
Venu Byravarasu [Tue, 29 May 2012 07:42:21 +0000]
arm: tegra: usb: fix suspend resume issues of ULPI phy

Fixing suspend resume issues observed with ULPI phy during
entering/exiting LP0 on enterprise.

bug 989510

Change-Id: Iaf5da7597281b5e1a78df7bdf32c46422cb5c6ef
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/104959
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoarm: tegra: kai: disable hotplug for usb instance 1
Hunk Lin [Wed, 30 May 2012 05:56:29 +0000]
arm: tegra: kai: disable hotplug for usb instance 1

Kai's USB1 instance is used for modem, so disabling
the hotplug.

Bug 989441
Bug 989400

Change-Id: Ia1e84a727f8343a55d6afc5360b35e5afed6947c
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/105315
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: tegra: cardhu: disable hotplug for usb instance 1
Rakesh Bodla [Fri, 25 May 2012 12:45:01 +0000]
arm: tegra: cardhu: disable hotplug for usb instance 1

USB 1 instance is used for modem, so disabling
the hotplug.

Bug 989441
Bug 989400

Change-Id: I94ad80e75f5b1f5d2cdb009e0d474943e11393e3
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/104748
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoarm: tegra: usb_phy: fix remote wakeup issues
Rakesh Bodla [Fri, 25 May 2012 12:44:18 +0000]
arm: tegra: usb_phy: fix remote wakeup issues

This change fixes remote wakeup issues
when usb line is in suspend state.

Bug 989441
Bug 989400

Change-Id: I90a417c1d0a5e273c87a079133bb0ca1b4d18041
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/104747
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agousb: ehci: tegra: fix remote wakeup issues
Rakesh Bodla [Fri, 25 May 2012 12:40:07 +0000]
usb: ehci: tegra: fix remote wakeup issues

This change fixes remote wakeup issues
when usb line is in suspend state.

Bug 989441
Bug 989400

Change-Id: I97982943d5521470b83ed87b83ab8703c4e9c260
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/104746
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agousb: otg: tegra: fix device registration in tegra_start_host
Varun Wadekar [Fri, 1 Jun 2012 06:43:51 +0000]
usb: otg: tegra: fix device registration in tegra_start_host

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

7 years agousb: otg: tegra: enhance tegra otg driver
Rakesh Bodla [Thu, 31 May 2012 11:17:47 +0000]
usb: otg: tegra: enhance tegra otg driver

Following enhancements are done:
a. Removed unnecessary apis.
b. Update the new platform data structures.
c. Removed unnecessary function call overheads.

Bug 887361

Change-Id: I148f2c0adb617c6f3100b84854bbd4ed1e953ecd
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/103601
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agousb: gadget: tegra: update udc driver to use common phy
Rakesh Bodla [Thu, 31 May 2012 11:10:12 +0000]
usb: gadget: tegra: update udc driver to use common phy

Update the udc driver to use common phy.

Bug 887361

Change-Id: I013c3df22fd7d41718debb96dc8db78f56d73bd1
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/103600
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agousb: host: tegra: update ehci to use common phy
Rakesh Bodla [Thu, 31 May 2012 11:08:36 +0000]
usb: host: tegra: update ehci to use common phy

Following enhancements are done:
a. Update driver with common phy interface
b. Make host driver independent of phy type and
   remove unnecessary CONFIG variables.

Bug 887361

Change-Id: Ibafa37a048df4377b73029039b04d04a53020bd4
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/103599
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Change-Id: I996297d74cef248aa8572f32bc9105c487ca48fc

7 years agoarm: tegra: usb_phy: add common phy interface
Rakesh Bodla [Thu, 31 May 2012 11:02:14 +0000]
arm: tegra: usb_phy: add common phy interface

Refactored the phy interface to scale multiple usb
phy hardware versions and for ease of maintenance.

Bug 887361

Change-Id: I08ea9e728f760ca123af7777d3ffabbd71a1aa99
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/103598
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agousb: tegra: modify USB platform data structures
Rakesh Bodla [Thu, 31 May 2012 10:30:06 +0000]
usb: tegra: modify USB platform data structures

Modify USB structures of platform data. Based on the new
platform data structures modifying the initialization in
board files.

Bug 887361

Change-Id: I49c9ea9888f743408f4f86005b8ed368b98500e7
Reviewed-on: http://git-master/r/103597

Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agousb: otg: tegra: Change suspend resume logic
Rakesh Bodla [Thu, 31 May 2012 06:43:40 +0000]
usb: otg: tegra: Change suspend resume logic

Changed the suspend resume logic as per new
UDC driver. Also, added few debug prints.

Bug 887361

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

Change-Id: I36ec1f160e8b4db54b5bd2153bdbf1c4fae1cc2a
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoarm: configs: tegra: enable tegra udc driver
Rakesh Bodla [Fri, 4 May 2012 09:24:04 +0000]
arm: configs: tegra: enable tegra udc driver

Enable tegra udc driver.

Bug 887361

Change-Id: Iaac2486d2a05454fa351920d5c65d17b9c2a881b
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/99449
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoarm: tegra: update the udc driver name
Rakesh Bodla [Thu, 31 May 2012 06:40:48 +0000]
arm: tegra: update the udc driver name

Update the clocks structure to use new udc driver
name. Also, update the device structure.

Bug 887361

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

Change-Id: I0fd846ab177e8651f285bcb9796361d30967b830
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agousb: tegra: add USB device controller driver for tegra chip
Rakesh Bodla [Thu, 31 May 2012 06:22:37 +0000]
usb: tegra: add USB device controller driver for tegra chip

Add High-speed USB device controller driver for tegra chips.
This can work in OTG device mode with tegra OTG driver.
Driver currently supports only UMTIP PHY.

Bug 887361

Change-Id: I63774a44e3bb607c93007b170ba8b811f96e43f8
Reviewed-on: http://git-master/r/97918
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoarm: tegra: board-files: remove usage of TEGRA_GPIO_TO_IRQ
Dan Willemsen [Wed, 30 May 2012 04:52:31 +0000]
arm: tegra: board-files: remove usage of TEGRA_GPIO_TO_IRQ

we've moved to IRQ domains, and need to use gpio_to_irq
instead of TEGRA_GPIO_TO_IRQ to get correct results.

See commit 6f74dc9bc8de41f3de474a7269a70921e773c40f

Change-Id: Ieb7c3e5d2a9bd0f4c83881b16fbd617babf41950
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/106362
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>