6 years agousb: gadget: tegra: add NV charger detection
Rakesh Bodla [Wed, 23 Jan 2013 15:19:33 +0000]
usb: gadget: tegra: add NV charger detection

Adding the support to detect NV charger and
set current limit to withdraw as 2.0amps.

Bug 1193528

Change-Id: I5ef6c553b33dfa45bfd9e07a9ba05ddf3c75e239
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/192055
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agomach-tegra: tegra[3,11]: bluesleep as built-in or module
Mursalin Akon [Thu, 24 Jan 2013 22:19:22 +0000]
mach-tegra: tegra[3,11]: bluesleep as built-in or module

allow bluesleep as built-in or module

Bug 1219372

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

6 years agoconfig: t114: enable auto load of bcmdhd
Mursalin Akon [Tue, 22 Jan 2013 23:39:56 +0000]
config: t114: enable auto load of bcmdhd

enable auto load of bcmdhd on dalmore

Bug 1222525

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

6 years agoasoc: tegra: SPI interface for TI codec
Scott Peterson [Wed, 23 Jan 2013 23:53:01 +0000]
asoc: tegra: SPI interface for TI codec

Add support for accessing the TI aic3262 codec
using the spi interface

Change-Id: I30c72ac2bec5cd51e472f8f4e0750cd533d354a3

Signed-off-by: Scott Peterson <speterson@nvidia.com>
Change-Id: I0dff26133be6c5f0ec36113a61e2b1b5b57b3339
Reviewed-on: http://git-master/r/194172
Tested-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: dvfs: Move common core voltage capping code
Alex Frid [Thu, 24 Jan 2013 01:25:11 +0000]
ARM: tegra: dvfs: Move common core voltage capping code

Moved common for Tegra3 and Tegra11 core voltage capping code to
a separate file.

Change-Id: I69c365abdaba80dae64d07c3c3c1c9f8d42cff19
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/193602
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>

6 years agohwmon: ina3221: Support for turning off ina
Anshul Jain [Thu, 24 Jan 2013 02:05:56 +0000]
hwmon: ina3221: Support for turning off ina

This is an optimization to turn off INA device based on number of cores
online. Also, this change removes support for turning on/off INA at runtime
using sysfs node. Additionaly, this change creates a new API power2_*,
which return 0 if ina device is turned off.

Bug 1223376
Bug 1207777

Change-Id: I0beedffa10d7e11e280e96c2c58c4dd191b87819
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/193580
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agovideo: tegra: dc: HDMI VSI for extended resolution
Jon Mayo [Wed, 12 Dec 2012 00:50:41 +0000]
video: tegra: dc: HDMI VSI for extended resolution

Bug 1167856

Change-Id: I40ef0501d7cbd61eb2176b45a7d9289d1d23865d
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/170281
(cherry picked from commit 33f73a0600ffd60174cfee2554d31216dfd4c343)
Reviewed-on: http://git-master/r/193499
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Rakesh Iyer <riyer@nvidia.com>

6 years agovideo: tegra: dc: support HDMI avi format values
Jon Mayo [Tue, 11 Dec 2012 21:02:12 +0000]
video: tegra: dc: support HDMI avi format values

Support all HDMI VIC format values using cea_modes[] list for determining the
the AVI format number.  Stores aspect ratio in fb_videmode and tegra_dc_mode so
that ambiguous modes are resolved.

Bug 1167856
Bug 1173814

Change-Id: Icf66753732076b99dd0ff0163f4a4f6a9f90ae57
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/170279
(cherry picked from commit e9f8abd89c1c2ac222ab0233448d391057ce3c93)
Reviewed-on: http://git-master/r/193498
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Rakesh Iyer <riyer@nvidia.com>

6 years agoinput: touch: raydium: Boost CPU only while leaving idle mode
Yogish Kulkarni [Sun, 20 Jan 2013 07:15:45 +0000]
input: touch: raydium: Boost CPU only while leaving idle mode

Raydium driver puts panel into idle mode after TimeToIdle period
which is calculated as,

TimeToIdle = (Firmware configurable param) * 10 * (panel scan rate);

Presently value of firmware configurable param is 5 for all
platforms. For 298Hz panel, idle will be invoked when no touch
activity is detected for ~168ms. During this time interval panel
will keep on raising IRQ at scan rate. Current CPU boosting logic
will keep on sending PM QoS request to boost CPU during this
interval, which can result to increased power numbers.

To boost CPU we can use the fact that raydium driver puts panel
into autoscan-mode after TimeToIdle, the mode where panel will
not send IRQ's unless it detects touch. This will result into
better power numbers as well serve the purpose to boost CPU only
on first touch IRQ.

If autoscan mode or idle mode is disabled, CPU won't be boosted.
undef NV_ENABLE_CPU_BOOST to disable CPU boosting.

Bug 1221911

Change-Id: Ibb6b4775039cc211fec33c2dde715454293bfdec
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: http://git-master/r/192939
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: clock: Add common EMC interface header
Alex Frid [Sat, 19 Jan 2013 05:09:09 +0000]
ARM: tegra: clock: Add common EMC interface header

Change-Id: I78538ad9a0061ba09bad5fb122ff672c93caef88
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/192625
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agogpio: tegra: Fix definition of TEGRA_GPIO_INVALID
Laxman Dewangan [Thu, 17 Jan 2013 12:56:12 +0000]
gpio: tegra: Fix definition of TEGRA_GPIO_INVALID

Make the TEGRA_GPIO_INVALID is -ve so that gpio_is_valid() return false
with this argument.

bug 1214078

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

6 years agoARM: tegra11: clock: Initialize XUSB clocks
Alex Frid [Fri, 11 Jan 2013 00:34:29 +0000]
ARM: tegra11: clock: Initialize XUSB clocks

Bug 1167739

