6 years agoinput: misc: cm3218: ensure device is put to low power mode
Sri Krishna chowdary [Wed, 2 Jan 2013 10:03:43 +0000]
input: misc: cm3218: ensure device is put to low power mode

During resume some other device may enable the regulator
and cm3218 although not enabled, is kept in active state.
Ensure device is put into low power state.

Bug 1198671

Change-Id: I54aa60220c76542ebb1eca774cc48983a73711b8
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/187963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra11: power: Add CPU EDP safety limits
Alex Frid [Sat, 29 Dec 2012 05:18:47 +0000]
ARM: tegra11: power: Add CPU EDP safety limits

Added fixed absolute CPU EDP safety limits that are applied on top
of calculated EDP limits across all temperatures and process corners.

Bug 1161126

Change-Id: I9cb33a0a94115a83220d9b70950823fcbbf96427
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187570
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: throttle: Aggregate core cap level
Jinyoung Park [Tue, 25 Dec 2012 19:42:09 +0000]
ARM: tegra: throttle: Aggregate core cap level

Aggregated core cap level for all enabled balanced throttling.

Bug 1200202

Change-Id: I68db648154b94e0d3794c28bb2eaf6a309f2a222
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/174179
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agomisc: nct1008: Update thermal zone device for all events.
Jinyoung Park [Tue, 25 Dec 2012 19:14:55 +0000]
misc: nct1008: Update thermal zone device for all events.

Previously, the driver updates thermal zone device only when passive
is enabled. But sometimes this can be missing a therm interrupt, if it
happens therm interrupt when passive is enabled. So update thermal zone
device for all events.

Bug 1200202

Change-Id: I472c64b94bb39ab6f0e82f875756eb6af9921c1b
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/174178
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoi2c: tegra: Use IMMEDIATE option for I2C Bus Clear
Chaitanya Bandi [Mon, 31 Dec 2012 11:11:22 +0000]
i2c: tegra: Use IMMEDIATE option for I2C Bus Clear

Use Immediate option instead of Threshold in case of
I2C bus clear logic.

Bug 1210176

Change-Id: Idc1bd977cd0ac79092117ace5f3283d9219b1eb1
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/188220
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoasoc: tegra: Roth headphone detection
Scott Peterson [Fri, 28 Dec 2012 03:11:42 +0000]
asoc: tegra: Roth headphone detection

Fixed clocking issues when doing headphone detection
on roth. The NXP device requires an active I2S interface
in order to supply clocks for programming.

Bug 1210696

Change-Id: I6e18daa349448d14e7ea2c98df2917213d24d82a
Signed-off-by: Scott Peterson <speterson@nvidia.com>
(cherry picked from commit 5d386c3275f38c84686f9b7f2181b5ecb08e0391)
Reviewed-on: http://git-master/r/188063
Tested-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>

6 years agomisc: nct: add delay when regulator enables
Sri Krishna chowdary [Mon, 31 Dec 2012 12:59:48 +0000]
misc: nct: add delay when regulator enables

Bug 1205034

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

6 years agohwmon: ina230: power down ina devices after init
Deepak Nibade [Wed, 2 Jan 2013 08:29:26 +0000]
hwmon: ina230: power down ina devices after init

-power down ina devices by setting register values
-earlier power down method was a conditional one
and left ina devices ON after init

Bug 1211188

Change-Id: I113a1e7dc3eb6c211dab58596090c6c508364e25
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/187946
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: clock: Fix parsing emc_max_dvfs parameter
Alex Frid [Sun, 30 Dec 2012 04:19:39 +0000]
ARM: tegra: clock: Fix parsing emc_max_dvfs parameter

Bug 1193281

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

6 years agoARM: tegar11: dvfs: Update cbus dvfs tables
Alex Frid [Sat, 29 Dec 2012 02:13:42 +0000]
ARM: tegar11: dvfs: Update cbus dvfs tables

Bug 1161126

Change-Id: I4956044c6d55faf3a1dda898c34385177e6c9439
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187564
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: clock: Update PLLC2/3 filter settings
Alex Frid [Fri, 28 Dec 2012 21:23:13 +0000]
ARM: tegra11: clock: Update PLLC2/3 filter settings

Bug 1170010

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

6 years agoarm: tegra: dalmore: remove incorrect dpd code
Pritesh Raithatha [Wed, 19 Dec 2012 05:38:32 +0000]
arm: tegra: dalmore: remove incorrect dpd code

Wifi is on SDMMC1(sdhci-tegra.0) and upon wifi power on it is
disabling dpd of SDMMC3(sdhci-tegra.2) which is connected to
external sdcard. That is incorrect so removing this dpd control
code from wifi power on.

Change-Id: Ida2295d56cdcd6c89bcdfd2b603327140deb4c30
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173047
Reviewed-on: http://git-master/r/187378
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: pluto: remove incorrect dpd code
Pritesh Raithatha [Tue, 18 Dec 2012 13:27:56 +0000]
arm: tegra: pluto: remove incorrect dpd code

Wifi is on SDMMC1(sdhci-tegra.0) and upon wifi power on it is
disabling dpd of SDMMC3(sdhci-tegra.2) which is connected to
external sdcard. That is incorrect so removing this dpd control
code from wifi power on.

