6 years agoregulator: core: change microvolt permission to 0644
Laxman Dewangan [Fri, 14 Sep 2012 05:42:22 +0000]
regulator: core:  change microvolt permission to 0644

Allow change of voltage through user space with root
permission only.

bug 1004472

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

6 years agovideo: tegra: host: Actmon cannot be disabled
Terje Bergstrom [Thu, 13 Sep 2012 10:11:14 +0000]
video: tegra: host: Actmon cannot be disabled

Actmon cannot be disabled directly. Work around that by turning off
periodic mode when we want to disable it. When we want to re-enable,
wait for actmon to be disabled before re-initializing.

Bug 1036209

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

6 years agortc: tps65910: add RTC driver for TPS65910 PMIC RTC
Venu Byravarasu [Thu, 13 Sep 2012 01:01:18 +0000]
rtc: tps65910: add RTC driver for TPS65910 PMIC RTC

TPS65910 PMIC is a MFD with RTC as one of the device.  Adding RTC driver
for supporting RTC device present inside TPS65910 PMIC.

Only support for RTC alarm is implemented as part of this patch.

Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 7df2d82cd4b0b350d4e507eb502b31b568029172)
Change-Id: Ibc977599db45a7f8d4930c8182a18f31ba535a68
Reviewed-on: http://git-master/r/132543
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agonet: wireless: bcmdhd: Report proper mcs rate mask
Dmitry Shmidt [Fri, 7 Sep 2012 18:22:54 +0000]
net: wireless: bcmdhd: Report proper mcs rate mask

Setting proper mcs rate mask allows to connect in 802.11n-only mode

Change-Id: Iffd47a60c92a74d29e42d81d79fa64463f5895c5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit a4e7d9ec2d46ac516ccfaf76da2c9e1dd266ec42)
Reviewed-on: http://git-master/r/131409
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: bcmdhd: Fix filtering call during dhcp session
Dmitry Shmidt [Fri, 7 Sep 2012 17:24:49 +0000]
net: wireless: bcmdhd: Fix filtering call during dhcp session

Change-Id: I38e426ef0e3a73481269b7d2c842201a24894901
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit b8acb0350dff5f73943690a51251dab6a68bf2d7)
Reviewed-on: http://git-master/r/131408
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: bcmdhd: Update to version 1.28.11-2
Dmitry Shmidt [Wed, 5 Sep 2012 18:04:57 +0000]
net: wireless: bcmdhd: Update to version 1.28.11-2

- Improve filtering functionality
- Fix PNO notification
- Add sched_scan
- Add proper handling of AMPDU frames: -DAMPDU_HOSTREORDER
- Add HT40_GO support
- Fix p2p stability issues

Change-Id: Ibee7e2e3de0451fe326cd25087a30a67425376e7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Reviewed-on: http://git-master/r/131407
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoregulator: tps6591x: Added LDO4 tracking support
Sumit Sharma [Mon, 10 Sep 2012 07:15:19 +0000]
regulator: tps6591x: Added LDO4 tracking support

Bug 1043041

Included LDO4 tracking support in tps6591x regulator
by adding config flag in LDO4 initialization

Change-Id: Ia549d566e8fdb3192d509c1a175d3021b0aba3ad
signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/131003
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: la: Add latency allowance support for T11x.
Krishna Reddy [Fri, 7 Sep 2012 07:01:42 +0000]
arm: tegra: la: Add latency allowance support for T11x.

Change-Id: If204129a17041601beba04192eb58bb10c11e1c5
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/130571
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>

6 years agomedia:video:tegra Settletime consolidate, cleanup
Naren Bhat [Tue, 28 Aug 2012 02:21:23 +0000]
media:video:tegra Settletime consolidate, cleanup

Two instances of settle time consolidated into one. Actuator range
is removed. For focusers sh532u, ar0832 and ad5816.

Bug 1032214

Change-Id: Ieba1e587aa3518889c32ba3f346ed10e4490aa0a
Signed-off-by: Naren Bhat <nbhat@nvidia.com>
Reviewed-on: http://git-master/r/130828
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agousb: gadget: tegra: check vbus before run bit set
Rohith Seelaboyina [Wed, 12 Sep 2012 08:52:15 +0000]
usb: gadget: tegra: check vbus before run bit set

Adding the check for vbus before setting the
run bit.

Bug 1046443

Reviewed-on: http://git-master/r/131733
(cherry picked from commit e2dcc0fff0bde89eced1482f3df763bfc7afd3a2)

Change-Id: Ie88ad2ab60b0e8c7691d5b66e52f9ee6c19d34fa
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/132210
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: cpuquiet: add min/max_cpus debugfs nodes back
Peter Boonstoppel [Wed, 12 Sep 2012 00:03:06 +0000]
ARM: tegra: cpuquiet: add min/max_cpus debugfs nodes back

Bug 1047573