Change-Id: I3c625ce9c2038755e29c56049ed904cde99fd5e6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/190440
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoARM: tegra11: clock: Change PLLE input clock
Alex Frid [Thu, 10 Jan 2013 06:13:39 +0000]
ARM: tegra11: clock: Change PLLE input clock

Changed PLLE input clock from PLL_RE to oscillator.

Bug 1167739

Change-Id: I26e6c34174a5d57903d5732b4a89439a6e166ed6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/190197
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoARM: tegra11: clock: Update XUSB plls configuration
Alex Frid [Thu, 10 Jan 2013 03:34:53 +0000]
ARM: tegra11: clock: Update XUSB plls configuration

- set PLLE spread spectrum coefficients
- added possible PLLE configuration with 12MHz input clock
- increased PLLREFE maximum rate to 672MHz

Bug 1167739

Change-Id: I435f4afc9f96d2338bb10dc2c7fca89c392aabe2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/190182
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoARM: tegra11x: Raise clock rate for C1NC power gating
Bo Yan [Tue, 15 Jan 2013 22:06:27 +0000]
ARM: tegra11x: Raise clock rate for C1NC power gating

The C1NC power gating has long latency when slow cpu runs at very
low clock rate. Raising it to 204MHz can reduce this latency
significantly. The CPU clock is reverted back to its original value
once slow CPU wakes up.

bug 1177454

Change-Id: Idc6122f0a2ba8ad35c963942c60e9cf4a4f0b0c2
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/193501
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: dalmore: update emc table to latest
Ray Poudrier [Wed, 23 Jan 2013 20:09:16 +0000]
ARM: tegra: dalmore: update emc table to latest

Bug 1189313

Change-Id: Ib2502085e533f3f858a058a337ef2cf4a62391c0
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/193500
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: Tegra: Parse memtype commandline argument
Graziano Misuraca [Fri, 18 Jan 2013 19:36:19 +0000]
ARM: Tegra: Parse memtype commandline argument

Parse memtype argument and make available
through 'tegra_get_memory_type()' call
in board.h

Change-Id: I6a5dbb3e91c071fb0714dbb52d3a5c99925b03e6
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/192465
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: board changes due to thermal_trip_info in soctherm
Diwakar Tundlam [Thu, 17 Jan 2013 21:20:56 +0000]
arm: tegra: board changes due to thermal_trip_info in soctherm

Bug 1200075

Change-Id: I7d9b6697e2aa2b13d70edfe8f6fe85d984ffd779
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/192163
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agovideo: tegra: camera: squash changes for pll_d2_clk
Jihoon Bang [Thu, 17 Jan 2013 18:19:29 +0000]
video: tegra: camera: squash changes for pll_d2_clk

Squash following changes. These changes are about
handling pll_d2_clk which is used to test pattern
generator in VI/CSI.

08c492d1d7d13: fix test pattern generator
60817b5005851: enable/disable pll_d2 in balance

Fix build error related for T148.
3beca1de87b49: fix build error

Fix uneven clk_enable/clk_disable.

Bug 1189789
Bug 1168336
Bug 1214620

Change-Id: I105d422578141002753c05a2f4579180873f832c
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/192115
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: Tegra: Roth: Modify Backlight Configuration
Matt Wagner [Wed, 16 Jan 2013 23:58:37 +0000]
ARM: Tegra: Roth: Modify Backlight Configuration

- Removes unnecessary configuration to the backlight pins
- Corrects Pinmux settings for backlight pins
- Adds pwm_gpio to backlight struct to prevent flicker on boot

Bug 1219004

Change-Id: I512ac8032e088e4f10efe7eb12ec43ef107c96d6
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/191822
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agovideo: backlight: pwm_bl: add pwm_gpio
Matt Wagner [Wed, 16 Jan 2013 23:54:46 +0000]
video: backlight: pwm_bl: add pwm_gpio

Add parameter for pwm_gpio if the pwm pin is on a GPIO

Doing this will allow us to keep the backlight on during boot

Bug 1219004

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

6 years agothermal: soctherm: use thermal_trip_info struct in soctherm driver
Diwakar Tundlam [Fri, 11 Jan 2013 19:16:10 +0000]
thermal: soctherm: use thermal_trip_info struct in soctherm driver

Bug 1200075

Change-Id: I8921168dbeaacda2f5783954f4f41d319974df81
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/190710
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>

6 years agoARM: Tegra: Pluto: Update emc dvfs tables
Graziano Misuraca [Thu, 10 Jan 2013 02:02:45 +0000]
ARM: Tegra: Pluto: Update emc dvfs tables

Add emc dvfs table for 792/408/204/102/68/
40.8/20.4/12.75 MHz support on Plutos with
AP40 Chip

Change-Id: Ia2a38937d01f9e2f6983f0a9aa4c18c35d1d8802
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/190155
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoRevert "input: touch: raydium: fix panic when touch panel not attached"
Xiaohui Tao [Tue, 15 Jan 2013 02:12:20 +0000]
Revert "input: touch: raydium: fix panic when touch panel not attached"

This reverts commit f2a25ba42dd4d6bb9be0c32ac2e269af3c2f1e7b
This change causes raydium touch for roth does not work

Bug 1207093

Change-Id: I89461a76f446ce960901d6a5ef72c02114a2e7d4
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Change-Id: I02044e164a64effc99acc5ad29d72f227fc30c71
Reviewed-on: http://git-master/r/191073
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoinput: touch: raydium: update suspend
David Jung [Mon, 7 Jan 2013 23:14:02 +0000]
input: touch: raydium: update suspend

Nvidia updates for power issues
during suspend.

Bug 1192465

Change-Id: I2e3a0ab9a16710783b50ec0a4ad3e221735b4c6a
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/189321
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: Roth: Implement touch infrastructure
Robert Collins [Fri, 7 Dec 2012 06:08:30 +0000]
ARM: tegra: Roth: Implement touch infrastructure

Nvidia changes to add Roth board files.

Bug 1178869