Change-Id: Ia88df5bbcfc546d701a15f050bb3f3a50068d3a2
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173046
Reviewed-on: http://git-master/r/187377
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: dalmore: remove unused names
Jihoon Bang [Wed, 26 Dec 2012 22:02:44 +0000]
ARM: tegra: dalmore: remove unused names

Remove unused power name to avoid confusion.

Bug 1168663

Change-Id: I9b002626df21475b41311c1e5feca53e6031f983
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/174333
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: misc: nct: add userspace event
Amit Kamath [Fri, 30 Nov 2012 08:39:02 +0000]
drivers: misc: nct: add userspace event

Use thermal interface to notify of thermal changes for all
thermal trip points using netlink sockets.

bug 1042409

Change-Id: Ia8ec1891f74aacbd4eb2692dee89c5b4457a5cf8
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/170984
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agonet: usb: raw_ip: max_intfs to be non-writable
JC Kuo [Tue, 13 Nov 2012 06:36:03 +0000]
net: usb: raw_ip: max_intfs to be non-writable

max_intfs is a varible which determines loop counts in driver
functions at runtime. Userspace could modify its default value at
module load time but it shouldn't be changed at runtime.

Bug 1175543

Change-Id: Id8e8055711288f900e5cffb704a2cf823dd97a34
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/187794
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoaudio:Update NXP configurations.
Vinod Subbarayalu [Sun, 30 Dec 2012 01:29:44 +0000]
audio:Update NXP configurations.

Change-Id: I089ac10a1bc0e922379a0046d17adcf3d04c880f
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
(cherry picked from commit a9c85f3c9302f8a20d4b5ff3da1e5f5205a82712)
Reviewed-on: http://git-master/r/187663
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agommc: host: Add SD/SDIO error stats support
rrajk [Mon, 31 Dec 2012 07:45:03 +0000]
mmc: host: Add SD/SDIO error stats support

Adding Debugfs support for SD/SDIO error stats
reports to debug the system.

Bug 1170517

Change-Id: I4f0d6659cdbeb6ce8360bd0cf5d69584e7830fdc
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/171813
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra11: clock: Update PLLD/D2 cpcon settings
Alex Frid [Fri, 28 Dec 2012 22:21:46 +0000]
ARM: tegra11: clock: Update PLLD/D2 cpcon settings

Bug 1170010

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

6 years agoARM: tegra: clock: Reset pll lock detect circuit
Alex Frid [Thu, 20 Dec 2012 04:50:38 +0000]
ARM: tegra: clock: Reset pll lock detect circuit

On Tegra30 and Tegra11 platforms reset pll lock detect circuit
as part of PLL enable sequence.

Bug 1198457

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

6 years agopower: max17042: added shutdown functionality
Gaurav Batra [Tue, 20 Nov 2012 00:24:29 +0000]
power: max17042: added shutdown functionality

Change-Id: Ie0ec4e2970c645decde1c50e9858c9d4b2c41fd8
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/164812
(cherry picked from commit 6f3442a52e5ff28e5de217342035c510943d118c)
Reviewed-on: http://git-master/r/173782
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agonetlink: remove return value check for netlink_broadcast()
Amit Kamath [Fri, 14 Dec 2012 12:19:26 +0000]
netlink: remove return value check for netlink_broadcast()

Based on commit to change return value for netlink_broadcast
commit ff491a7334acfd74e515c896632e37e401f52676
Author: Pablo Neira Ayuso <pablo@netfilter.org>
Date:   Thu Feb 5 23:56:36 2009 -0800

Change-Id: I2adcfcb9f877effa2b04db74c8e90af36604e885
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/171416
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoARM: tegra: power: Add voltage to freq convertion interface.
Amit Kamath [Mon, 17 Dec 2012 07:22:30 +0000]
ARM: tegra: power: Add voltage to freq convertion interface.

Use EDP generated tables to calculate the frequency supported at
a specified voltage

bug 1042409

Change-Id: Id2aa6ac61023b9c9de1810fe6a46e4a1bc70eed0
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/171819
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoinput: misc: cm3218: add shutdown functionality
Sri Krishna chowdary [Thu, 20 Dec 2012 14:23:35 +0000]
input: misc: cm3218: add shutdown functionality

Bug 1203781

Change-Id: Ibfa339ef801b1cb730409bd4657c16e4d669c558
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173151
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra11: clock: Update PLLC2/3 VCO limits
Alex Frid [Thu, 20 Dec 2012 04:07:36 +0000]
ARM: tegra11: clock: Update PLLC2/3 VCO limits

Bug 1055552

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

6 years agoroth: kbc: make A01 fab as default setting
Laxman Dewangan [Fri, 28 Dec 2012 06:16:55 +0000]
roth: kbc: make A01 fab as default setting

If board-id is properly program and if it is A00 then only
configure key for A00 otherwise configure it for A01 and more.

Change-Id: I26eab54e494c7ef77547cade770bb286d6f4a885
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/187369
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoThermal: Allow first cooling device update
Alex Frid [Fri, 28 Dec 2012 02:17:29 +0000]
Thermal: Allow first cooling device update

To allow first update of cooling device state during registration,
initialized "updated" device field as "false" (instead of "true").