Change-Id: I7209ca87075b3d8a1d53141c48fe8fbdd86c4728
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/131606
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Ilan Aelion <iaelion@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra: configs: removal of auto_hotplug
Ramalingam C [Tue, 11 Sep 2012 14:38:12 +0000]
arm: tegra: configs: removal of auto_hotplug

Recreating the tegra11_defconfig with the removal of AUTO_HOTPLUG

Bug 1046885

Change-Id: I676de8a2c50819c50bf9e08c3b409045d4468a1d
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/131443
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agochromeos: config: enable PM_DEVFREQ
Rhyland Klein [Thu, 13 Sep 2012 14:52:06 +0000]
chromeos: config: enable PM_DEVFREQ

Recent kernel changes have made it required to enable PM_DEVFREQ which
is used for scaling in nvhost. This is required to be enabled otherwise
the kernel build fails with warnings about unused functions. This only
occurs if PM_DEVFREQ isn't enabled AND T114 support (which uses devfreq)
is also not enabled.

Also, renormalized configs to tot 3.4 today which pulled in a couple
more options.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I9986836c43d3bbda5ba7597c4fba64ff38f06f1c
Reviewed-on: http://git-master/r/132287
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoARM: curacao: Add include to fix build error
Terje Bergstrom [Mon, 10 Sep 2012 10:12:32 +0000]
ARM: curacao: Add include to fix build error

board.h requires power_supply.h, which uses a constant from
linux/errno.h. Unfortunately that file is not included anywhere.

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

6 years agoALSA: hda: check validity of speaker allocation field
Nikesh Oswal [Thu, 13 Sep 2012 08:58:02 +0000]
ALSA: hda: check validity of speaker allocation field

Kernel 3.1 hda driver read the eld data once and if
the speaker allocation field was 0 (not set yet by
hdmi driver) then it considers it as 0xFFFF which
allows multichannel and doesn't block it. In Kernel
3.4 hda driver there is a repolling mechanism added
for ELD data, if the ELD data sanity check fails
then HDA driver re-schedules the work unit to poll
ELD data again hence the check on speaker allocation
field was removed. But the NVIDIA hda/hdmi controller
for some reason fails to update the speaker allocation
field and the read data is not valid even after
repeated attempts, hence the ASP channel mapping
happens for default 2 channel case. Adding the check
for speaker allocation field again solves the issue
and multichannel content plays fine over hda/hdmi.

Bug 1045435
Bug 1043021

Change-Id: I79fe33c0e354142f5af16c3ebbb3611a733dd88d
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/132128
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

6 years agopm: EDP: fixing simulator build break
Sivaram Nair [Thu, 13 Sep 2012 08:28:57 +0000]
pm: EDP: fixing simulator build break

This patch fixes a build break in configs where CONFIG_PM is disabled.

Change-Id: I8f51b9808ffb9b546c4772d50ac95bcbc37ee7ab
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/132118
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra11: clock: Account for memory access efficiency.
Alex Frid [Thu, 13 Sep 2012 03:32:31 +0000]
ARM: tegra11: clock: Account for memory access efficiency.

Change-Id: I6e2f45f35e8bd51f54bef12743a12d265dfde8e0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/132027
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra11: clock: Update EMC actmon count weight
Alex Frid [Thu, 13 Sep 2012 02:22:45 +0000]
ARM: tegra11: clock: Update EMC actmon count weight

On tegra11 there is only one EMC clock per memory transaction.
Set EMC actmon count weight accordingly.

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

6 years agoARM: Tegra: Dalmore: Check regulators before disabling
Graziano Misuraca [Wed, 12 Sep 2012 20:06:30 +0000]
ARM: Tegra: Dalmore: Check regulators before disabling

Check hdmi regulators are set before trying to disable
them.

Bug 1037443

Change-Id: Ic5f2df3eaa4beb54e5a4566c8a2bdd4e0ca7251a
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/131925
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: pluto: Add support for MAX8831 LED on pluto
Chaitanya Bandi [Wed, 12 Sep 2012 10:09:20 +0000]
ARM: tegra: pluto: Add support for MAX8831 LED on pluto

Bug 1034472

Change-Id: I2d9a74164ba82a818e4e8687702510dbd2d35a9f
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/131763
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agocpuquiet: initialize runnable threads first as the default governor
Peter De Schrijver [Tue, 11 Sep 2012 14:30:32 +0000]
cpuquiet: initialize runnable threads first as the default governor

Add the necessary code to initialize the runnable threads governor first when
selected as the default governor.

Change-Id: Iebbf304f3934b429d8a217011b3cb45ecddfd558
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/131438
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agocpuquiet: balanced governor requires cpufreq
Peter De Schrijver [Tue, 11 Sep 2012 14:27:51 +0000]
cpuquiet: balanced governor requires cpufreq

The balanced governor relies on cpufreq for some of its decisions. Fail
initialization if there are no cpufreq OPP tables available.

