5 years agoARM: tegra: dvfs: Fix unused variable warning
Alex Frid [Wed, 27 Nov 2013 23:35:41 +0000]
ARM: tegra: dvfs: Fix unused variable warning

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

5 years agovideo: tegra: nvmap: remove heap attr code
Krishna Reddy [Thu, 24 Oct 2013 23:41:59 +0000]
video: tegra: nvmap: remove heap attr code

remove unnecessary heap attr code.

Change-Id: Idf7a57753ac43d771ba76c03b1b3f2af314fab0e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/303631
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: Remove unused mp_overhead
Sai Gurrappadi [Wed, 20 Nov 2013 23:23:01 +0000]
ARM: tegra: Remove unused mp_overhead

mp_overhead is no longer used to determine #cores config in EDP
throttled situations.

Change-Id: Ia97af565db24dace91e088e520b40fbda2341689
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/333674
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoARM: tegra: Decouple edp and cpuquiet
Sai Gurrappadi [Wed, 20 Nov 2013 00:44:25 +0000]
ARM: tegra: Decouple edp and cpuquiet

Removed tegra_cpu_edp_favor_up/down api. EDP now requests a
PM_QOS_MAX_ONLINE_CPUS request to allow for the configuration that gives
the maximum number of MIPS given current temperature and the edp tables.

Bug 1160651

Change-Id: I2639a0f5f05901809e6249170733912b593f7549
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/333133
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agovideo: tegra: nvmap: remove unnecessary locking
Krishna Reddy [Wed, 27 Nov 2013 00:34:54 +0000]
video: tegra: nvmap: remove unnecessary locking

remove unnecessary lock/unlock of ref lock.

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

5 years agoarm: tegra: fix mismatched isp emc clock
Xue Dong [Wed, 27 Nov 2013 08:02:56 +0000]
arm: tegra: fix mismatched isp emc clock

bug 1407159

Change-Id: I657dde0e7a3df01494adf07a5565fa61b543ec60
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/336075
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: dc: limit access to win_h sysfs
Jon Mayo [Tue, 26 Nov 2013 19:15:49 +0000]
video: tegra: dc: limit access to win_h sysfs

Return error when display is powered down for reads or writes to win_h.

Bug 1412225

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

5 years agoarm: tegra: t124: support HDMI as primary
Emma Yan [Fri, 15 Nov 2013 07:33:28 +0000]
arm: tegra: t124: support HDMI as primary

Please add CONFIG_TEGRA_HDMI_PRIMARY=y to
kernel config file to enable this feature.

Bug 1407343

Change-Id: I62ca71ffaef2d947c329f2060dc5e5ab116e2976
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/333888
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agovideo: tegra: host: use dma APIs in fifo_gk20a.c
Deepak Nibade [Wed, 20 Nov 2013 15:26:17 +0000]
video: tegra: host: use dma APIs in fifo_gk20a.c

- use dma_alloc_coherent()/dma_free_coherent() to
  allocate/free memory
- use gk20a_gmmu_map()/unmap() to update gmmu ptes

Bug 1397647

Change-Id: If2385ee3d5308b95be3fc995d2aa73721192e7ef
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/333920
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: add separate functions to update gmmu ptes
Deepak Nibade [Wed, 20 Nov 2013 12:43:05 +0000]
video: tegra: host: add separate functions to update gmmu ptes

- existing function gk20a_vm_map() maps both user space and
  in-kernel buffers
- it has a lot of checking for user space buffers which is not
  required for in-kernel buffers
- add separate functions gk20a_gmmu_map()/unmap() to update
  gmmu ptes for in-kernel buffers only

Bug 1397647

Change-Id: I08f275203827c0e20deb9d6ab00c6e38fc094b12
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/333919
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: avp: Add PM QoS control for CPU
Mandar Potdar [Wed, 27 Nov 2013 12:39:10 +0000]
video: tegra: avp: Add PM QoS control for CPU

Control minimum number of online CPUs,
minimum CPU frequency by requesting PM QoS.

CPU frequency is controlled using existing
ioctl nvavp_set_clock_ioctl.
Added new ioctl nvavp_set_min_online_cpus_ioctl
for controlling minimum number of online CPUs.

bug 1396367

Change-Id: I33bd1cd23a508e8015ad882c58be02aed349d719
Signed-off-by: Mandar Potdar <mpotdar@nvidia.com>
Reviewed-on: http://git-master/r/336653
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agonet: wireless: Update Marvell SD8797 SD8897 WLAN/BT driver
Marc Yang [Thu, 14 Nov 2013 22:24:07 +0000]
net: wireless: Update Marvell SD8797 SD8897 WLAN/BT driver

Signed-off-by: Marc Yang <yangyang@marvell.com>

- update SD8797 to 446
- update SD8897 to 449

Bug 1416075

Change-Id: Ib20c864e56677a0e3502164bf3aa251c9f506078
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/336501
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoRevert "Revert "net: wireless: Update SD8797 driver for 3.10""
Manikanta [Thu, 28 Nov 2013 03:38:58 +0000]
Revert "Revert "net: wireless: Update SD8797 driver for 3.10""

This reverts commit a2408edd2d92aa600c4221be4fb2f3c5b048cfdf.

Bug 1416075