Change-Id: Ie52f2c544f9351b2977578ca6a1af69e8affaea3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174576
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra11: dvfs: Add core rail cooling device
Alex Frid [Thu, 27 Dec 2012 22:40:03 +0000]
ARM: tegra11: dvfs: Add core rail cooling device

Implemented core rail cooling device to limit minimum core voltage
at cold temperature.

Bug 1177204

Change-Id: Icfc4144f6124ca2a471bd0637106262be46fce9a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174549
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra11: dvfs: Add core rail thermal trip-point
Alex Frid [Thu, 27 Dec 2012 20:42:33 +0000]
ARM: tegra11: dvfs: Add core rail thermal trip-point

Added core rail thermal trip-point necessary to limit minimum core
voltage at cold temperature. The respective cooling device has not
been implemented, yet.

Bug 1177204

Change-Id: I15235c9bc1a4184f0ddbde256e47080c359a0566
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174548
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra: pluto: Add MAX8331 backlight EDP platform data
Chaitanya Bandi [Wed, 26 Dec 2012 09:01:22 +0000]
arm: tegra: pluto: Add MAX8331 backlight EDP platform data

Added plaform data for MAX8831 backlight EDP

Bug 1159966

Change-Id: I8f8ebf4f969521cec1f5f1f3c49e0f96cff7395b
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174235
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agobacklight: max8831: Add support for EDP
Chaitanya Bandi [Wed, 26 Dec 2012 08:59:08 +0000]
backlight: max8831: Add support for EDP

Added EDP support for MAX8831 backlight chip

Bug 1159966

Change-Id: Ie4553c054caeac6e7ff58ca7ac4cca9ed0f3eced
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174234
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoi2c: tegra: Queue a write and read together
Chaitanya Bandi [Fri, 23 Nov 2012 11:07:28 +0000]
i2c: tegra: Queue a write and read together

A write transaction followed by a read transaction
can be programmed at one go if the write size is less
than 8 bytes. This way clock stretching at such a write
transaction done otherwise (programming one after the other)
can be reduced significantly.

Bug 1178302

Change-Id: I5ded49a55b5a2e224ed17d07850ee660d280bed2
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/165908
(cherry picked from commit 2eee450bfb2ca792dca72310dc5bafd044d6ed2e)
Reviewed-on: http://git-master/r/173605
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomisc: nct1008: Fix nct1008 reading negative on suspend resume
Diwakar Tundlam [Tue, 18 Dec 2012 23:43:32 +0000]
misc: nct1008: Fix nct1008 reading negative on suspend resume

Do not save standby state in saved config to avoid some unknown race
condition that corrupts it on suspend and resume leading to improper
range setting and negative temperature readings.

Bug 1202277

Change-Id: I043b6c66e6113008756425a68b0e8ffbe95d0cab
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/172516
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agomfd: max8907c: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:45:40 +0000]
mfd: max8907c: Use dev_pm_ops for suspend/resume

Modified suspend/resume of max8907c to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Idb562b4ffc909690f219c1ac9cfc7d45201de629
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174281
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomisc: nct1008: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:29:32 +0000]
misc: nct1008: Use dev_pm_ops for suspend/resume

Modified suspend/resume of nct1008 to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Ic96630b3eafc6056ded9fdf43c8283a7e1617cb0
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174275
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomisc: apds9802als: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:27:58 +0000]
misc: apds9802als: Use dev_pm_ops for suspend/resume

Modified suspend/resume of apds9802als to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: I1eb69cac3323cd97ca3446d1b5b6ad3bb0b67aeb
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174274
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomfd: ricoh583: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:27:16 +0000]
mfd: ricoh583: Use dev_pm_ops for suspend/resume

Modified suspend/resume of ricoh583 to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: I5b7659fc4c061df58607841a7c249d0dec98aecd
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174273
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomfd: tps6591x: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:24:08 +0000]
mfd: tps6591x: Use dev_pm_ops for suspend/resume

Modified suspend/resume of tps6591x to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Ibf548c4cbe35ff318e8cb8719f6f289434c04a5c
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174272
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: KBC: support long press power key 1001SKU
aghuge [Wed, 19 Dec 2012 11:57:53 +0000]
ARM: tegra: KBC: support long press power key 1001SKU

Added support for long press power key functonality

Reviewed-on: http://git-master/r/172776
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 15d63caf7a656fb56ae9790f243c4b37c80b25b0)

Change-Id: I71be76eea1d6572c84447fd626f490fdc08da027
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/173314
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: cpu: Add interface for voltage limiting
Amit Kamath [Thu, 13 Dec 2012 11:54:15 +0000]
arm: tegra: cpu: Add interface for voltage limiting

Interface to limit the frequency as per need to limit the voltage. This
will maintain the sanity of device over extended period.

bug 1042409

Change-Id: I89ed829a8435ce34370508b9d4b21a4492826504
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/170974
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: roth: power key connected to KBC-COL0 on A01 rev board
Laxman Dewangan [Thu, 6 Dec 2012 09:52:34 +0000]
ARM: tegra: roth: power key connected to KBC-COL0 on A01 rev board

The Power key is connected to the KBC-COL0  from roth board
revision A01 onwards.

bug 1186701

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