Change-Id: I5d64215d56f50d5df52c1433208b1eb40440c812
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/131437
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agocpuquiet: cleanup Kconfig and Makefile
Peter De Schrijver [Tue, 11 Sep 2012 14:25:11 +0000]
cpuquiet: cleanup Kconfig and Makefile

Add options to enable/disable individual governors and adjust the Makefile
to only build the selected governors.

Change-Id: Ia3d36afd0f1d2e8cc622956fa0dc16c23cc9904d
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/131436
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: tegra: xmm: fix coverity issue
Sri Krishna chowdary [Tue, 11 Sep 2012 13:08:04 +0000]
arm: tegra: xmm: fix coverity issue

Fixed NULL dereference by NULL checking.

Bug 1046331

Change-Id: I7d7ca75255ddb86b1f238fed469ac8e727f86a78
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/131415
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>

6 years agoarm: tegra: pcie: Fix Coverity issue
Sri Krishna chowdary [Tue, 11 Sep 2012 10:44:00 +0000]
arm: tegra: pcie: Fix Coverity issue

Fixed data type mismatch.
As irq was unsigned int following code was skipped always.

Bug 1046331

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

6 years agoarm: tegra: usb: usb phy changes
Suresh Mangipudi [Wed, 12 Sep 2012 07:15:48 +0000]
arm: tegra: usb: usb phy changes

Port UTMI changes from tegra3 usb phy to tegra11x usb phy.

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

6 years agocpuquiet: Update averaging of nr_runnables
Sai Charan Gurrappadi [Sat, 25 Aug 2012 01:42:36 +0000]
cpuquiet: Update averaging of nr_runnables

Doing a Exponential moving average per nr_running++/-- does not
guarantee a fixed sample rate which induces errors if there are lots of
threads being enqueued/dequeued from the rq (Linpack mt). Instead of
keeping track of the avg, the scheduler now keeps track of the integral
of nr_running and allows the readers to perform filtering on top.

Implemented a proper exponential moving average for the runnables
governor and a straight 100ms average for the balanced governor. Tweaked
the thresholds for the runnables governor to minimize latency. Also,
decreased sample_rate for the runnables governor to the absolute minimum
of 10msecs.

Updated to K3.4

Change-Id: Ia25bf8baf2a1a015ba188b2c06e551e89b16c5f8
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/131147
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: Add DT support for Tegra30 EMC tables
Prashant Gaikwad [Thu, 13 Sep 2012 10:56:19 +0000]
ARM: tegra: Add DT support for Tegra30 EMC tables

Implements function to parse EMC tables from
device tree.

Bug 999688

Change-Id: I9c5b028feed46dc8b720220d97e360a3c7ced603
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/130699
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>

6 years agoARM: tegra11x: change CPUPWRGOOD_EN in LP0 cycle
Bo Yan [Thu, 6 Sep 2012 18:41:34 +0000]
ARM: tegra11x: change CPUPWRGOOD_EN in LP0 cycle

CPUPWRGOOD_EN needs to be disabled before LP0 entry, then enabled
after LP0 exit.

This is only needed when CPUPWRGOOD_EN is available on the chip and
the POR function of the pin used for CPUPWRGOOD_EN is CPUPWRGOOD_EN.
For T114, both conditions are met.

bug 926643
bug 1010972

Change-Id: I3379668df1ffcf91dd9649b1e42d9d91f6294e4d
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/130241
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: dalmore/pluto: update sdmmc pinmux
naveenk [Wed, 12 Sep 2012 12:54:59 +0000]
ARM: tegra: dalmore/pluto: update sdmmc pinmux

update sdmmc pinmux settings for dalmore and pluto.
sdmmc3 drive strength is disabled, as per hardware team
drive strength should be set when the voltage supply is 1.8V .

Bug 1017708

Change-Id: I038d1838779cb3cc74e514d3c86dad840db89d92
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/131811
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoarm: tegra: pinmux: dalmore pinmux usb vbus
Suresh Mangipudi [Wed, 12 Sep 2012 11:21:27 +0000]
arm: tegra: pinmux: dalmore pinmux usb vbus

Changes for enabling the usb vbus for dalmore.

Bug 981704

Change-Id: I20a97d15fa6f5686d0580bbfc1b0d9833a95f8ac
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/131777
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Tested-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: Enable Display Backlight for MAX8831
Chaitanya Bandi [Wed, 12 Sep 2012 09:52:10 +0000]
ARM: tegra: Enable Display Backlight for MAX8831

Bug 1034472

Change-Id: I8442fe919e4e13be64d24ee1ba4a9cd6bbc81b9c
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/131756
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: Enabled LED support for MAX8831
Chaitanya Bandi [Wed, 12 Sep 2012 09:42:45 +0000]
ARM: tegra: Enabled LED support for MAX8831

Bug 1034472