Change-Id: I11d5fafe34f1e3c7eb9389887bff2352e4103608
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/171519
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Jung <djung@nvidia.com>
Tested-by: David Jung <djung@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoinput: touch: raydium: update regulator code
Xiaohui Tao [Mon, 10 Dec 2012 18:59:56 +0000]
input: touch: raydium: update regulator code

Move the notifier registration to below the enable to
handle the case of the notifier being called
immediately after the regulator is enabled.
Remove the disabling of the regulators if the enable
has failed to prevent ref counts from being mismatched.

Bug: 1175407

Change-Id: I06ab9e014a0daa7d905baffaaae3669b6c00ea24
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
(cherry picked from commit 49586ecded95bcae80d8270fb6d8d85c79722e68)
Reviewed-on: http://git-master/r/173931
(cherry picked from commit 0568f596c6b697044da9865bf4a855121f965af4)
Reviewed-on: http://git-master/r/171517
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Jung <djung@nvidia.com>
Tested-by: David Jung <djung@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: roth: validatate gpio before using it
Mallikarjun Kasoju [Wed, 23 Jan 2013 11:17:29 +0000]
ARM: tegra: roth: validatate gpio before using it

After requesing gpio validate it before using it.

Bug 1222992

Change-Id: I2a91660740e620b84d85abbfe7823858ea621d04
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/193375
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11x: Fix BOND_OUT_L access
Antti P Miettinen [Fri, 18 Jan 2013 13:20:28 +0000]
ARM: tegra11x: Fix BOND_OUT_L access

Fix BOND_OUT_L register access to use the right offset.

Change-Id: I0ccc2adc6aaef7e542436e2c4d65994c59a5a2d3
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/192407
(cherry picked from commit 4d4758c45e5f330ebedf1b6417af98fc85682c78)
Reviewed-on: http://git-master/r/193321
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra11x: timer save/restore is removed
Bo Yan [Wed, 23 Jan 2013 02:36:33 +0000]
ARM: tegra11x: timer save/restore is removed

The current timer save and restore is unnecessary because it's done
by broadcast mode entry/exit. The clock event using arch timer does
not support the feature "CLOCK_EVT_MODE_PERIODIC", so there is
nothing comparable to tegra30 in which the periodic load has to be
preserved.

Change-Id: Ia1f91be4f7d1f6e827c95ce013502c77a3c389b0
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/193239
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>

6 years agoARM: tegra: roth: Pass nominal core voltage
Pavan Kunapuli [Mon, 21 Jan 2013 16:52:44 +0000]
ARM: tegra: roth: Pass nominal core voltage

Get the nominal core voltage value and pass it through platform data.
This is required for frequency tuning.

Bug 1181574
Bug 1189241

Change-Id: Ic8a56ef914c859148878788b8339ca8e768c2cf0
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/192642
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra30: Remove arch timer code from cpuidle
Bo Yan [Tue, 22 Jan 2013 23:35:18 +0000]
ARM: tegra30: Remove arch timer code from cpuidle

The cpuidle code for tegra30 now doesn't contain anything specific
to tegra chips with arch timer. tegra30 doesn't have arch timer.

The CONFIG_HAVE_ARM_TWD references are also removed since it is
always defined for tegra30.

Change-Id: If2d977104b4c179d4aa3b5672f808db7a5467e6f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/193179
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>

6 years agoARM: tegra11: clock: Add direct access to CPU backup source
Alex Frid [Fri, 18 Jan 2013 20:31:22 +0000]
ARM: tegra11: clock: Add direct access to CPU backup source

Added CPU backup source access API for CPU idle driver to directly
manipulate rate underneath cpufreq governor.

Change-Id: I837e591148c5ea82e036c6b236c115690313d2c2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/192490
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agostaging: iio: light: isl29028: appropriately set interrupt flag
Preetham Chandru R [Tue, 22 Jan 2013 12:55:17 +0000]
staging: iio: light: isl29028: appropriately set interrupt flag

set is_int_enable to true only if we register for a irq.

Bug 1211260

Change-Id: I603efe721796db70d504da7999e5d7939d45d13a
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/193047
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoNFS: Clear key construction data if the idmap upcall fails
Bryan Schumaker [Thu, 9 Aug 2012 18:05:49 +0000]
NFS: Clear key construction data if the idmap upcall fails