Change-Id: I218fb10d0e89471f3d2e2db1b37bf15832bb1a03
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/173644
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agostaging: iio: light: isl29028: implement shutdown functionality
Sri Krishna chowdary [Fri, 21 Dec 2012 07:02:31 +0000]
staging: iio: light: isl29028: implement shutdown functionality

Bug 1203781

Change-Id: I95cc4b2431a11dcb7dce8f982296b1f9a39e4b62
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173149
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agostaging: iio: light: isl29028: add suspend/resume functionality
Sri Krishna chowdary [Mon, 24 Dec 2012 12:19:56 +0000]
staging: iio: light: isl29028: add suspend/resume functionality

Change-Id: Ib6c352174833860b21d9ae5aa89469b68688c9ab
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/174130
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoinput: misc: cm3218: ensure device's initial state
Sri Krishna chowdary [Sat, 22 Dec 2012 06:23:02 +0000]
input: misc: cm3218: ensure device's initial state

Bug 1198671

Change-Id: Id1a9180c31d0e44b2476fc43d2fd650a90683c5b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173844
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prem Sasidharan <psasidharan@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agostaging: iio: light: isl29028: enable regulator
Sri Krishna chowdary [Wed, 26 Dec 2012 08:23:33 +0000]
staging: iio: light: isl29028: enable regulator

Bug 1181726

Change-Id: I65639ec6d246aa6b9162dd7f54a9ca7357256e88
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173075
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: pluto: fix the pinmux setting of SPDIF_OUT
Hunk Lin [Wed, 19 Dec 2012 13:25:08 +0000]
ARM: tegra: pluto: fix the pinmux setting of SPDIF_OUT

SPDIF_OUT is used as regulator enable GPIO so it should be configured as
output.

Bug 1192480

Change-Id: I3302e39fad89145372b20466d06f5747cb35706e
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/172809
(cherry picked from commit 28a61a8362d584f985af49d52beedc936e721658)
Reviewed-on: http://git-master/r/173850
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agocpufreq:interactive:idle time excludes iowait.
Satya Popuri [Wed, 19 Dec 2012 23:20:38 +0000]
cpufreq:interactive:idle time excludes iowait.

The CPU idle time reported by scheduler stats does not include time
spent waiting on I/O anymore. This has flipped the semantics of the
io_is_busy flag in current code and causes any usecases that do file I/O
to run at higher than normal frequencies. E.g, video playback.

Bug 1205531

Change-Id: Iee0f14597272ea59a879d4bfce3ea93cf90fe57a
Signed-off-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-on: http://git-master/r/172931
(cherry picked from commit a7a099eeccc8b6cf0f8f7e53a877e0e6b1a020e3)
Reviewed-on: http://git-master/r/173723
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: only do clusterswitching in 1 CPU mode
Peter De Schrijver [Tue, 18 Dec 2012 14:04:36 +0000]
ARM: tegra: only do clusterswitching in 1 CPU mode

Only consider clusterswitching when there is a single CPU online.
This is done by ignoring frequency changes when there are more cores
online and registering a notifier to immediately switch to the slow
cluster if there is only 1 CPU online and the frequency is below
idle_bottom_freq.

bug 1178947
bug 1202877

Change-Id: I1244f866de1d32c268d36c835cd90d9c6cba1481
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/172346
(cherry picked from commit 309a2860fa6784d7e35ee114cf061599b19c4d91)
Reviewed-on: http://git-master/r/173718
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agostaging: iio: light: isl29028: code cleanup
Sri Krishna chowdary [Fri, 21 Dec 2012 06:52:01 +0000]
staging: iio: light: isl29028: code cleanup

Rename isl28018 functions to isl29028.
Get isl29028_chip properly and remove it where not needed.
Change status of device only when needed.

Change-Id: I3fdf901aa9f2296e6d5736eb14bcaea5c4522686
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173553
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoaudio:Add support to configure NXP based on In-hand/On-desk mode and Volume Control
Vinod Subbarayalu [Fri, 21 Dec 2012 01:25:29 +0000]
audio:Add support to configure NXP based on In-hand/On-desk mode and Volume Control

Change-Id: I7f0630a8fa35687714d9f5bf2fbb0976c6b969a4
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Reviewed-on: http://git-master/r/173278
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agomisc: bluedroid_pm: add wake_lock support
Nagarjuna Kristam [Thu, 20 Dec 2012 16:21:27 +0000]
misc: bluedroid_pm: add wake_lock support

Use wake locks when bluetooth communication is on-going to dis-allow
system suspend

Bug 1205772

Change-Id: I57d4286ef6a7ae7d246bd0cbd53db68afa832827
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/173177
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoasoc: tegra: cs42l73: Add earpiece DAPM support
Rahul Mittal [Wed, 12 Dec 2012 14:27:03 +0000]
asoc: tegra: cs42l73: Add earpiece DAPM support

Add DAPM widget and audio map for earpiece
Bug 1179527

Change-Id: I27b588e21bb9beb0bf58966195ba94615c907f3e
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/170511
(cherry picked from commit 6a83f7effeebb9f43aa1deef10f79911ee36ca1c)
Reviewed-on: http://git-master/r/172829
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agommc: tegra: Enable emmc sleep mode support
Pavan Kunapuli [Tue, 18 Dec 2012 12:56:47 +0000]
mmc: tegra: Enable emmc sleep mode support