Change-Id: Ia41be7e48d37e6fd79e657a15c9ba11ced8f022f
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/131754
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: Enable MAX8831 MFD base driver
Chaitanya Bandi [Wed, 12 Sep 2012 09:27:13 +0000]
ARM: tegra: Enable MAX8831 MFD base driver

Bug 1034472

Change-Id: I09822ec6430c57e33e9879a74ec48e9eb341ee40
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/131744
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra11: dvfs: Change default cvb alignment
Alex Frid [Wed, 12 Sep 2012 04:03:12 +0000]
ARM: tegra11: dvfs: Change default cvb alignment

Set default cvb alignment to 10mV (expected for Tegra11 platforms),
and override it on FPGA with previous setting - 12.5mV.

Change-Id: I2e3ab6e34200ca0a0769e977076500e744e2b6fd
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/131651
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoarm: tegra: powerdetect update
Bitan Biswas [Tue, 11 Sep 2012 17:09:06 +0000]
arm: tegra: powerdetect update

T11x powerdetect table updated

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

6 years agoarm: tegra: pluto pwrdet regulators
Bitan Biswas [Thu, 30 Aug 2012 15:09:16 +0000]
arm: tegra: pluto pwrdet regulators

Pluto board regulator entries for power detect added

bug 1039236

Change-Id: I697ed4fd6db4f8e564b80768b20cb369b2a932fc
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/131414
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoarm: tegra: dalmore pwrdet regulators
Bitan Biswas [Thu, 30 Aug 2012 09:22:18 +0000]
arm: tegra: dalmore pwrdet regulators

Dalmore board regulator entries for power detect added

bug 1039236

Change-Id: I12e1c261b9203ab856cf01cdc45f93bfd0678035
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/131406
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agobcmdhd: fix cfgdrv_lock mismatch
Nitin Bindal [Tue, 11 Sep 2012 11:03:28 +0000]
bcmdhd: fix cfgdrv_lock mismatch

This change fixes kernel crash during wifi turn off.
cfgdrv_lock is acquired once but it is freed twice.
Issue got introduced during resolving conflict for
commit 1a9346128adc2d4039cae2bc818302e4f7a509c1

Bug 1043225

Change-Id: I7205d4cf803dc961fd9974d0dad818724860c6ce
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/131384
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoRevert "video: tegra: host: Implement Tegra3 3D reg read"
Terje Bergstrom [Tue, 11 Sep 2012 10:09:24 +0000]
Revert "video: tegra: host: Implement Tegra3 3D reg read"

This reverts commit e0218bd21e9ab395898229b2bb59326116009028.

Bug 1045806

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

6 years agoARM: tegra: T114: fix t114-compilation errors
aghuge [Tue, 11 Sep 2012 09:29:05 +0000]
ARM: tegra: T114: fix t114-compilation errors

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

6 years agoARM: tegra: pluto: enable pluto on T114
aghuge [Tue, 11 Sep 2012 10:49:27 +0000]
ARM: tegra: pluto: enable pluto on T114

Change-Id: Ifcbaa13916ed68d3a89a7b786d95c90e56db419f
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/131338
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoarm: tegra: pinmux: split board pinmux files for modularity
Andy Park [Tue, 4 Sep 2012 16:12:34 +0000]
arm: tegra: pinmux: split board pinmux files for modularity

T114 board files now refer to separate pinmux configuration table files
that are going to be automatically generated. Pinmux configuration still
requires review and test. So the added header files are apt to change.

Bug 1026002

Change-Id: I33c8a2758aa1c53352382fd4760923a48c56941d
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/131336
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agobacklight: max8831: Add backlight support for MAX8831
Chaitanya Bandi [Wed, 5 Sep 2012 06:53:28 +0000]
backlight: max8831: Add backlight support for MAX8831

Added backlight driver support for MAX8831.

Bug 1034472

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

6 years agoleds: max8831: Add led support for MAX8831
Chaitanya Bandi [Wed, 5 Sep 2012 08:06:08 +0000]
leds: max8831: Add led support for MAX8831

Added led driver support for MAX8831

Bug 1034472

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

6 years agomfd: max8831: Add support for MAX8831 with I2C
Chaitanya Bandi [Tue, 4 Sep 2012 06:48:06 +0000]
mfd: max8831: Add support for MAX8831 with I2C

Added support for MAX8831 with I2C

Bug 1034472

Change-Id: I778f967747514c7def4d770debada75740908627
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/131318
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agovideo: tegra: dc: Enable cursor window clipping
Prashant Malani [Thu, 7 Jun 2012 20:34:12 +0000]
video: tegra: dc: Enable cursor window clipping

Add a new ioctl to enable cursor clipping.
Modify set_cursor_image_hw() to preserve cursor
clipping status.

Change-Id: I4af4c342fc008203c4d8148609587618e333c71f
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/131270
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: cpuquiet: Bring back hotplug stats support
Peter Boonstoppel [Mon, 10 Sep 2012 20:47:29 +0000]
ARM: tegra: cpuquiet: Bring back hotplug stats support