idmap_pipe_downcall already clears this field if the upcall succeeds,
but if it fails (rpc.idmapd isn't running) the field will still be set
on the next call triggering a BUG_ON().  This patch tries to handle all
possible ways that the upcall could fail and clear the idmap key data
for each one.

Bug 1217799

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
(cherry picked from commit c5066945b7ea346a11424dbeb7830b7d7d00c206)
Change-Id: Ie78c29df9b0af6a4906e86c53964f550b0f6b3d1
Reviewed-on: http://git-master/r/192868
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Mursalin Akon <makon@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agonfc: implement i2c shutdown for Broadcom nfc
Anita Kar [Thu, 17 Jan 2013 07:57:29 +0000]
nfc: implement i2c shutdown for Broadcom nfc

Implementation of i2c shutdown for bcm2079x nfc module
to discard any i2c communication after shutdown.

Bug 1203783

Change-Id: I10ac641629d5c6ab8d0adb229588a89d77ab99ae
Signed-off-by: Anita Kar <akar@nvidia.com>
Reviewed-on: http://git-master/r/191939
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonfc: implement i2c shutdown for nxp nfc
Anita Kar [Thu, 17 Jan 2013 09:27:02 +0000]
nfc: implement i2c shutdown for nxp nfc

Implementation of i2c shutdown for pn544 nfc module
to discard any i2c communication after shutdown.

Bug 1203783

Change-Id: I105d65239f50c3a97dc4cb4256ae87cbdcdca736
Signed-off-by: Anita Kar <akar@nvidia.com>
Reviewed-on: http://git-master/r/191956
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra11: dvfs: Add rail nominal voltage read interface
Alex Frid [Sat, 19 Jan 2013 03:29:09 +0000]
ARM: tegra11: dvfs: Add rail nominal voltage read interface

Change-Id: I76d8cebe5b70c70acf95e3feffd2c89a2ce11a05
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/192604
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>

6 years agoarm: tegra: board changes due to thermal_trip_info use in driver
Diwakar Tundlam [Thu, 17 Jan 2013 19:54:37 +0000]
arm: tegra: board changes due to thermal_trip_info use in driver

Bug 1200075

Change-Id: I5feae9296aae7a88585bbfc4a49478bb33602b40
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/192129
Reviewed-by: Automatic_Commit_Validation_User

6 years agommc: tegra: Tuning and tap selection for low freqs
Pavan Kunapuli [Tue, 22 Jan 2013 12:18:45 +0000]
mmc: tegra: Tuning and tap selection for low freqs

Adding frequency tuning solution for frequencies
below 82MHz in SDR104 and HS200 mode.

Bug 1189241
Bug 1181574

Change-Id: Iec55f36de850060c71a13b5dd42d815e573c1f1b
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/192114
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: edp changes due to thermal_trip_info use in driver
Diwakar Tundlam [Thu, 17 Jan 2013 19:44:26 +0000]
arm: tegra: edp changes due to thermal_trip_info use in driver

Bug 1200075

Change-Id: I96b01b1caa468c0d376e79b416aeb329e1cb0390
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/190820
Reviewed-by: Automatic_Commit_Validation_User

6 years agomisc: nct1008: use common thermal_trip_info in nct driver
Diwakar Tundlam [Fri, 11 Jan 2013 07:41:38 +0000]
misc: nct1008: use common thermal_trip_info in nct driver

Bug 1200075

Change-Id: I82e5a7ea8dc1e033ebf7d37ab17b39a4217b55e9
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/190574
Reviewed-by: Automatic_Commit_Validation_User

6 years agonvmap: expose refs, dupes, pins in debugfs
Kirill Artamonov [Tue, 23 Oct 2012 11:34:48 +0000]
nvmap: expose refs, dupes, pins in debugfs

Expose data needed for debugging memory leaks in nvmap.

Change-Id: I7011ea63eceb6a2de9cd8363c78555dee680ae04
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-on: http://git-master/r/171178
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Antoine Chauveau <achauveau@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra: roth: Add vdd_core consumer for sdmmc
Pavan Kunapuli [Tue, 22 Jan 2013 12:35:33 +0000]
ARM: tegra: roth: Add vdd_core consumer for sdmmc

Adding vdd_core consumer entry which will be used by the mmc driver
to set core voltage to a desired value during frequency tuning.

Bug 1189241
Bug 1181574

Change-Id: I80e81a09a57c4ec5bdbd1d38f9fd2b4be46a3fac
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/193044
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: dc: minimum window size is 1x1
Jon Mayo [Fri, 21 Dec 2012 01:32:05 +0000]
video: tegra: dc: minimum window size is 1x1

Use 1x1 as the minimum window size.

Bug 1193195
Bug 1221438

Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/173302
(cherry picked from commit 3f160560b48fdf501547b9fc1f7c5bf8bd5e32af)
Change-Id: Ib6039cd385f57f10727805333d5f1cb05e0b783b
Reviewed-on: http://git-master/r/192919
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: usb_phy: protect disable PMC and remove delay
Suresh Mangipudi [Mon, 21 Jan 2013 09:11:24 +0000]
ARM: tegra: usb_phy: protect disable PMC and remove delay

Disable the local irq to prevent context switch between disable PMC and
set RUN bit ops in case of remote wakeup.

Operations of disable PMC control and set RUN bit might be interrupted
and scheduled out which would take a long time until RUN bit set, so
device won't see the SOFs within 3ms and go back into suspend again.
Resulting in the ehci controller issuing a reset-resume, to recover.

Bug 1213088

Change-Id: Ia1232ef34ce7df937bcedbb2f294fffb4c8f9a73
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/192794
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agovideo: tegra: host: init static keys when lock debugging is enabled
Emma Yan [Mon, 21 Jan 2013 07:49:57 +0000]
video: tegra: host: init static keys when lock debugging is enabled

Fixed the warning messages from lockdep_init_map()

Bug 1048760

Reviewed on: http://git-master/r/140882
(cherry-picked from commit I651800826d1aa849c8aa51f18a52712d66fa2e35)

Change-Id: I4c5707cdc252e23b78772eab857f2afac8d80581
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/192772
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra11x: use CNTVCT for persistent clock
Bo Yan [Sat, 19 Jan 2013 02:24:12 +0000]
ARM: tegra11x: use CNTVCT for persistent clock

For systems with arch timer, TSC is always running, even during LP0.
virtual counter as source of persistent clock is more accurate. TSC is
guaranteed to be monotonically increasing. The side benefit is to
avoid the locking requirement which seems necessary for Tegra RTC.

Change-Id: I38afc6076d1b8ca90bb9a2bfe3b0cccbfc029cd3
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/192590
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>

6 years agoinput: touch: raydium: Add ftrace logging.
Vikas Jain [Fri, 18 Jan 2013 07:09:48 +0000]
input: touch: raydium: Add ftrace logging.

Enable Raydium IRQ handler ftrace logging for
profiling.

Bug 1170830.

Change-Id: I4ade91ea4e6cb1c1b7764f2cf2572f9bbaaa1287
Signed-off-by: Vikas Jain <vjain@nvidia.com>
Reviewed-on: http://git-master/r/192336
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoinput: touch: atmel: Update Ftrace logging.
Vikas Jain [Fri, 18 Jan 2013 06:37:23 +0000]
input: touch: atmel: Update Ftrace logging.

Renamed touchscreen ftrace event to reflect
hardware module it is tracing. With this change,
each touchscreen hardware will have seperate
ftrace events.

Bug 1170830.

Change-Id: I45ffb3a264d958c9732d89bd2b5d4d62a9640267
Signed-off-by: Vikas Jain <vjain@nvidia.com>
Reviewed-on: http://git-master/r/192314
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: Tegra: Dalmore: Update emc table: T40X
Peter Zu [Sat, 19 Jan 2013 06:36:47 +0000]
ARM: Tegra: Dalmore: Update emc table: T40X

T40X shares the same emc dvfs table as T40T

Change-Id: Ifee2e4b0f93d1e286713e6fb0033ae1564dcec09
Signed-off-by: Peter Zu <pzu@nvidia.com>
Reviewed-on: http://git-master/r/192622
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: imx091: lower max VI clock to 204MHz
Frank Chen [Thu, 17 Jan 2013 00:20:42 +0000]
video: tegra: imx091: lower max VI clock to 204MHz

Lower the max VI clock for imx091 from 250MHz
to 204MHz. This is to match what is currently
specified in the sensor mode table. This is done
by lowering the clock multiplier from 10.41667
to 8.5(24MHz * 8.5 = 204MHz).

On some older T114 platforms, we are not able to
set VI clock to 250MHz due to the slower memory
clock. This will end up slowing our VI_SENSOR
clock and make frame rate lower.

Bug 1207018

Change-Id: Ia8b582c740d57409b28e6aa696c29b85e23dceba
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/191825
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra11: clock: set IDDQOVERIDE for UTMIPLL
Rakesh Bodla [Tue, 15 Jan 2013 08:17:58 +0000]
ARM: tegra11: clock: set IDDQOVERIDE for UTMIPLL

Setting IDDQ_OVERRIDE for UTMIPLL by default,
otherwise power is consumed on UTMIPLL rail if no
usb device is active. Power is also seen
high once resume from LP0 if it is not set.

Bug 1174123

Change-Id: I96e9a4131396f86e1e20fa4d63e961a3864f31a9
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/191177
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoarm: Tegra: Beaver: PWRON key registration
Ramalingam C [Wed, 16 Jan 2013 06:32:31 +0000]
arm: Tegra: Beaver: PWRON key registration

Registration of PWRON key through PMU interrupt

Bug 1218247

Change-Id: I4d5d4a404fff28f2e34b1fd4af5712796eb8806c
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/191574
(cherry picked from commit 8c886374c74324c5bd627815126d7df052a8c885)
Reviewed-on: http://git-master/r/192029
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoasoc: tegra: Support Voice + Media
Scott Peterson [Thu, 17 Jan 2013 22:54:16 +0000]
asoc: tegra: Support Voice + Media

Add support for concurent voice and media
streams without using the DAM when the audio
codec supports two I2S interfaces.

Bug 1213272

Change-Id: Ie39d048a27003bc69ab40ee4d3087d15894f168f
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/192202
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoARM: tegra11: power: Enable core EDP support on Tegra11
Alex Frid [Fri, 18 Jan 2013 00:11:17 +0000]
ARM: tegra11: power: Enable core EDP support on Tegra11

Bug 1200217

Change-Id: I367ac46d21fdeb66dfe5dcb985372d18dfad84f0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/192287
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra11: power: Update core EDP 6A limit table
Alex Frid [Thu, 17 Jan 2013 07:30:35 +0000]
ARM: tegra11: power: Update core EDP 6A limit table

Bug 1200217

Change-Id: I2a6fbcbcaa2a018be27587019a595c0dc7544059
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/192286
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra11: dvfs: Add CL-DVFS shutdown callback
Alex Frid [Wed, 16 Jan 2013 07:19:13 +0000]
ARM: tegra11: dvfs: Add CL-DVFS shutdown callback

Change-Id: I883b32d7924d9d9b47f76c08b20da66add327dd2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191913
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Add CL-DVFS pm callbacks
Alex Frid [Wed, 16 Jan 2013 03:26:25 +0000]
ARM: tegra11: dvfs: Add CL-DVFS pm callbacks

Moved CL-DVFS closed loop suspend/resume operations from syscore
callbacks to CL-DVFS device power management callbacks.

Change-Id: I6cd175c18037504e2539a51b02b5e89a26313a35
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191912
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: power: Use PLL lock on exit from LP1
Alex Frid [Tue, 15 Jan 2013 04:54:40 +0000]
ARM: tegra: power: Use PLL lock on exit from LP1

Made common clock configuration macros visible for assembler. This
effectively enabled usage of PLL lock indicators when exiting from
LP1 state on Tegra30 and Tegra11 platforms.

Change-Id: If6b94145c9480233cd21f60037ff04722009a4ef
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191109
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agomisc: nct: re enable suspend/resume with proper power on delay
Sri Krishna chowdary [Tue, 8 Jan 2013 05:44:07 +0000]
misc: nct: re enable suspend/resume with proper power on delay

Bug 1205034
Bug 1219601

Change-Id: I66581a022f42517bb9cd08ca49cdf57a28deb322
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/189429
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: Tegra: Roth: Move tegra_camera rails to vi
Matt Wagner [Thu, 17 Jan 2013 23:42:06 +0000]
ARM: Tegra: Roth: Move tegra_camera rails to vi

tegra_camera has moved inside of vi, so we need to change
how the regulators are set up

Bug 1220330

Change-Id: Icb04579ca7227ae710f9f5a9c13c1bf0c4391fe5
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/192201
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Patrick Shehane <pshehane@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra11: clock: Update PLLD/D2 594MHz rate table
Alex Frid [Thu, 17 Jan 2013 04:38:08 +0000]
ARM: tegra11: clock: Update PLLD/D2 594MHz rate table

Bug 1170010

Change-Id: Ib8a72143c16b136676d1a12d22c0563a838f318c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191894
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoARM: tegra11: clock: Fix SCLK input mux
Alex Frid [Thu, 17 Jan 2013 02:40:11 +0000]
ARM: tegra11: clock: Fix SCLK input mux

Replaced secondary divider PLLP_OUT3 in system clock input mux
definition with main PLLP output to match h/w.

Change-Id: Icdf2de2bf79665bccbe9e68d12386e0b9738960f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191893
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agothermal: platform_data: define common thermal_trip_info structure
Diwakar Tundlam [Thu, 10 Jan 2013 22:59:25 +0000]
thermal: platform_data: define common thermal_trip_info structure

Add a common platform_data header file to share trip point information
among thermal sensor drivers and platform files.

Bug 1200075

Change-Id: Iee5bb387b352c57362156415c6a73bc99539ee00
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/190823
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>

6 years agopower: max17042: fixed a race in the shutdown func
Gaurav Batra [Sat, 15 Dec 2012 02:02:04 +0000]
power: max17042: fixed a race in the shutdown func

Change-Id: I64963a835596fcf506bc39e7f7120e879aa0a419
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 613ea588174ebd97ffc3ef3601cd3b7fac526b03)
Reviewed-on: http://git-master/r/191682
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max77665: fix null pointer dereference
Sivaram Nair [Wed, 16 Jan 2013 11:28:11 +0000]
power: max77665: fix null pointer dereference