Enabling eMMC sleep mode support to reduce
suspend/resume latencies.

Bug 1182929

Change-Id: If7b0cc2cd8f12ccf66e441927930737a1b89f7fa
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/172315
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: config: enable bcm2079x nfc
Rakesh Goyal [Wed, 19 Dec 2012 02:25:09 +0000]
ARM: config: enable bcm2079x nfc

Bug 1190304

Change-Id: Ibd548d55e6fb71cf09796c3d794c6e1ac9eeba99
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/172579
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: phy:remove turning off PMC pad detector
Rakesh Bodla [Fri, 21 Dec 2012 10:40:57 +0000]
ARM: tegra: phy:remove turning off PMC pad detector

Remove the turning off the PMC pad detector
for USB port 3. This is not needed and it is
overriding the neccessary values which are
already programmed.

Bug 1181571

Change-Id: I20e86188319b71972905d699e43f80f1c3dff2c1
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/173612
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agonfc: correct indentation
Rakesh Goyal [Wed, 19 Dec 2012 11:59:22 +0000]
nfc: correct indentation

Bug 1190304

Change-Id: I2b2c8e9a86e661ccc68fade50904422da2b45b7e
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/172799
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: pluto: add support for bcm2079x nfc
Rakesh Goyal [Wed, 19 Dec 2012 02:11:29 +0000]
ARM: tegra: pluto: add support for bcm2079x nfc

wifi don't use GPIO_PX7, this GPIO is used by NFC.
correction in GPIO assignment.

Bug 1190304

Change-Id: Ic9bf654c037715e71bcc916af5d941bec0f6d8c4
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/172575
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agonfc: add support for brcm2079x driver
Anita Kar [Wed, 12 Dec 2012 08:34:58 +0000]
nfc: add support for brcm2079x driver

we have received this driver from BRCM support
website. Pushing driver in original.

Bug 1190304

Change-Id: Icbc9e56cba00330c6fb38654816f67184d465add
Signed-off-by: Anita Kar <akar@nvidia.com>
Reviewed-on: http://git-master/r/172565
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: roth: add leds-pwm
Hao Tang [Sat, 15 Dec 2012 23:35:07 +0000]
ARM: roth: add leds-pwm

Add leds-pwm on roth platform for notification feature

Bug 1198937

Change-Id: I859befd3ef4a8178668d84f2a539fcc25b776e8f
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/171671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: config: enable leds-pwm and trigger
Hao Tang [Sat, 15 Dec 2012 23:38:24 +0000]
ARM: config: enable leds-pwm and trigger

Bug 1198937

Change-Id: I772a3c6cc6fee23a8d6b9a899e0379b72a2593d8
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/171672
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoRevert "ARM: tegra2: defconfig: make Atmel MXT touch a loadable module"
Varun Colbert [Sat, 22 Dec 2012 08:04:04 +0000]
Revert "ARM: tegra2: defconfig: make Atmel MXT touch a loadable module"

This reverts commit 6e936a208a4781ef0d1a87e636ae2912a3137c69

Change-Id: Icf161afe75876cd6b5d1649d4f782064b5c3fe68
Reviewed-on: http://git-master/r/173848
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: isomgr: Init isomgr early.
Krishna Reddy [Thu, 13 Dec 2012 21:51:53 +0000]
arm: tegra: isomgr: Init isomgr early.

Init isomgr earlier than device drivers.

Reviewed-on: http://git-master/r/171166
(cherry picked from commit 50dccf843945e7b904dca748798c25729da8e717)

Change-Id: Ic8f50cef410cfcf6490d60193c4dd30eee10bfdd
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/173203
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agomedia: video: tegra: add isomgr apis
Jihoon Bang [Sat, 1 Dec 2012 03:12:48 +0000]
media: video: tegra: add isomgr apis

Add isomgr apis to request memory bandwidth to
iso manager.

Bug 1169267

Change-Id: I7829d0eed0e114854d3666a470fc500fc787e23d
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/170536
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agovideo: tegra: host: Idle before suspend
Arto Merilainen [Wed, 19 Dec 2012 10:24:27 +0000]
video: tegra: host: Idle before suspend

In certain cases the device may be deinitialized before calling
idle() for the last time which causes invalid memory accesses. This
patch reorders device suspend and device deinitialization sequences
to be performed after calling the idle function.

Bug 1195805

Change-Id: Iad553575fbea26fa325ca93d98c7278aacd7ae90
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/173590
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: roth: disable wake event for power key
Mallikarjun Kasoju [Fri, 21 Dec 2012 12:01:32 +0000]
ARM: tegra: roth: disable wake event for power key

Bug 1204048

Change-Id: I26834d4c306b1f9f90f13e5ba8bad30465867b48
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/173638
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: Dalmore: Shutdown SMPS
Prem Sasidharan [Tue, 27 Nov 2012 22:25:22 +0000]
arm: tegra: Dalmore: Shutdown SMPS

Shutdown SMPS8 in LP0

Bug 1176125