Hotplug stats are needed for dfs_log and Power Signature. Cpuquiet
provides similar stats in the core layer, but cannot provide stats for
LP cpu, since this is only visible at the driver level.

Bug 1045785

Change-Id: I6c5c26912d1a26637e81c73741637fbd2bee6157
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/131210
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Shaoming Feng <shaomingf@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: Tegra30: defconfig: Disable TEGRA_AVP for t30
Rahool Paliwal [Mon, 10 Sep 2012 18:12:29 +0000]
ARM: Tegra30: defconfig: Disable TEGRA_AVP for t30

This disables CONFIG_TEGRA_AVP and CONFIG_TEGRA_MEDIASERVER
for t30. This is required in order to have tegra_avpchannel
device node registered.
Also remove redundant entry for CONFIG_USB_VIDEO_CLASS=y.

Bug 1045687

Change-Id: Ia5b9a2d4ba33cd4a62a651c485a193fdf07a4819
Signed-off-by: Rahool Paliwal <rpaliwal@nvidia.com>
Reviewed-on: http://git-master/r/131162
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agortc: max77663: Set Alarm wday to its reset value
Daniel Fu [Thu, 23 Aug 2012 11:40:08 +0000]
rtc: max77663: Set Alarm wday to its reset value

The wday is configured only when disabled alarm.
When enable alarm, set it to its default reset value 0x01,
and not enable it, to prevent an error happened when re-read the
alarm value into the virtualized generic layer at boot up in
reading alarm setting of RTC.

Bug 1034871

Change-Id: I8bfa997653edaaa286cf768c1827b5ab986f52cc
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/129398
(cherry picked from commit 1a61c310b66245a73e021d786eea45c31cd9f6e9)

Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Change-Id: Ifa78078c6387689d12fe1aade8a9c531fef4f771
Reviewed-on: http://git-master/r/131130
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: dalmore: Fill palmas-E1611 power rails
Pradeep Goudagunta [Tue, 11 Sep 2012 16:43:17 +0000]
ARM: tegra: dalmore: Fill palmas-E1611 power rails

-Fill palmas-E1611 power rails
-Add hack for T30-Interposer board
-Add boardid based pmu selection support

Bug 982726

Change-Id: I634cf5bce493fad415d8dc5df657db9ed36e48a2
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/131090
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agortc: tps80031: fix alarm wakeup
Amit Kamath [Mon, 10 Sep 2012 11:28:43 +0000]
rtc: tps80031: fix alarm wakeup

Call device_init_wakeup before registration. This enables RTC as an
alarm timer. Hence changing sequence of calls.

RTC interrupt enabled when alarm is set.

Bug 1044940

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

6 years agoVibrator : Make regulator enable & disable paired
Hayden Du [Wed, 29 Aug 2012 09:26:52 +0000]
Vibrator : Make regulator enable & disable paired

We can see many WARNING messages, when Kai try to enter to
LP0.
Because Kai didn't defined a regulator used by vibrator device
then vibrator device try to get the regulator resource, its
will got the dummy regulator. But other devices also get the
dummy regulator resource.
When a process want to turn off the vibrator, vibrator driver
use regulator_is_enabled to check wether regulator is on, if
it is, then disable the regulator, regardless the regulator
enable and disable is paired or not. This isn't right when
vibrator not use a dedicate regulator.

Move vibrator device registration in corresponding files.
Add a flag to make regulator enable and disable paired.

bug 1030465

Change-Id: I124584eac8a3a9962ee39c51020174e09d18fc69
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/131060
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agodrivers: video: tegra: 3d scaling uses devfreq
Arto Merilainen [Fri, 7 Sep 2012 08:06:32 +0000]
drivers: video: tegra: 3d scaling uses devfreq

This change separates 3d load estimation and adjustment (device
policy) from the governor that makes estimation for a proper
clock frequency.

This patch introduces a regression: Due to changes in the interface
EMC scaling cannot be disabled anymore.

Bug 965517

Change-Id: I1d42640f33054df4c659a4a20e3ab69e29392855
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/130581
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoarch: arm: configs: Enabled devfreq for tegra
Arto Merilainen [Fri, 7 Sep 2012 08:04:59 +0000]
arch: arm: configs: Enabled devfreq for tegra

Bug 965517

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

6 years agoARM: tegra: thermal: removed thermal find device
Joshua Primero [Tue, 28 Aug 2012 18:32:34 +0000]
ARM: tegra: thermal: removed thermal find device

Removed the tegra thermal layer find device functionality
and replaced it with the Linux thermal version.

Change-Id: If0531f438af4dc66354f8d2beade49034c6fd2ff
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/130284
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: thermal: Add find device function
Joshua Primero [Tue, 28 Aug 2012 17:00:39 +0000]
drivers: thermal: Add find device function

Added functionality to the linux thermal driver to find a
particular device.