Change-Id: Ie6a4735d29c891f0210215b1f8a4f8e2134192d3
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/336482
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoRevert "net: wireless: Update SD8797/SD8897 WLAN/BT driver to 434"
Manikanta [Thu, 28 Nov 2013 03:36:02 +0000]
Revert "net: wireless: Update SD8797/SD8897 WLAN/BT driver to 434"

This reverts commit 33ef0e9edc7cfffef68b1734a19be12c5244a764.

Bug 1416075

Change-Id: I0342e113cfec0e41d0e61af5ef8f854885ad5592
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/336489
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoarm: config: tegra: Enable CW201x fuel gauge
Shardar Shariff Md [Fri, 29 Nov 2013 13:50:56 +0000]
arm: config: tegra: Enable CW201x fuel gauge

Bug 1399412

Change-Id: I46639b6e88a764c9b593383d66fd3400afd3df78
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/336970
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomisc: bluedroid_pm: check BT TX and RX status before wake_lock release
Nagarjuna Kristam [Thu, 27 Dec 2012 06:28:04 +0000]
misc: bluedroid_pm: check BT TX and RX status before wake_lock release

bluedroid stack, updates only TX busy status through proc interface.

When BT HID/PAN-U connection are active, high probability of data is RX only
and no activity on Tx path. So, dis-allow suspend when either of BT TX or
BT RX is active.

Bug 1381466

Change-Id: Ib174b7d95d173c34e41ce393f93fda5fa204f217
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/299894
(cherry picked from commit 912b388337c2b6703ddaabd95250afac95fee303)
Reviewed-on: http://git-master/r/336465
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agovideo: tegra: host: gk20a reset delay us 1us
Terje Bergstrom [Fri, 29 Nov 2013 07:57:49 +0000]
video: tegra: host: gk20a reset delay us 1us

We should wait for 1us for the signal to reset a unit to propagate.
Unify all different ways to wait to just use udelay(1).

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

5 years agovideo: tegra: host: Use regenerated reg list
Terje Bergstrom [Tue, 26 Nov 2013 09:34:13 +0000]
video: tegra: host: Use regenerated reg list

Bug 1412976

Change-Id: I5eb6b1c2dc70ecb80f3399d7a070eae2df7e4c9b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/335515
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra12: vcm30t124: Enable USB hot-plugging
Ashwin Joshi [Tue, 19 Nov 2013 11:20:35 +0000]
ARM: tegra12: vcm30t124: Enable USB hot-plugging

Enable USB hot-plug for USB #2 and USB #3.

Bug 1402408

Change-Id: Iabc4855510b462a804cb8d8ad8937e2f2cae2e70
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/332893
(cherry picked from commit 970886a584d5a691b42c7b56bda157c9709e278d)
Reviewed-on: http://git-master/r/336927
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoArm: config: tegra12: Remove interactive governor
Puneet Saxena [Wed, 27 Nov 2013 06:22:22 +0000]
Arm: config: tegra12: Remove interactive governor

Disabling interactive governor compilation as not needed
presently. Will enable it once we find a place to keep
governor tuning parameters.

Bug 1410933

Change-Id: I8f3e5610289d153a126ff680886ef8dd80b52a6f
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/336047
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sundeep Borra <sborra@nvidia.com>
Tested-by: Sundeep Borra <sborra@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarm: laguna: Register charger only when battery connected
Darbha Sriharsha [Fri, 29 Nov 2013 07:05:35 +0000]
arm: laguna: Register charger only when battery connected

Register bq24715 battery charger driver only when a battery
is connected to the platform (When it is specified through
ODM data that battery has been connected).

Bug 1271064

Change-Id: I0d6fc482c3e4d6f4512c3a06575f9525a197b906
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/336900
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoRevert "arm: tegra: update emc dvfs sequence to v12413"
Sang-Hun Lee [Wed, 27 Nov 2013 23:10:48 +0000]
Revert "arm: tegra: update emc dvfs sequence to v12413"

 - Change 3906be deprecated 0x16 support
 - Not all EMC tables are 0x18. Revert this change
   until we have all tables in 0x18 version

This reverts commit 3906be6667d8f7770d344edca2b22de38d29677b.

Change-Id: I8229ce543c7795057055df032603bc1d44751041
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/336436
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoRevert "arm: tegra: update emc dvfs table to v7"
Sang-Hun Lee [Wed, 27 Nov 2013 23:14:19 +0000]
Revert "arm: tegra: update emc dvfs table to v7"

This reverts commit 56bd22350af077f07e438254afad6a4c1fb65fbf.

 - Change 56bd2235 is dependent on EMC table 0x18 support, which
   is being reverted

Change-Id: I2237a6a70f140eb7d59e8662d22062ed2a3ba6d8
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/336439
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: tegra: Move pinmux driver to DT for TN8
Laxman Dewangan [Wed, 27 Nov 2013 10:07:25 +0000]
ARM: tegra: Move pinmux driver to DT for TN8

bug 1373364

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

5 years agoARM: tegra: move charger registration to pmic DTSI file.
Laxman Dewangan [Thu, 28 Nov 2013 11:21:00 +0000]
ARM: tegra: move charger registration to pmic DTSI file.