Change-Id: I78a67a74da12d3bb7e9ab375652e84f1a65491a3
Signed-off-by: Prem Sasidharan <psasidharan@nvidia.com>
Reviewed-on: http://git-master/r/166694
(cherry picked from commit ab7c246e9a608b34319c0ad2272be978653e8db7)
Reviewed-on: http://git-master/r/172566
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra2: defconfig: make Atmel MXT touch a loadable module
Jong Kim [Fri, 21 Dec 2012 19:35:23 +0000]
ARM: tegra2: defconfig: make Atmel MXT touch a loadable module

Make Atmel MXT driver a loader module.
Starting 3.4 upstream kernel, the Atmel MXT driver operates only as
a loadable module.

bug 1170148
bug 1163237

Change-Id: I26ed471cbeb14166ea63bd30d7a1f538d5505857
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/173712
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

6 years agoasoc:tegra: BT Call on Pluto
Nikesh Oswal [Wed, 5 Dec 2012 09:29:02 +0000]
asoc:tegra: BT Call on Pluto

1. Use a DAM in BT Codec path
2. Add T114 specific code for DAM programming
   in call related functions
3. Add T114 specific code for I2S programming
   in call related functions
4. Update the machine drivers to call DAM functions
   only if DAM is used in the concerned path

Bug 1171615

Change-Id: I3ba9f088117045f2465ee0485d8f1afb0ac9ec59
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/168684
(cherry picked from commit 39dca2c24579084c10644c018afbe3fe002bf422)
Reviewed-on: http://git-master/r/173584
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra11: dvfs: EDP freq granularity to follow CPU dvfs tables
Diwakar Tundlam [Fri, 21 Dec 2012 06:15:04 +0000]
ARM: tegra11: dvfs: EDP freq granularity to follow CPU dvfs tables

Bug 1170986
Bug 1161126

Change-Id: I8d83903a58d9099fec7b04fadc558244177ebbbb
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/173531
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Zu <pzu@nvidia.com>
Tested-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agomisc: bluedroid_pm: set default state to is_blocked during probe
Nagarjuna Kristam [Tue, 11 Dec 2012 11:30:16 +0000]
misc: bluedroid_pm: set default state to is_blocked during probe

is_blocked parameter assigned to '0' during probe function call.
Value '0' is blocked state and default rfkill state is un-blocked.
This causes mis-match between software and hardware states.

Bug 1195747

Change-Id: I2313cd03f44a47b1da9a9f12d1375bd68f2ddb74
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/172998
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 agovideo: tegra: host: Reset 2d unit on powerup
Arto Merilainen [Wed, 19 Dec 2012 08:39:00 +0000]
video: tegra: host: Reset 2d unit on powerup

2d unit may crash if it is not resetted after bootup. This patch sets
powerup_reset flag for resetting the unit.

Bug 1194664

Change-Id: I579d65db0c9069deac457b391e58a36dc2d19f57
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/172718
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agobcmdhd: do not use SET_NETDEV_DEV for p2p (HACK)
Mursalin Akon [Fri, 30 Nov 2012 18:43:06 +0000]
bcmdhd: do not use SET_NETDEV_DEV for p2p (HACK)

With SET_NETDEV_DEV, network manager starts
using all the p2p* interfaces. Without
SET_NETDEV_DEV, network manager is not aware
of these virtual interfaces.

Bug 1188451

Change-Id: I3e8be1d20d92cefc0d3debea09fdca445652571a
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172440
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: dalmore: update emc DVFS table
Ray Poudrier [Thu, 6 Dec 2012 02:33:31 +0000]
ARM: tegra: dalmore: update emc DVFS table

Bug 1189313

Change-Id: I17db9a8cfd896e2125d495d74f9fc61d4ce2729f
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/168927
(cherry picked from commit 66efdee160148f31a651a60659c64d380573c7af)
Reviewed-on: http://git-master/r/172013
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: power: Integrate core EDP 6A limit table
Alex Frid [Wed, 19 Dec 2012 23:31:33 +0000]
ARM: tegra11: power: Integrate core EDP 6A limit table

Bug 1165638

Change-Id: I3a47c9be9998918bae68b1d73b6baf729ef65fc2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172972
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agovideo: tegra: clear fb2 unspecified by bootloader
Jong Kim [Thu, 13 Dec 2012 00:20:22 +0000]
video: tegra: clear fb2 unspecified by bootloader

Clear framebuffer2 if and only if framebuffer2 is not specified by the
bootloader. If the bootloader framebuffer2 is specified, then copy the
contents to kernel framebuffer2.

bug 1175957

Change-Id: I4ac4432c1dac6a6c634ab3e6ae31628f9c64ddb4
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/170663
Reviewed-on: http://git-master/r/172869
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoarm: tegra: display: handle fbmem2 cmdline parameter
Jong Kim [Thu, 13 Dec 2012 00:07:54 +0000]
arm: tegra: display: handle fbmem2 cmdline parameter

Parse and handle fbmem2 cmdline parameter.

bug 1175957

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

6 years agoarm: tegra: display: provide framebuffer clear function
Jong Kim [Thu, 13 Dec 2012 00:01:39 +0000]
arm: tegra: display: provide framebuffer clear function

Add tegra_clear_framebuffer function.

bug 1175957

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

6 years agobluesleep: it should depend on Tegra HSUART
Mursalin Akon [Fri, 7 Dec 2012 22:56:51 +0000]
bluesleep: it should depend on Tegra HSUART