Change-Id: I414ddcaa2607efb32a2a622676e3b9cd64758dc7
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/130283
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: thermal: Refactored thermals
Joshua Primero [Thu, 23 Aug 2012 23:29:11 +0000]
ARM: tegra: thermal: Refactored thermals

1) Removed skin thermals from tegra_thermal layer
2) Removed throttle initialization from tegra_thermal layer
3) Simplified thermal device interface
4) Create a therm estimator device as a platform device

Change-Id: Ic8ffd111817f03f7aadc89d6185eb749b274b830
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/130282
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoarm: tegra: pluto: Fix panel regulator
Animesh Kishore [Wed, 12 Sep 2012 11:37:23 +0000]
arm: tegra: pluto: Fix panel regulator

Fix panel regulator get fail.

Bug 1034528
Bug 1028791

Change-Id: I9b29dd35d7797a7eca43b84d123b5e819d283fe0
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/131776
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pluto: enable sleep for rails
Laxman Dewangan [Wed, 12 Sep 2012 09:45:07 +0000]
ARM: tegra: pluto: enable sleep for rails

Enable sleep for core power rail and cpu power rail.
Make ldo8 in tracking mode with core rail.

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

6 years agoarm: tegra: dalmore: Fix regulator fail
Animesh Kishore [Wed, 12 Sep 2012 09:10:29 +0000]
arm: tegra: dalmore: Fix regulator fail

Fix regulator get fail.

Bug 1028790
Bug 1028789
Bug 1012298

Change-Id: Ifed8d871ddcdc6c03dd094141355cba8f9294e2b
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/131735
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: Remove duplicated code
Bo Yan [Wed, 12 Sep 2012 04:55:45 +0000]
ARM: tegra: Remove duplicated code

This fixes a merge error.

Change-Id: I8425c964d01af1deab508a33a165d51783414e04
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/131653
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: Support arb emem intr statistics.
Krishna Reddy [Tue, 11 Sep 2012 19:52:19 +0000]
arm: tegra: Support arb emem intr statistics.

Add Sysfs nodes to allow reading the arbitration emem intr
count and modified moving average.

Change-Id: I0b0585342bf4960da2c26079af6c8487cd0d8526
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/131517
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agochromeos: update split configs for 3.4
Rhyland Klein [Fri, 7 Sep 2012 20:09:19 +0000]
chromeos: update split configs for 3.4

Update split configs for kernel 3.4

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I92a2e569cf43e9dc9f7df0f7e8e8ea7f45379684
Reviewed-on: http://git-master/r/131484
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agovideo: tegra: dsi2edp: Config TC358770 bridge chip
Animesh Kishore [Tue, 11 Sep 2012 17:57:50 +0000]
video: tegra: dsi2edp: Config TC358770 bridge chip

Configure bridge for 1080p 1x4 dsi.

Bug 1028789

Change-Id: Ia096796ab1662aced9791ce4bee210211c10e5bb
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/131480
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: Support for Pluto with T114
Ramalingam C [Tue, 11 Sep 2012 13:19:19 +0000]
arm: tegra: Support for Pluto with T114

Supporting the PLUTO board with T114

Bug 1046885

Change-Id: Iea95ceda502fdefa460770f044b7007cc702cf66
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/131442
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregmap: Implement support for wake IRQs
Mark Brown [Tue, 5 Jun 2012 13:34:03 +0000]
regmap: Implement support for wake IRQs

Allow chips to provide a bank of registers for controlling the wake state
in a similar fashion to the masks and propagate the wake count to the
parent interrupt controller.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit a43fd50dc99a5f65505f174eca5a421707d73b4c)

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

6 years agoregmap: Don't try to map non-existant IRQs
Mark Brown [Tue, 5 Jun 2012 13:29:36 +0000]
regmap: Don't try to map non-existant IRQs

If the driver supplied an empty entry in the array of IRQs then return
an error rather than trying to do the mapping. This is intended for use
with handling chip variants and similar situations.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit bfd6185ddecc6e6f6bd654c053c307c9e49ca391)

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

6 years agoregmap: Constify regmap_irq_chip
Mark Brown [Thu, 31 May 2012 20:01:46 +0000]
regmap: Constify regmap_irq_chip

We should never be modifying it and it lets drivers declare it const.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit b026ddbbd25e3560c8d69beb96a5980d96c59b43)

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

6 years agoregmap: Convert regmap_irq to use irq_domain
Mark Brown [Sun, 13 May 2012 09:59:56 +0000]
regmap: Convert regmap_irq to use irq_domain

This gets us up to date with the recommended current kernel infrastructure
and should transparently give us device tree interrupt bindings for any
devices using the framework. If an explicit IRQ mapping is passed in then
a legacy interrupt range is created, otherwise a simple linear mapping is
used. Previously a mapping was mandatory so existing drivers should not
be affected.