The charger device mounted on the PMIC board and there is separate
dtsi file for PMIC board. Hence moving the charger registration to
PMIC dtsi file and remove from top level dts file. This will avoid
duplication for similar boards using the same PMIC.

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

5 years agoRevert "arm: config: tegra: Enable CW201x fuel gauge"
Hiroshi Doyu [Fri, 29 Nov 2013 10:07:02 +0000]
Revert "arm: config: tegra: Enable CW201x fuel gauge"

This reverts commit da45966e2d0784cb7e62f6d039797061eb37f773.

Change-Id: Ib2dcb0dd52edad5dc222085b8d178afe09964d88
Reviewed-on: http://git-master/r/336953
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoRevert "ARM: tegra: move charger registration to pmic DTSI file."
Hiroshi Doyu [Fri, 29 Nov 2013 10:06:44 +0000]
Revert "ARM: tegra: move charger registration to pmic DTSI file."

This reverts commit efe52ec7b592eac2b8df07425fcbee82eabc9961.

Change-Id: I13af27f502e30b873491f57c600f4c592c3bd7d4
Reviewed-on: http://git-master/r/336952
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoRevert "regulator: as3722: set the correct current limit"
Hiroshi Doyu [Fri, 29 Nov 2013 10:06:27 +0000]
Revert "regulator: as3722: set the correct current limit"

This reverts commit 3dee4d31723e7ecf44014ef4f96294b1ff3b4600.

Change-Id: I6ca18dd6416f284a4364e08e405314563f921da4
Reviewed-on: http://git-master/r/336914
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoRevert "ARM: tegra: Move pinmux driver to DT for TN8"
Hiroshi Doyu [Fri, 29 Nov 2013 10:09:53 +0000]
Revert "ARM: tegra: Move pinmux driver to DT for TN8"

This reverts commit 79ae5547a5e06573df7ec3a7f8a84ece55f6c2b6.

Change-Id: Ibd1e7ea5cdfd67c86bbaec7e6e7d801a04263b25
Reviewed-on: http://git-master/r/336917
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoRevert "ARM: tegra: Move pinmux driver to DT for TN8"
Hiroshi Doyu [Fri, 29 Nov 2013 10:09:53 +0000]
Revert "ARM: tegra: Move pinmux driver to DT for TN8"

This reverts commit 79ae5547a5e06573df7ec3a7f8a84ece55f6c2b6.

5 years agoRevert "arm: config: tegra: Enable CW201x fuel gauge"
Hiroshi Doyu [Fri, 29 Nov 2013 10:07:02 +0000]
Revert "arm: config: tegra: Enable CW201x fuel gauge"

This reverts commit da45966e2d0784cb7e62f6d039797061eb37f773.

5 years agoRevert "ARM: tegra: move charger registration to pmic DTSI file."
Hiroshi Doyu [Fri, 29 Nov 2013 10:06:44 +0000]
Revert "ARM: tegra: move charger registration to pmic DTSI file."

This reverts commit efe52ec7b592eac2b8df07425fcbee82eabc9961.

5 years agoRevert "regulator: as3722: set the correct current limit"
Hiroshi Doyu [Fri, 29 Nov 2013 10:06:27 +0000]
Revert "regulator: as3722: set the correct current limit"

This reverts commit 3dee4d31723e7ecf44014ef4f96294b1ff3b4600.

5 years agoARM: tegra: pcie: Disable ctlr having no device
Jay Agarwal [Tue, 19 Nov 2013 09:49:17 +0000]
ARM: tegra: pcie: Disable ctlr having no device

Disable the controller if no device is connected
to its root port.

Bug 1383777

Change-Id: I37e9683c20c9ed37d597a01343efaba6baa5c138
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/332197
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoinput: touchscreen: synaptics: detect and notify out of idle
Yogish Kulkarni [Thu, 20 Jun 2013 11:21:43 +0000]
input: touchscreen: synaptics: detect and notify out of idle

Detect no spi interrupt for 50ms as idle. On first interrupt after
idle report miscellaneous input event MSC_ACTIVITY. This event will
serve as early notification for actual input event and will allow
cpu frequency governor to boost CPU clk early.

Bug 1307520

Change-Id: I9dfa037303cb303da120716911e5c1ab375fc222
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: http://git-master/r/240592
(cherry picked from commit 2da59642dd69ae2482e8d088d8d99cf7fa18bf7e)
Reviewed-on: http://git-master/r/328304
Reviewed-by: Vikas Jain <vjain@nvidia.com>
Tested-by: Vikas Jain <vjain@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: dp: Add HBR2 support
Animesh Kishore [Tue, 26 Nov 2013 14:35:46 +0000]
video: tegra: dp: Add HBR2 support

- Add postcursor2 support
- Use training characterization values

Bug 1368069
Bug 1382354
Bug 1406417

Change-Id: Ib7aa846da9094a7df8fa7ed54b29b0a54b95e00f
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/335665
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoarm: tegra12: Loki: Add C2 debug port support
Will Wu [Wed, 27 Nov 2013 02:57:32 +0000]
arm: tegra12: Loki: Add C2 debug port support

Enable C2 port for Loki platform for debugging microcontroller
in Joystick in case of mcu failure.

Bug 1375728