blueseep has code dependency on Tegra HSUART.
KConfig should reflect that dependency.

Bug 1193147

Change-Id: I66fe597f9554138c5387b2e070238cdf81b5cf32
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/169514
(cherry picked from commit 833d1fbdc19c28fe3d6ff3e409a1b53649a76b02)
Reviewed-on: http://git-master/r/172853
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agotty: serial: tegra: Export symbols for bluesleep
Mursalin Akon [Fri, 7 Dec 2012 21:33:26 +0000]
tty: serial: tegra: Export symbols for bluesleep

The bluesleep modules uses couple of symbols
which are not exported. As a result, bluesleep
cannot be built as module.

Bug 1193147

Change-Id: I47bc31cb6ff525e346df29264698031fd94032c7
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/169513
(cherry picked from commit b6b26f200cb4123b3542d49c59691f78ffa75a95)
Reviewed-on: http://git-master/r/172852
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agobcmdhd: use debug instead of error
Mursalin Akon [Sat, 1 Dec 2012 01:04:13 +0000]
bcmdhd: use debug instead of error

To print P2P MAC address use debug
(WL_DBG), instead of error (WL_ERR).

Bug 1179879

Change-Id: I5669c8054497c669105548232b522ae540121810
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/167892
(cherry picked from commit 30193205872e13fcb0b84cb0aac131e8ee8b2adc)
Reviewed-on: http://git-master/r/172851
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: usb_phy: Disable PMC when resume from LP0
Suresh Mangipudi [Wed, 19 Dec 2012 11:36:38 +0000]
ARM: tegra: usb_phy: Disable PMC when resume from LP0

Disable PMC during the resume of the device from LP0.

Bug 1201939

Change-Id: Idf76338d83b11aec5a56130af8bd795af339a8d1
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/172768
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dsi: Fix mipi_cal sw init for ganged mode
Animesh Kishore [Tue, 11 Dec 2012 11:55:19 +0000]
video: tegra: dsi: Fix mipi_cal sw init for ganged mode

Move mipi calibration init code to region common
to both dsi controllers.

Change-Id: Ie7c37307c719e146f34034d2c993aca3a79ec99e
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/172758
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agovideo: tegra: dsi: ganged mode avdd_dsi_csi regulator handling
Rakesh Iyer [Fri, 7 Dec 2012 22:34:36 +0000]
video: tegra: dsi: ganged mode avdd_dsi_csi regulator handling

Modify avdd_dsi_csi regulator handling to work with dsi in ganged mode.

Change-Id: Idee91d35519bd1a1fdf0135fba57f654b37fa2bb
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/172757
Tested-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoarm: tegra: dalmore: Runtime panel detection
Vineel Kumar Reddy Kovvuri [Thu, 6 Dec 2012 12:31:33 +0000]
arm: tegra: dalmore: Runtime panel detection

Bug 1182416

Change-Id: I362f892c32e0f3e8e32e136b3595c71b696b2bae
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/172756
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agovideo: tegra: host: Turn host1x on when reading counters
Terje Bergstrom [Wed, 19 Dec 2012 07:31:14 +0000]
video: tegra: host: Turn host1x on when reading counters

Turn host1x on when initializing and accessing the tick counter
registers.

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

6 years agovideo: tegra: host: Init actmon with host1x on
Terje Bergstrom [Mon, 17 Dec 2012 14:02:11 +0000]
video: tegra: host: Init actmon with host1x on

Turn on host1x when initializing actmon. Also do not suspend host1x
before deinitializing actmon.

Bug 1195805

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

6 years agonet: wireless: bcmdhd: do not allow race condition
Mursalin Akon [Thu, 6 Dec 2012 23:40:59 +0000]
net: wireless: bcmdhd: do not allow race condition

Module "init" turns off wifi chip after registering
the network interface. The chip is turned on at "open".
As "open" is allowed as soon as registration is
complete, the chip turning on and off becomaes a race
condition. We need to enforce a strict ordering between
these two operations.

Bug 1192094

Change-Id: I17e7da0252e1dd5c335722f98e9b54b0585b9690
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172442
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agobcmdhd: Remove BCMDHD_CSCAN_ENABLE Kconfig
Mursalin Akon [Sat, 8 Dec 2012 00:30:56 +0000]
bcmdhd: Remove BCMDHD_CSCAN_ENABLE Kconfig

Reference to this Kconfig option does not exist
anywhere. Hence, remove it.

Bug 1188451
Bug 1180883
Bug 1192094

Change-Id: Icb9a34dfaf474b87ff0c491bb54f20770016087b
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172441
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: roth: set touch reset to GPIO_PK4
Vinod Subbarayalu [Tue, 18 Dec 2012 01:22:28 +0000]
ARM: tegra: roth: set touch reset to GPIO_PK4

Change-Id: Iaccdd8df4433ff9d23763eb2a505db89e6d26c63
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Reviewed-on: http://git-master/r/172079
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoRevert "ARM: Revert "ARM: 6878/1: fix personality flag propagation across an exec""
Aly Hirani [Thu, 6 Dec 2012 05:00:23 +0000]
Revert "ARM: Revert "ARM: 6878/1: fix personality flag propagation across an exec""