A function regmap_irq_get_virq() is provided to allow drivers to map
individual IRQs which should be used in preference to the existing
regmap_irq_chip_get_base() which is only valid if a legacy IRQ range is
provided.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 4af8be67fd9989f4e63a8d1defc1895ed0f7d341)

Change-Id: Ib48c2369540f6331fad4df28feedda6e5fd019dc
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/131300
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agospi: tegra: fix cs toggle issue.
Amit Kamath [Mon, 13 Aug 2012 11:51:55 +0000]
spi: tegra: fix cs toggle issue.

Changed the way chip select is enabled.
Made minor changes to work well with checkpatch.

Bug 1020733

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

6 years agoregmap: Fix typo in IRQ register striding
Mark Brown [Thu, 17 May 2012 12:59:40 +0000]
regmap: Fix typo in IRQ register striding

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 38e7f5d1b73e71f87745a9c3e5806a6c28c34a53)

Change-Id: I481f19dab58deb0a6959c2668f054f90afdac668
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/131160
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: fix compilation error in max98095
Rhyland Klein [Thu, 2 Aug 2012 19:27:53 +0000]
asoc: tegra: fix compilation error in max98095

change 4b70cc537cadc787b748c7c246d703a240b08985 introduced
a compilation error.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I59e54537d9bb4b30e807478e5b7634db0813a739
Reviewed-on: http://git-master/r/120443
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
(cherry picked from commit c5dea888253285e23107585805b7728ebe46e17e)

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I1accd0ded99bfb9c12e2acffda79eebe2ff753c8
Reviewed-on: http://git-master/r/131483
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoarm: tegra: pluto: Change suspend mode to lp0
Mallikarjun Kasoju [Tue, 11 Sep 2012 17:06:22 +0000]
arm: tegra: pluto: Change suspend mode to lp0

Change suspend mode to lp0

Bug 1040429

Change-Id: I850a57ba63719c63447bf956967ebc3ea7f6f39a
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/131473
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pluto/dalmore: fix sd slot power rail
Pradeep Goudagunta [Tue, 11 Sep 2012 16:19:09 +0000]
ARM: tegra: pluto/dalmore: fix sd slot power rail

mmc core driver uses vddio_sd_slot to turn on slot power.

Bug 1046725

Change-Id: I2cdefd3219f0aac066eddd1ce842174905dff84d
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/131464
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregulator: palmas: support ldo8 tracking mode
Laxman Dewangan [Tue, 11 Sep 2012 15:38:28 +0000]
regulator: palmas: support ldo8 tracking mode

LDO8 is having tracking mode where it can track
for SMPS45. Add support for configuring this mode.

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

6 years agoregulator: palmas: support for external control of regulator outputs
Laxman Dewangan [Tue, 11 Sep 2012 14:44:54 +0000]
regulator: palmas: support for external control of regulator outputs

Add support to control different regulator output through
external control signal.

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

6 years agomfd: palmas: support for external control of clock outputs
Laxman Dewangan [Tue, 11 Sep 2012 14:33:45 +0000]
mfd: palmas: support for external control of clock outputs

Add support to control different clock32K output through
external control signal.

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

6 years agomfd: palmas: support for the external control request
Laxman Dewangan [Tue, 11 Sep 2012 14:30:06 +0000]
mfd: palmas: support for the external control request

Palma support the control of different output signals
through external input signal like ENABLE1, ENABLE2 and
NSLEEP.
Add support to control the different outputs through
these signals.

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

6 years agoARM: tegra: dvfs: Update dfll mode rate/voltage control
Alex Frid [Tue, 11 Sep 2012 04:52:26 +0000]
ARM: tegra: dvfs: Update dfll mode rate/voltage control

Updated dvfs rate and voltage control in dfll mode:

- use dfll voltages in set dvfs rate operation when dfll mode
is enabled
- use dfll voltages in predict voltage level operation when dfll
mode is enabled
- do not trigger any transaction to regulator when dfll mode is
enabled

Change-Id: Id66fbc21ac19f9495e743b785a99c7a1e250fce1
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/131306
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Rename rail auto-control to dfll-mode
Alex Frid [Tue, 11 Sep 2012 04:46:57 +0000]
ARM: tegra11: dvfs: Rename rail auto-control to dfll-mode

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

6 years agoARM: tegra11: dvfs: Update dvfs settings
Alex Frid [Tue, 11 Sep 2012 01:23:19 +0000]
ARM: tegra11: dvfs: Update dvfs settings

Increased dvfs rail maximum limits, updated cvb scaling margins, and
dfll tuning parameters.

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

6 years agokernel: config: fix missing quote for LESS_GCC_OPT
Jong Kim [Mon, 10 Sep 2012 23:50:14 +0000]
kernel: config: fix missing quote for LESS_GCC_OPT

Add closing quote for LESS_GCC_OPT.