Change-Id: I90ffee220cc2ffa2af6833fd1100ddab1d4077e7
Signed-off-by: Will Wu <willw@nvidia.com>
Reviewed-on: http://git-master/r/335984
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoLoki: Implement mcu debugger in Kernel
Will Wu [Wed, 27 Nov 2013 02:54:46 +0000]
Loki: Implement mcu debugger in Kernel

The debugger runing in kernel is used to generate
required time sequence to C2 debug interface of the
microcontroller in joystick.

Bug 1375728

Change-Id: I7e366068faa16745e46fe60826b92c9ed44efb32
Signed-off-by: Will Wu <willw@nvidia.com>
Reviewed-on: http://git-master/r/335983
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: configs: t124: enable C2 debugger for Loki
Will Wu [Mon, 18 Nov 2013 05:11:33 +0000]
ARM: configs: t124: enable C2 debugger for Loki

It will enable debugging functions for joystick
microcontroller via C2 interface.

Bug 1375728

Change-Id: Ifb452c7edc89b3c4417cbe584ea50d9567d4d360
Signed-off-by: Will Wu <willw@nvidia.com>
Reviewed-on: http://git-master/r/332704
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agodma: tegra: Fix usage of clk_prepare
Chaitanya Bandi [Mon, 11 Nov 2013 04:36:17 +0000]
dma: tegra: Fix usage of clk_prepare

As clk_prepare shouldn't be called from
atomic context, moving it as appropriate.

Bug 1400884

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

5 years agoarm: config: tegra: Enable CW201x fuel gauge
Shardar Shariff Md [Thu, 28 Nov 2013 09:41:13 +0000]
arm: config: tegra: Enable CW201x fuel gauge

Bug 1399412

Change-Id: I014ea520fb62894d603e445e9a2debd26835f187
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/336594
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: Move pinmux driver to DT for TN8
Laxman Dewangan [Wed, 27 Nov 2013 10:07:25 +0000]
ARM: tegra: Move pinmux driver to DT for TN8

bug 1373364

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

5 years agoARM: tegra: move charger registration to pmic DTSI file.
Laxman Dewangan [Thu, 28 Nov 2013 11:21:00 +0000]
ARM: tegra: move charger registration to pmic DTSI file.

The charger device mounted on the PMIC board and there is separate
dtsi file for PMIC board. Hence moving the charger registration to
PMIC dtsi file and remove from top level dts file. This will avoid
duplication for similar boards using the same PMIC.

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

5 years agoregulator: as3722: set the correct current limit
Vince Hsu [Thu, 28 Nov 2013 10:40:12 +0000]
regulator: as3722: set the correct current limit

Change-Id: I443987c8fc7c840d16bebf3bd24783bc51bab5be
Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/336651

5 years agoregulator: palmas: Set smps enable delay to 600us
Terje Bergstrom [Wed, 27 Nov 2013 09:27:56 +0000]
regulator: palmas: Set smps enable delay to 600us

Enable time of 275us is not enough for all cases. Bump it to 600us.

Bug 1404859

Change-Id: I786e7c80b2fce123346c2c88a01de3ca54728ca9
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/336129
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: nvmap:use attr dma_alloc/_free funcs
Vandana Salve [Wed, 20 Nov 2013 10:03:11 +0000]
video: tegra: nvmap:use attr dma_alloc/_free funcs

Set DMA_ATTR_ALLOC_EXACT_SIZE attribute and use
attr version of dma allocation/release functions

bug 1380639

Change-Id: I8fe888afc8afd0c929af87b50a543a107d83e568
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/333349
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoarm: dma-mapping: support DMA_ATTR_ALLOC_EXACT_SIZE
Vandana Salve [Thu, 21 Nov 2013 11:18:20 +0000]
arm: dma-mapping: support DMA_ATTR_ALLOC_EXACT_SIZE

This new attribute can handle allocation & release of
memory of exact sizes by making call to attr version
of dma_alloc_from_coherent/dma_release_from_coherent

bug 1380639

Change-Id: I2af8c8131ff552ae5e0ac3a628139318b3395a73
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/334000
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agobase: dma-coherent: add dma exact size alloc/release functions
Vandana Salve [Thu, 21 Nov 2013 11:11:15 +0000]
base: dma-coherent: add dma exact size alloc/release functions

Add functions dma_alloc_from_coherent_attr and
dma_release_from_coherent_attr. use attribute
DMA_ATTR_ALLOC_EXACT_SIZE to allocate/release
memory of exact size rather than order of 2^pages to
reduce internal fragmentation

bug 1380639

Change-Id: Ia7f560bf94960dfa9570f5be597f7f25b49150e1
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/333986
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoarm: tegra: fuse: cleanup fuse driver
Shardar Shariff Md [Thu, 28 Nov 2013 11:56:09 +0000]
arm: tegra: fuse: cleanup fuse driver

Cleanup unused APIs and macros

Change-Id: I29e95093f9d42b558efa0201c717e147a9e8651f
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/336659
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agogcov-kernel: Add GCOV_KERNEL := y to fuse Makefile
Shardar Shariff Md [Thu, 28 Nov 2013 13:22:05 +0000]
gcov-kernel: Add GCOV_KERNEL := y to fuse Makefile

Add GCOV_KERNEL flag in fuse driver Makefile to
capture fuse driver coverage when triggered
GCOV for kernel.