This patch fixes a null pointer dereferece that happens because the irq
handler is called before the charger is completely initialized.

Change-Id: I893fe0aba712965e36472146882272bdf115faa5
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/191681
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agopower: max17042: adjust depletion during charging
Sivaram Nair [Mon, 14 Jan 2013 14:36:21 +0000]
power: max17042: adjust depletion during charging

In order to adjust the system-EDP budget to reflect the constraints that
may be imposed by the available charging current, the battery depletion
client must identify when the charger is being used and at what maximum
current it has been programmed.  Whenever the MAXIM charger is enabled,
and also whenever the MAXIM charger is re-configured during a charging
phase, the Battery Depletion Client should be called to read the
following MAX77665A register describing the input charger current limit,
CHGIN_ILIM. This value should be added to the value of IBATPOSSIBLE.
Calculating IBATPEAKSAFE, the safe peak limit imposed by the batt

Bug 1049930

Change-Id: I0872c340fb4bde0f9192a6ce39c4f2c34d204de6
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit c982e3d19b6a2c40e6a3e7e22e48fdc40496d5f1)
Reviewed-on: http://git-master/r/191638
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max17042: IBAT-PEAKSAFE from TEMPERATURE
Sivaram Nair [Tue, 8 Jan 2013 07:27:57 +0000]
power: max17042: IBAT-PEAKSAFE from TEMPERATURE