This reverts commit 25cd08cd1fb5888fe0d9bcc1e58b9d6b8378e1fd.
ADDR_COMPAT_LAYOUT is set on zygote to prevent Unity games from
crashing in K3.4. However, since the propagation of personality was
disabled, this flag never ended up being set on the fork()ed
processes.

Additionally, in order to prevent Bug 894472 to resurface with this
revert, mask out READ_IMPLIES_EXEC from being propagated to child
processes.

Bug 1023189

Change-Id: I01d5b7b3778b9e99815146bd2345bda1266e6309
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/168956
(cherry picked from commit 5598033218d268199f7c2ba336efb2c901441654)
Reviewed-on: http://git-master/r/171987
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: config: remove roth specific defconfig
Laxman Dewangan [Mon, 17 Dec 2012 09:17:22 +0000]
ARM: tegra: config: remove roth specific defconfig

The roth related configuration is also supported in
tegra11 generic defconfig and hence removing the
roth specific defconfig.

bug 1191859

Change-Id: I8c2a230273426918081cea2bd80ce0e50fe7d932
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171861
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/173017
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: config: Align tegra11 defconfig with roth defconfig
Laxman Dewangan [Mon, 17 Dec 2012 09:14:33 +0000]
ARM: tegra: config: Align tegra11 defconfig with roth defconfig

Roth kernel build is the tegra11_roth_android_defconfig.
Moving the diffs from tegra11_roth_android_defconfig to
tegra11_android_defconfig to align the generic tegra11
android defconfig for roth.

bug 1191859

Change-Id: Ie562aac2ba786d9c074ed3f0c51f37e1bd8058b1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171860
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Reviewed-on: http://git-master/r/173016
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: dalmore: Set TPS51632 ops mode to change control mode
Laxman Dewangan [Fri, 14 Dec 2012 06:32:42 +0000]
ARM: tegra: dalmore: Set TPS51632 ops mode to change control mode

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

6 years agoregulator: tps51632: add support for change control mode
Laxman Dewangan [Fri, 14 Dec 2012 06:30:27 +0000]
regulator: tps51632: add support for change control mode

TPS51632 output can be control through register write via i2c or
through input pwm signal.
Adding support for switching the control mode to I2C or PWM
dynamically.

Change-Id: I57d72eff5c819a2b84f25ba82482bb9723c2c452
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171310
Reviewed-on: http://git-master/r/172701

6 years agoregulator: add support for changing control mode of regulator
Laxman Dewangan [Fri, 14 Dec 2012 06:27:52 +0000]
regulator: add support for changing control mode of regulator

Some of device supports to control the regulator output to
be set either through register write via I2C or through PWM.
Add supports to switch the mode dynamically.

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

6 years agogpio: tegra: add tegra_is_gpio
aghuge [Tue, 4 Dec 2012 11:36:27 +0000]
gpio: tegra: add tegra_is_gpio

Added tegra_is_gpio function to
return true if pin is configured as gpio

Bug 1172972

Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/168285
(cherry picked from commit 312fc9fc203f77c2521a24991608511be0465695)

Change-Id: Ieac0af9a6ee000cbeb73e714395169799ae18e3b
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/172625
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoRevert "video: tegra: nvavp: Disable powergating of VDE"
Jaiprakash Khemkar [Fri, 14 Dec 2012 08:08:09 +0000]
Revert "video: tegra: nvavp: Disable powergating of VDE"

This reverts commit 09e38b074d327b2acadbd6c5ca5c745021efb3a9.

* Below changes takes care of enabling the clocks just before
  programming the key to VDE for widevine
  http://git-master/r/#change,169007
  http://git-master/r/#change,169008

  Bug 1190582

Change-Id: Ib127760375a5f073a927e80a7735f9455be69d18
Signed-off-by: Jaiprakash Khemkar <jkhemkar@nvidia.com>
Reviewed-on: http://git-master/r/171337
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoRevert "ARM: tegra3: config: bluesleep as module for L4T"
Rohan Somvanshi [Thu, 20 Dec 2012 18:47:20 +0000]
Revert "ARM: tegra3: config: bluesleep as module for L4T"

This reverts commit c7fae8fafb503d68403c992249fb2f636fdb36ef

Change-Id: I52054f6a44d15a51fb21b5a1077e95f97b135cb2
Reviewed-on: http://git-master/r/173188
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegar11: dvfs: Update vi and cbus dvfs tables
Alex Frid [Tue, 18 Dec 2012 06:15:15 +0000]
ARM: tegar11: dvfs: Update vi and cbus dvfs tables

Bug 1161126

Change-Id: Ie9b5a6a4530d057b0e2de322f72a174b7092a75b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172155
(cherry picked from commit 41eefe6a3823e9ce68c4ba315a8eacb10960e513)
Reviewed-on: http://git-master/r/172879
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra3: config: bluesleep as module for L4T
Mursalin Akon [Fri, 7 Dec 2012 22:51:49 +0000]
ARM: tegra3: config: bluesleep as module for L4T

Bug 1193147

Change-Id: I8caef4a95dc3277655f3043c0e939744a6586747
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/169515
(cherry picked from commit 1be4eb6f907c8bcb33beb2a69b682b85461a626e)
Reviewed-on: http://git-master/r/172854
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>