Change-Id: I6b48b19625ac3ab2cc9f4d651cc216fb890063fa
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/131257
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agovideo: tegra: nvmap: Validate page pool entries.
Krishna Reddy [Tue, 4 Sep 2012 18:33:11 +0000]
video: tegra: nvmap: Validate page pool entries.

Change-Id: I519c66e553f6b188446a2d771bffa9a45ef51201
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/131230
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vandana Salve <vsalve@nvidia.com>

6 years agovideo: tegra: nvmap: Validate handle in nvmap_pin.
Krishna Reddy [Tue, 4 Sep 2012 18:21:56 +0000]
video: tegra: nvmap: Validate handle in nvmap_pin.

Change-Id: Idb4290cb47cc64c525ca9087c8c9e4239baefa6a
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/131229
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Vandana Salve <vsalve@nvidia.com>

6 years agovideo: tegra: nvmap: Fix debugfs file permissions.
Krishna Reddy [Tue, 4 Sep 2012 17:45:29 +0000]
video: tegra: nvmap: Fix debugfs file permissions.

Change-Id: I3f2d0e2bff35ed868267fd85b5bf7d83d3317bf4
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/131226
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>

6 years agoarm: tegra: usb_phy: enable pllu_regulator
Suresh Mangipudi [Fri, 31 Aug 2012 11:50:14 +0000]
arm: tegra: usb_phy: enable pllu_regulator

Change to enable the pllu regulator.

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

6 years agoARM: tegra: dalmore: Add sensor board support
Sudhir Vyas [Fri, 7 Sep 2012 16:33:07 +0000]
ARM: tegra: dalmore: Add sensor board support

Add sensor board support for dalmore.

Bug 1011363

Change-Id: I2c8dbfb0a7328e39653137d248db04e4e288793b
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/130735
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: la: Add config option for latency allowance scaling
Krishna Reddy [Fri, 7 Sep 2012 00:41:24 +0000]
arm: tegra: la: Add config option for latency allowance scaling

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

6 years agovideo: tegra: dc: Add support to SCAN_COLUMN.
Kevin Huang [Thu, 23 Aug 2012 18:06:42 +0000]
video: tegra: dc: Add support to SCAN_COLUMN.

SCAN_COLUMN is a new feature for display. Add support to it for
90 & 270 degree rotation.

Bug 964993
Bug 911213

Change-Id: Iff9818d901a4ae09dffb833bf2cf4a888f1ecec5
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/130313
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agopower: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 14:02:28 +0000]
power: Add GCOV_PROFILE

Include cpufreq in GCOV profiling when enabled by defconfig.

Change-Id: I4c6c94198873c53683a2486f56caab360a3a6a93
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/131129
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: pluto: enable clk32K from PMIC
Laxman Dewangan [Tue, 11 Sep 2012 09:34:43 +0000]
ARM: tegra: pluto: enable clk32K from PMIC

Enable clk32 from PMIC TPS65913 i.e. Palmas.

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

6 years agomfd: palma: support for clock
Laxman Dewangan [Tue, 11 Sep 2012 09:34:15 +0000]
mfd: palma: support for clock

Palma support for generating 32K Hz signal. Adding
support for this.

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

6 years agoARM: tegra: pluto: populate plama-regen regulators
Laxman Dewangan [Tue, 11 Sep 2012 08:25:57 +0000]
ARM: tegra: pluto: populate plama-regen regulators

Populate Palma's REGEN1 and REGEN2 regulators.

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

6 years agoregulator: palma: support for external regulator
Laxman Dewangan [Tue, 11 Sep 2012 08:00:25 +0000]
regulator: palma: support for external regulator

Palma supports the multiple external regulator named
as REGEN1, REGEN2, REGEN3, SYSEN1 and SYSEN2.
Supports these regulator through regulator driver.

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

6 years agodrivers: rtc: tegra: Remove rtc register reset
Prashant Malani [Tue, 11 Sep 2012 00:08:36 +0000]
drivers: rtc: tegra: Remove rtc register reset

RTC registers are accessed before
tegra_rtc_probe(). As such, resetting them here
would lead to inconsistent state, and possible
problems with time subtraction.

Bug 1010972

Change-Id: I342a88411b5fcde86078537c313d857e3cd9a4f2
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/131263
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agopinctrl: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 14:01:18 +0000]
pinctrl: Add GCOV_PROFILE

Include pinctrl in GCOV profiling when enabled by defconfig.

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

6 years agocpuquiet: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 14:00:35 +0000]
cpuquiet: Add GCOV_PROFILE

Include cpuquiet in GCOV profiling when enabled by defconfig.

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

6 years agocpuidle: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 13:59:55 +0000]
cpuidle: Add GCOV_PROFILE

Include cpuidle in GCOV profiling when enabled by defconfig.

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

6 years agocpufreq: Add GCOV_PROFILE
Juha Tukkinen [Mon, 10 Sep 2012 13:59:15 +0000]
cpufreq: Add GCOV_PROFILE

Include cpufreq in GCOV profiling when enabled by defconfig.

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