The battery depletion client need to calculate IBATPEAKSAFE using the
TEMPERATURE register in the fuel gauge and the SAFE-IBAT-SPEC table,
a small lookup table provided by the battery vendor.

Bug 1049930

Change-Id: Icc6f77087198359a6bcc6a098c72e5c16131d1d9
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 571b913d6cb6115f44b8d15669a389270439c9ab)
Reviewed-on: http://git-master/r/191637
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max77665: pass CHGIN_ILIM to update_status
Sivaram Nair [Mon, 14 Jan 2013 14:11:39 +0000]
power: max77665: pass CHGIN_ILIM to update_status

This is a WAR for problems mentioned in the bug report (see below).
Instead of passing true, the charging limit (a non-zero) value is passed
into the update_status callback function. This will be exploited by the
fuel guage driver in order to calculate the battery depletion values.

Bug 1214607

Change-Id: I16bdcd99aafd1e03d0377cb6849352dbaa1e2ad9
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit bf9d20d92ae4c2b5c4796260bc34901f4f5e9cb1)
Reviewed-on: http://git-master/r/191636
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: power: Add clock change delay on LP1 entry
Alex Frid [Tue, 15 Jan 2013 05:11:43 +0000]
ARM: tegra: power: Add clock change delay on LP1 entry

Inserted 2us delay between system and CPU clock changes on LP1
state entry.

Change-Id: I3e8fde0be253a30327c4187de121a0b5e85135f4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191110
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoarm: tegra: pluto: enable charger interrupt
Syed Rafiuddin [Wed, 21 Nov 2012 16:24:48 +0000]
arm: tegra: pluto: enable charger interrupt

passing of charger interrupt number from platform
data to max77665 charger driver.

Change-Id: Ifef1ad65f83eada7b5e28d9c1e665076c14e0262
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 9ecce79d6b2771f0275c25c35f5be49703219f54)
Reviewed-on: http://git-master/r/188544
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarch: arm: configs: Enable BOOST_CPU_FREQ
Rohith Seelaboyina [Mon, 7 Jan 2013 08:39:20 +0000]
arch: arm: configs: Enable BOOST_CPU_FREQ

Enable BOOST_CPU_FREQ Entry to increase the i/o performance

Bug 1194536

Change-Id: I8e4bbd9ad954e660355404f13c7b0154c6e21713
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/191891
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra11: dvfs: Update dispaly, sdmmc1,3 dvfs tables
Alex Frid [Thu, 17 Jan 2013 01:55:34 +0000]
ARM: tegra11: dvfs: Update dispaly, sdmmc1,3 dvfs tables

Bug 1161126

Change-Id: I4e8e9f75d8055ef23afcd55e5f75ea1dad50056b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191850
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>

6 years agoARM: tegra: power: Defer switch to 32kHz on LP1 entry
Alex Frid [Tue, 15 Jan 2013 05:20:56 +0000]
ARM: tegra: power: Defer switch to 32kHz on LP1 entry

Deferred switching system clock to 32kHz source after all PLLs are
disabled. There is no need to slow down entry procedure by PLLs
manipulation in 32kHz domain.

Change-Id: I2cfad09f80baa9deda8626ae78cbfcc3326dc7d3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191111
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra: power: Update PLL configuration in LP1 state
Alex Frid [Fri, 21 Dec 2012 04:34:33 +0000]
ARM: tegra: power: Update PLL configuration in LP1 state