Change-Id: I9bba268db6912c29ab66c5c363cec4965c80e945
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/336685
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agopower: bq2471x: pass correct dev pointer for battery-charger registration.
Laxman Dewangan [Thu, 28 Nov 2013 14:47:35 +0000]
power: bq2471x: pass correct dev pointer for battery-charger registration.

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

5 years agoarm: tegra: vcm30t124: Disable DVFS on few periph
Ashwin Joshi [Thu, 14 Nov 2013 09:44:34 +0000]
arm: tegra: vcm30t124: Disable DVFS on few periph

- Disable CPU frequency and voltage scaling
- Disable GPU voltage scaling
- Disable VDD_CORE voltage scaling
- Dsiable EMC frequency scaling
- Disable PLLM scaling
- Disable options related to boosting CPU clock

Bug 1394920

Change-Id: Ib381ded6d4dd6cc909b6d67b4d34345b46b53a1e
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/330240
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agonfc: return if NFC is in shutdown state
Rakesh Goyal [Tue, 17 Sep 2013 20:50:46 +0000]
nfc: return if NFC is in shutdown state

Bug 1362875

Change-Id: Ic9ee8cfc63a7c5fd5c6785178a27a705c9d140fe
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/276631
(cherry picked from commit c61b6503a1ac51add321841891ec5c3a8a354cf3)
Reviewed-on: http://git-master/r/336603
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoDocumentation: power_supply: Add doc for cw201x dt
Shardar Shariff Md [Thu, 28 Nov 2013 12:58:50 +0000]
Documentation: power_supply: Add doc for cw201x dt

Added doc for Cellwise CW201x fuel gauge
device tree entries description.

Bug 1399412

Change-Id: I1d2c407392ef3d54420e6044cea80ccf23a1afe4
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/336671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: host: remove unnecessary finish
Kirill Artamonov [Wed, 27 Nov 2013 12:26:00 +0000]
video: tegra: host: remove unnecessary finish

There is no need to submit WFI fence and wait for channel to finish
when modifying engine timeslices in ramfc.

Remove unnecessary gk20a_channel_finish.

bug 813676

Signed-off-by: Kirill Artamomov <kartamonov@nvidia.com>
Change-Id: Idba7cc95a4a1278537f1433c989434a07177d566
Reviewed-on: http://git-master/r/336190
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra12: Add dts entry to support mtk gps
Rakesh Goyal [Tue, 26 Nov 2013 13:21:19 +0000]
ARM: tegra12: Add dts entry to support mtk gps

Bug 1367959

Change-Id: I14b68d44ba8faa8d6f8744f0bc9aff94b61ea65c
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/336630
Reviewed-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: tn8: Add a new battery dts for sensor
Daniel Fu [Tue, 26 Nov 2013 14:01:16 +0000]
ARM: tegra: tn8: Add a new battery dts for sensor

As first version of TN8 using E1794 sensor moudle, but the later TN8
using E1845 sensor moudle. When TN8 in battery-supply case, need a
new dts file to handle the sensors in E1845.
In fact, This file should be a battery-supply version
of tegra124-tn8-a03-00.dts.

Bug 1411145

Change-Id: I8d0f6df0e0e3ba851b330034f16c7eff146cc42e
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/335667
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: tn8: Add sensors node in battery dts
Daniel Fu [Tue, 26 Nov 2013 13:52:43 +0000]
ARM: tegra: tn8: Add sensors node in battery dts

Acceleration and Compass sensors are missed in battery dts file.
Add the sensors node to it.

Bug 1411145

Change-Id: I5ad795e562af32377280c743853a442cb104fb28
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/335666
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoardbeg: edp: update sysedp ibat tables
Timo Alho [Wed, 27 Nov 2013 11:42:39 +0000]
ardbeg: edp: update sysedp ibat tables

9.75A continuous discharge is possible at full temperature range

Bug 1345916

Change-Id: Icb9ea7dd0fa00692b73e6917e5ce6d02712c4ef1
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/336177
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoardbeg: edp: update shield rbat (ESR) table
Timo Alho [Wed, 27 Nov 2013 12:32:57 +0000]
ardbeg: edp: update shield rbat (ESR) table

Bug 1326842

Change-Id: I4a58ed84641371535c4a72210ae173e1f27f89ec
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/336186
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agopower: test_power: add temp parameter
Timo Alho [Mon, 25 Nov 2013 11:03:35 +0000]
power: test_power: add temp parameter

Add configurable parameter for temperature of the battery.

Change-Id: I5d927d80c1bc18a997e1fa4ff757c9f923241f35
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/335037
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoarm: tegra: vcm30t124: Enable RTC.
Sumeet Gupta [Wed, 27 Nov 2013 14:39:14 +0000]
arm: tegra: vcm30t124: Enable RTC.

Bug 1384384

Change-Id: Ie809a80a98cda9bdf4165a1dce445ef5da22bd24
Signed-off-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-on: http://git-master/r/336252
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agousb: xhci: tegra: try defer probe when reg fails
Krishna Yarlagadda [Tue, 19 Nov 2013 11:47:45 +0000]
usb: xhci: tegra: try defer probe when reg fails

Few regulators are dependant on gpio and might not be
available when xhci loads. Try defer probe to avoid this issue

Bug 1409005

Change-Id: I477fbbc2e0c868f04506fbb3d923bddf32ce4857
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/333429
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Joy Wang <joyw@nvidia.com>

5 years agousb: gadget: tegra: remove extra spin_unlock/lock
Rohith Seelaboyina [Mon, 18 Nov 2013 06:37:01 +0000]
usb: gadget: tegra: remove extra spin_unlock/lock

Remove the extra spin_unlock and spin_lock pair
in done() API because as per the documentation of complete()
It should be called with interrupts disabled and
It must not sleep.

Bug 1401730

Change-Id: I82d0a89ffe609e9aa8814fb9b61a83d741c3fbf9
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/333916
(cherry picked from commit 10f32cf3e8cfb61d060fd6279688739077f59588)
Reviewed-on: http://git-master/r/335567
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra: create a DT header defining pincontrol
Laxman Dewangan [Wed, 27 Nov 2013 10:04:38 +0000]
ARM: tegra: create a DT header defining pincontrol

Defines the pincontrol constants which can be used by the
DTS file.

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

5 years agopinctrl: tegra: configure user state pinmux expliclty during probe
Laxman Dewangan [Wed, 27 Nov 2013 10:01:28 +0000]
pinctrl: tegra: configure user state pinmux expliclty during probe

Define two pincontrol user states, drive for drive group settings and
unused for setting unused pins in low power states.

Confgure these states during probing of pincontrol driver.

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

5 years agopinctrl: tegra: add debugfs for dumping pincontrol registers
Laxman Dewangan [Wed, 27 Nov 2013 10:00:00 +0000]
pinctrl: tegra: add debugfs for dumping pincontrol registers

This will help the debugging of pincontrol by matching with
register settings.

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

5 years agopinctrl: core: add support to configure user specified states
Laxman Dewangan [Wed, 27 Nov 2013 09:54:16 +0000]
pinctrl: core: add support to configure user specified states

Currently, pincontrol driver defines three states i.e. default, idle and
sleep. The default state get sets when the pincontrol driver gets
regsitered.

In tegra boards, we define three types of default, commpn pinmux table,
driver setting table and unused low-power pins pinmux tables.

Add the API to support the user specified state names to configure the
pinmux.

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

5 years agopinctrl: tegra: add safe pinmux function option
Laxman Dewangan [Mon, 25 Nov 2013 09:47:29 +0000]
pinctrl: tegra: add safe pinmux function option

Add "safe" as the valid pinmux option from the DT.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>

Change-Id: Ic09de7b2f521df45c5d00d7267689d36c1c8479a
Reviewed-on: http://git-master/r/335020
GVS: Gerrit_Virtual_Submit
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: add cw201x fuel guage driver
Shardar Shariff Md [Fri, 22 Nov 2013 09:42:41 +0000]
power: add cw201x fuel guage driver

Add Cellwise cw2015 fuel gauge driver

Bug 1399412

Change-Id: Id7e55efbbb59ce7fd4ba78689ffe67ccfec9ab1b
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/334428
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: laguna: Pass bq24715 charger platform data
Darbha Sriharsha [Wed, 27 Nov 2013 09:34:28 +0000]
arm: laguna: Pass bq24715 charger platform data

Pass bq24715 charger platform data for the Laguna platform

Bug 1271064

Change-Id: I472a97b479b656864e652f31fdc560f34053904b
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/336179
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: bq2471x: use module_i2c_driver and not subsys_initcall
Darbha Sriharsha [Wed, 27 Nov 2013 11:17:49 +0000]
power: bq2471x: use module_i2c_driver and not subsys_initcall

Invoke the driver through module_i2c_driver instead of
subsys_initcall so that driver invocation is done after
fuel gauge driver which exports broadcast enable function

Bug 1271064

Change-Id: Id49b98d8ea3e2c8014a00ffef925295eaeb3065d
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/336180
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: bq2471x: Enable charging through fuel gauge broadcasts
Darbha Sriharsha [Wed, 27 Nov 2013 09:22:11 +0000]
power: bq2471x: Enable charging through fuel gauge broadcasts

On some platforms, battery charging is not enabled and configured
by directly programming the charger registers via i2c, but by
enabling charging current and charging voltage broadcast mode
on the fuel gauge chipset. Enable this feature in the bq24715
charger driver.

Bug 1271064

Change-Id: I9a58fd1545e19bf094238f0ecfd822b9af02a79f
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/336178
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: sbs-battery: Provide API to enable broadcast mode
Darbha Sriharsha [Wed, 20 Nov 2013 10:46:23 +0000]
power: sbs-battery: Provide API to enable broadcast mode

Provide API to enable the broadcast of charging current
and charging voltage values to the battery charger chipset

Bug 1271064

Change-Id: Id89f42d4787ed27ab576da0fe986e9377a153d97
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/333381
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: charger_gauge_comm: Add API to enable broadcast mode
Darbha Sriharsha [Wed, 20 Nov 2013 10:36:22 +0000]
power: charger_gauge_comm: Add API to enable broadcast mode

Some platforms facilitate the charging of battery by enabling
broadcast mode on the respective fuel gauge chipset. Export
an API to enable the battery charger driver to invoke the
broadcast mode on the fuel gauge.

Bug 1271064