- Put Tegra11 PLLs (PLLM, PLLC, PLLX) in IDDQ mode during LP1 state
- Made sure Tegra30 style PLL lock detect control is not applied to
Tegra11 PLLs (it was overwriting some unrelated Tegra11 bits)
- Added Tegra30 PLL lock detect reset pulse (Bug 1198457)

Change-Id: Ib14a86ffdc24144620f1dc18cf8a0c4c23b6b3e2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/191097
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agopower: max17042: add POWER_SUPPLY_PROP_STATUS
Syed Rafiuddin [Mon, 26 Nov 2012 06:00:17 +0000]
power: max17042: add POWER_SUPPLY_PROP_STATUS

addition of POWER_SUPPLY_PROP_STATUS to update the status
as charging/discharging

Change-Id: Ifcf177eb23ab8921fe52e26699e37541c46189f8
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 57cd463093034f1d8d1dc96f9e9f1093df626a86)
Reviewed-on: http://git-master/r/188545
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Tested-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max77665: Allocate empty extcon_specific_cable_nb for cables
Chaitanya Bandi [Tue, 15 Jan 2013 11:04:53 +0000]
power: max77665: Allocate empty extcon_specific_cable_nb for cables

Allocate empty extcon_specific_cable_nb for cables for each of the
cables in max77665.

Bug 1215219

Change-Id: I29c0c8d7c8ec05cf42beba278ef837e0806c229a
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/191319
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: dalmore: Do not enable smps10 boost
Mallikarjun Kasoju [Wed, 16 Jan 2013 11:38:24 +0000]
ARM: tegra: dalmore: Do not enable smps10 boost

Bug 1053406

Change-Id: Iecc7df2d0b6276f00c8f4b404deecb3349fcce09
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/191667
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoi2c: tegra: Add early_suspend support for always on i2c-clocks
Chaitanya Bandi [Mon, 3 Sep 2012 08:56:02 +0000]
i2c: tegra: Add early_suspend support for always on i2c-clocks

Added early_suspend support for always_on i2c clocks such that
they are disabled after blank screen.

Bug 1040399
Bug 1054627

Change-Id: I61fad80f77c8299e850b7cb672f6b7a02ef1d89a
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/130633
(cherry picked from commit 05238e6e8cc67a0b582f9ef5d3751a1789fe5833)
Reviewed-on: http://git-master/r/191533
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoasoc: tegra: aic326x: Fix BT and normal voice call switching
Rahul Mittal [Wed, 16 Jan 2013 09:37:40 +0000]
asoc: tegra: aic326x: Fix BT and normal voice call switching

DAM was getting configured in passthrough mode in normal voice call path
DAM not required in normal voice call, as BB and codec both operate at 16khz
Disabled the DAM from voice path for aic3262 codec, which fixed the switching

Bug 1179798

Change-Id: I65fbcefa157eaa7f507a1352c3cfe7abc3661bb3
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/191633
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agommc: block: Ignore mmc_blk_abort for out_of_range
Naveen Kumar Arepalli [Wed, 26 Dec 2012 12:09:00 +0000]
mmc: block: Ignore mmc_blk_abort for out_of_range

As per SDA spec On CMD18 (multi read command),
when reading the last unprotected area block,
OUT_OF_RANGE error can occur, this needs to be
ignored by the driver.

Bug 947965
Bug 1194300

Change-Id: Ie948e548924d502f673d77245f60327654c73310
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/174286
(cherry picked from commit d188a339803f22e3c140fc51588e4d38dc93d01c)
Reviewed-on: http://git-master/r/191569
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra11: dvfs: Fix variable name spelling
Alex Frid [Sat, 12 Jan 2013 02:34:10 +0000]
ARM: tegra11: dvfs: Fix variable name spelling

Change-Id: Ib991c78542113aca51f7d34274fde836a715f7aa
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/190830
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Enable clock on CL-DVFS debugfs access
Alex Frid [Sat, 12 Jan 2013 04:34:31 +0000]
ARM: tegra11: dvfs: Enable clock on CL-DVFS debugfs access

Made sure module clock is enabled during access to CL-DVFS registers
via debugfs interface.

Change-Id: Ieb9a239cd828b68901277ca9fb109d4fec11810e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/190829
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Re-factor CL-DVFS initialization
Alex Frid [Sat, 12 Jan 2013 03:30:33 +0000]
ARM: tegra11: dvfs: Re-factor CL-DVFS initialization

Moved platform data NULL-pointers validation before CL-DVFS object
is allocated. Removed redundant and added missed NULL-pointers checks.

Change-Id: Iceafe7bb586ff5ae996e72d1331bf9ffa2868681
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/190828
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Update CL-DVFS output disable procedure
Alex Frid [Wed, 5 Dec 2012 04:56:11 +0000]
ARM: tegra11: dvfs: Update CL-DVFS output disable procedure

Poll for CL-DVFS idle state. When two samples in a row with 2us delay
show no output transaction, disable output. Then check CL-DVFS state
again, and exit if it is still idle. Otherwise, re-enable output, and
continue poll for idle state, until timeout.

The overall idle polling scheme is the same as before, just dual idle
state confirmation with 2us delay is added.

Bug 1159200

Change-Id: Ib4c217a7bc13da3089d065ef33aab37c6f1b4043
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/190817
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoconfig: tegra[3,11]: enable ethernet over USB OTG
Mursalin Akon [Fri, 11 Jan 2013 22:52:04 +0000]
config: tegra[3,11]: enable ethernet over USB OTG

enable ethernet over USB OTG

Bug 1199856

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

6 years agoconfig: tegra11: re-generate config
Mursalin Akon [Fri, 11 Jan 2013 22:49:38 +0000]
config: tegra11: re-generate config

commands used:
make ARCH=arm tegra11_defconfig
make ARCH=arm savedefconfig
cp defconfig arch/arm/configs/tegra11_defconfig

Bug 1199856

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

6 years agoasoc: tegra: cs42l73: change sw registration logic
Nikesh Oswal [Thu, 3 Jan 2013 15:28:21 +0000]
asoc: tegra: cs42l73: change sw registration logic

change switch registration and unregistration logic
to use common api's implemented in tegra_asoc_utils

Bug 1203124

Change-Id: Ie5264617b330d9bda6481eae410c0fdb59139e07
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/188339
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoasoc: tegra: add control to set headset state
Nikesh Oswal [Thu, 3 Jan 2013 15:22:37 +0000]
asoc: tegra: add control to set headset state

add alsa control to set headset switch state

Bug 1203124

Change-Id: Ieacf387e5a9b0d3215ad1e022fa5ab606618d44a
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/188337
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agonvmap: implement deferred cache maintenance
Kirill Artamonov [Mon, 25 Jun 2012 17:13:57 +0000]
nvmap: implement deferred cache maintenance

Defer maintenance till pin or unmap. Handle multiple deferred
operations in batches to flush faster. Enable full L1/L2 flush
if batch is big enough.

bug 983964
bug 994226

Reviewed-on: http://git-master/r/138931
(cherry picked from commit 01d0145ea95c7f98aa4bea3f71962872ba70bdfc)
Change-Id: I29bc82ded1fd7282426e8f161cc55e17f67fc649
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-on: http://git-master/r/171176
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: hsic: protect disable PMC and set RUN
Yunfan Zhang [Thu, 3 Jan 2013 08:22:47 +0000]
ARM: tegra: hsic: protect disable PMC and set RUN

Disable local irq to prevent context switch between disable PMC and
set RUN bit ops in case of remote wakeup.

Operations of disable PMC control and set RUN bit might be interrupted
and scheduled out which would take a long time until RUN bit set, so
device won't see the SOFs within 3ms and go back into suspend again.

Bug 1164414

Change-Id: Ie51ebbfac8ed51d64e39592b4ee8363d063d82f5
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/189076
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Neil Patel <neilp@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agonet: wireless: bcmdhd: remove the dhd_chipup_sem
Wei Ni [Mon, 17 Dec 2012 05:46:21 +0000]
net: wireless: bcmdhd: remove the dhd_chipup_sem

Remove the unnecessary semaphore dhd_chipup_sem.
This semaphore was not initialized, it will cause the crash
when calling it. And it was called only one time, so it's a
unnecessary semaphore. Remove it.

bug 1179891

Reviewed-on: http://git-master/r/171794
(cherry picked from commit e849d4d9dfdb17681016f8a5bba9758376a20d6e)

Change-Id: I30e0d1fa1216f2c23ed638af4daa0eb4a72ff4a4
Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-on: http://git-master/r/173306
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agopower: max17048: use subsys_initcall
Syed Rafiuddin [Tue, 15 Jan 2013 07:27:58 +0000]
power: max17048: use subsys_initcall

use subsys_initcall in max17048 fuel-gauge driver

Change-Id: Ied62719e758e34ae11f130f90fe956d81a31227b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/191149
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Nilesh Bhoite <nbhoite@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: roth: bq2491x usb regulator support
Syed Rafiuddin [Wed, 9 Jan 2013 10:11:22 +0000]
arm: tegra: roth: bq2491x usb regulator support

use usb regulator to configure input current limit
of bq2491x charger driver.

Change-Id: I08761170482eb8f2dde35878e2808f142238cab1
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/191148
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Nilesh Bhoite <nbhoite@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: bq2491x: use usb regulator to configure i/p current
Syed Rafiuddin [Wed, 9 Jan 2013 10:10:55 +0000]
power: bq2491x: use usb regulator to configure i/p current

use usb regulator to configure the input current limit

Change-Id: Ic4233195a4c13f1d571a1f76fa676e1f6b0109e6
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/191147
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Nilesh Bhoite <nbhoite@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoArm: tegra: config: Enable bq2419x charger driver
Syed Rafiuddin [Fri, 11 Jan 2013 10:07:23 +0000]
Arm: tegra: config: Enable bq2419x charger driver

Enable bq2419x battery charger driver

Change-Id: Id5d40d43135940335116ab1b94c46bab1e539419
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/#change,187631
(cherry picked from commit 67c00e02dd94850368559f036c94920a7b91a5ea)
Reviewed-on: http://git-master/r/190651
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoroth: power: check battery presence
Syed Rafiuddin [Sun, 30 Dec 2012 14:59:05 +0000]
roth: power: check battery presence

check presence of battery based on fg driver

Change-Id: I0b6beb7bc6d3c441d4c93f4037d0a5af108233b7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/#change,187632
(cherry picked from commit 221766dfd5f5cebf56a84c0c6557bd5e07d34e1d)
Reviewed-on: http://git-master/r/190650
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: roth: battery data with 3.2v threshold
Syed Rafiuddin [Fri, 21 Dec 2012 11:51:15 +0000]
arm: tegra: roth: battery data with 3.2v threshold

change battery characterization data with 3.2v lower threshold.

Change-Id: I1ea7f5dc9d23693f79c10b35c5104b98ca5136f0
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/174074
(cherry picked from commit 4162d846ad1508d4e377e15ea475b1bda7c28ff1)
Reviewed-on: http://git-master/r/173622
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoRevert "ARM: tegra: pluto: enable pull-down for MDM1 UART RX"
Steve Lin [Thu, 10 Jan 2013 21:01:24 +0000]
Revert "ARM: tegra: pluto: enable pull-down for MDM1 UART RX"

This reverts commit b3b5ba3f1bb9cdd01e9791259e93c7dce7cacdf6 which
causes modem boot failure on pluto A03 boards.

Bug 1215481

Change-Id: Ibf013979657e9f51f885539ceda00d94c02f7411
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/190395
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>