Change-Id: I1bbacb605ada4992f0ce81ac7d1aa09153df0bd6
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/333380
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: add pm374 and pm370 support.
Hayden Du [Wed, 20 Nov 2013 11:55:13 +0000]
arm: tegra: add pm374 and pm370 support.

Bug 1405054

Change-Id: I505e3b8a132b425462459de0a470f9f6c89a245a
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/333403
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: ardbeg: Disable OD for GEN1_I2C
Chaitanya Bandi [Thu, 14 Nov 2013 05:52:14 +0000]
ARM: tegra: ardbeg: Disable OD for GEN1_I2C

Bug 1400844

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

5 years agostaging: iio: adc: palmas: Fix current setting
Jinyoung Park [Thu, 28 Nov 2013 01:58:35 +0000]
staging: iio: adc: palmas: Fix current setting

Fixed current setting for GPADC_IN3 dual mode reading.

Bug 1356128

Change-Id: Iee7ffe06b752f66b6d43c489972a5c10fd371cef
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/336433
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agowireless: enable rx filter once work mode set
Jiukai Ma [Wed, 20 Nov 2013 04:49:10 +0000]
wireless: enable rx filter once work mode set

Enable rx filter once the work mode set, only adding for active standby
feature
bug 1391929

Change-Id: I3f439b39d4c490bd94c63367dfc64155c7321573
Signed-off-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-on: http://git-master/r/335979
GVS: Gerrit_Virtual_Submit
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agomedia: platform: tegra: Update OV7695 settings
Frank Chen [Fri, 22 Nov 2013 01:19:04 +0000]
media: platform: tegra: Update OV7695 settings

- revert back to 09/21 settings
- change AE to be center weighted

Bug 1327952

Change-Id: I68b68f711934a3d8f3b5e5254ec9ca3a2de3d50d
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/336015
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarm: dts: tegra124: add mipical node
Min-wuk Lee [Mon, 18 Nov 2013 08:22:30 +0000]
arm: dts: tegra124: add mipical node

Bug 1371533

Change-Id: I5530a3af8a12716aa2f1e65e565496e3af346fda
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/332303
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: dts: tegra114: fix MIPI_CAL default length
Min-wuk Lee [Mon, 18 Nov 2013 08:25:09 +0000]
arm: dts: tegra114: fix MIPI_CAL default length

Based on the TRM, tegra114 MIPI_CAL default length
is 256B, not 256KB.

Bug 1371533

Change-Id: Idbf2a1e727efcd668a84d89c32ad46e4cf30a6b9
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/332309
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: vcm30t124: Rename vcm30_t124 to vcm30t124.
Srinivas [Tue, 26 Nov 2013 05:23:07 +0000]
arm: tegra: vcm30t124: Rename vcm30_t124 to vcm30t124.

Removing underscore from board name.

Bug 1384384

Change-Id: Iafcf5a0091ec13dcfa4c6b0661abcc3eb8dad300
Signed-off-by: Srinivas <ysrinivas@nvidia.com>
Reviewed-on: http://git-master/r/328869
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Tested-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agousb: gadget: tegra: remove spin_unlock/lock pair
Rohith Seelaboyina [Wed, 20 Nov 2013 05:36:52 +0000]
usb: gadget: tegra: remove spin_unlock/lock pair

Remove the extra spin unlock/lock pain while building
dtd, as data corruption seems to happen by swapping
of dtd when multiple gadget functions are loaded.
This changes will make build dtd as part of Critical
section, there by swapping of dtd's doesnt occur.

Bug 1380570

Change-Id: I69ffc92a294cba13e79e2a02382b0c8f6b8cb28d
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/329296
(cherry picked from commit 5551ebc537dcd311188496d2dc0edf96bc1b036a)
Reviewed-on: http://git-master/r/334931
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra12: dvfs: Add alternative display DVFS table
Alex Frid [Tue, 19 Nov 2013 06:53:29 +0000]
ARM: tegra12: dvfs: Add alternative display DVFS table

Added display DVFS table applicable only when one window B is active.
Updated comments on multiple display and sdmmc tables.

Bug 1397158

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

5 years agoARM: tegra: clock: Add EMC rate sysfs nodes
Alex Frid [Wed, 27 Nov 2013 05:37:33 +0000]
ARM: tegra: clock: Add EMC rate sysfs nodes

Added sysfs nodes to retrieve EMC rate:
/sys/kernel/tegra_emc/emc_rate
/sys/kernel/tegra_emc/emc_available_rates

Bug 1410043

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

5 years agoARM: tegra12: dvfs: Add core rail Vmax thermal profile
Alex Frid [Fri, 8 Nov 2013 05:31:16 +0000]
ARM: tegra12: dvfs: Add core rail Vmax thermal profile

Bug 1413311

Change-Id: I0c945ec3b058a0fe10baee3c5c0535e8f8f32042
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/335402
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoARM: tegra12: dvfs: Add core rail Vmax trip-points
Alex Frid [Fri, 8 Nov 2013 06:30:02 +0000]
ARM: tegra12: dvfs: Add core rail Vmax trip-points

Added core rail Vmax trip-points to PLL thermal zone on Tegra12
platforms. Made sure pid governor is installed in PLL zone (for
consistency with all other SOC-THERM zones, and to avoid incorrect
cooling device state reporting by default step-wise governor).

Bug 1413311

Change-Id: Ib06fd98ab39dc9a4411b571778600569d801b242
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/335923
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agousb: host: tegra: Fix panic in tegra_ehci_remove()
Vinayak Pane [Thu, 21 Nov 2013 21:48:58 +0000]
usb: host: tegra: Fix panic in tegra_ehci_remove()

device_remove_file() uses hcd->self.controller, but hcd is
already freed by usb_put_hcd(). This causes kernel panic
when USB device is being removed.

Fix this issue by calling the sysfs_remove_file() before kref_put()

Bug 1409766

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

5 years agoarm: tegra: emc dvfs support for E1780 4GB board
Xue Dong [Mon, 18 Nov 2013 22:33:57 +0000]
arm: tegra: emc dvfs support for E1780 4GB board

bug 1409572

Change-Id: I317341d2b8ac43947322e16bdc01147946735c37
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/332589
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: update emc dvfs table to v7
Xue Dong [Mon, 18 Nov 2013 22:03:08 +0000]
arm: tegra: update emc dvfs table to v7

bug 1350759
bug 1340913

Change-Id: I75c04442e0ff6f0913bb2821c4f07e139cbf92cd
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/332574
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: update emc dvfs sequence to v12413
Xue Dong [Tue, 29 Oct 2013 19:44:54 +0000]
arm: tegra: update emc dvfs sequence to v12413

Change-Id: I0f07977520f5ffa6b646e368f2844e6b56d878fc
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/305051
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agomedia: tegra_camera: use pdev->dev.id after using DT
Bryan Wu [Fri, 15 Nov 2013 01:00:15 +0000]
media: tegra_camera: use pdev->dev.id after using DT

VI device tree node was added into tegra124.dtsi.

 - use pdev->dev.id to match sensor driver's bus_id, otherwise it
   will fail to start to probe sensor driver.
 - the name of VI platform device changed, as a result clock
   probing will fail during driver starting. So correct dev_id by
   using the name of pdev->dev.
 - check the cam->reg_base mapping, if it's NULL further register
   operation will cause oops

Bug 1377330

Change-Id: Iacf93f88b4f37bbca1d310c16c6ed2ed0b786758
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/335947
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

5 years agoarm: tegra: macallan: increase 2nd fb size
Emma Yan [Fri, 22 Nov 2013 09:31:32 +0000]
arm: tegra: macallan: increase 2nd fb size

Bug 1412680

Change-Id: Ie750340dbb741f5368708222efc1dc027c53c709
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/334422
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: config: tegra: enable QUOTA2_LOG
Louis Li [Fri, 22 Nov 2013 02:29:52 +0000]
ARM: config: tegra: enable QUOTA2_LOG

Enable QUOTA2_LOG so that data usage alert could be sent to framework

Bug 1317481

Change-Id: I7b12e0fd3a87c9d966a8a985cb5ab54faa4dde9f
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/334263
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra12: move mtk gps to device tree
bibhayr [Fri, 1 Nov 2013 17:25:00 +0000]
ARM: tegra12: move mtk gps to device tree

mtk gps is added as device node in loki
device tree.

Bug 1369054

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

5 years agodrivers: misc: gps: add device tree support in mtk gps
bibhayr [Fri, 1 Nov 2013 17:15:27 +0000]
drivers: misc: gps: add device tree support in mtk gps

Bug 1369054

Change-Id: I6d32240b4d2ee2156784a954cd6964f0b43d0659
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/309848
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoRemove writable permission for pinmux
Leavitt Zhang [Tue, 12 Nov 2013 06:50:35 +0000]
Remove writable permission for pinmux

To pass CTS 4.3, which guarantees that all
files under /sys are not writable for others.
Change the flag when creating tegera_pinmux.

Bug 1389582

Change-Id: Iac77fdc87dc9a7be7dd74e75f94656c9080855bb
Reviewed-on: http://git-master/r/335503
Reviewed-by: Lin Zhang (SW-TEGRA) <leavittz@nvidia.com>
Tested-by: Lin Zhang (SW-TEGRA) <leavittz@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra12: Fix T124 VE powergate clock list
Pablo Ceballos [Tue, 26 Nov 2013 23:25:55 +0000]
arm: tegra12: Fix T124 VE powergate clock list

The correct clock for the reset signal is "ispa" not "isp"

Bug 1406356

Change-Id: I14dc436c7080be734733893a7790d01926a2d1ce
Signed-off-by: Pablo Ceballos <pceballos@nvidia.com>
Reviewed-on: http://git-master/r/335901
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: Frank Chen <frankc@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm: tegra: vcm30t124: register SDMMC4 to platform
Seshagiri Holi [Mon, 18 Nov 2013 08:24:42 +0000]
arm: tegra: vcm30t124: register SDMMC4 to platform

As read/write errors were observed during booting
sequence, sdmmc4 device was disabled.
This was root-caused to mmcblkrpmb partition
being accessed as regular block device by
udev in the rootfs.

The udev issue has been fixed in rootfs.
Thus, enabling eMMC on SDMMC4 controller.

bug 1367536

Change-Id: Ie0fff210ec001c252e6f650ff82d8626f1927096
Signed-off-by: Seshagiri Holi <sholi@nvidia.com>
Reviewed-on: http://git-master/r/332831
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>