6 years agopm: EDP: add fair governor
Sivaram Nair [Mon, 17 Sep 2012 12:04:40 +0000]
pm: EDP: add fair governor

This patch adds the fair governor to EDP framework. This governor
allocates the available current budget proportional to the E0 state
level of clients.

Change-Id: I6bfac59e3c64ffe0917171af9246d0b287f5da66
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/140844
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R199b1d61b5aee77dbb53792d0035d844dee3734a

6 years agopm: EDP: remove spurious notification
Sivaram Nair [Mon, 1 Oct 2012 09:01:20 +0000]
pm: EDP: remove spurious notification

This patch fixes a bug which causes spurious callbacks/notifications
being sent to clients.

Change-Id: I833556136c7801391a4eed714d476c8f23e18748
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/140843
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: Rda010191eca94360ac2c9f523da561ef1d5df114

6 years agoasoc: tegra: WAR: Check AVP id before setting DMA
Shashank Sharma [Fri, 28 Sep 2012 10:59:24 +0000]
asoc: tegra: WAR: Check AVP id before setting DMA

WAR to check souncard data's avp_id before trying to set
DMA address. An invalid avp_id can cause invlaid rtd, causing
panic in control ioctl calls.

Bug 1046249
Bug 1044761
Bug 1049940
Bug 1050152

Change-Id: Ib536220fdb92f8256c777d6fa14b66e47bc6b7be
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/134426
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R08081bd6aaa11f762b4fa26d37f960ca859553fc

6 years agoarm: tegra: tai: Add support for voice call
Manoj Gangwal [Wed, 3 Oct 2012 10:19:32 +0000]
arm: tegra: tai: Add support for voice call

Add support for voice call at ASI2 port
on TAI.

Bug 1041401

Change-Id: I769a3eba36054588423f7ba0ddc982afa8382d0c
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/141223
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: Rd725b18e7a62db56f299567e22d5b544baedfdc8

6 years agoasoc: tegra: vcm/p1852: Set mclk to be 2x faster
Nitin Pai [Thu, 9 Aug 2012 10:20:42 +0000]
asoc: tegra: vcm/p1852: Set mclk to be 2x faster

pll_a_out needs to be 2x faster as ahub clock is derived
from it and it needs to run faster than the i2s clocks.

Bug 1029920

Change-Id: I37793d136586e8553c4b00ff55c78d68d3026140
(cherry picked from commit e2f52ebe93c937ec1a7989f2526ac9c8fe948e3a)

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

Rebase-Id: Rd70ea87e3d0bd6bbec913e31b12f79a16889ad3c

6 years agoarm: tegra: config: enable camera sensor support
Rakesh Sharma [Mon, 1 Oct 2012 05:14:34 +0000]
arm: tegra: config: enable camera sensor support

Added config support for imx132 sensors

Bug 961418

Reviewed-on: http://git-master/r/132589
(cherry picked from commit 223b13b11180a80fb995ce243c94031d5dabf884)

Change-Id: I715b0d3159d1dfaafa5f93ba981878e52cc236b1
Signed-off-by: Rakesh Sharma <rasharma@nvidia.com>
Reviewed-on: http://git-master/r/140055
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: Ra3a878c7f35f084a73ddfb56efdbdc26c4efa740

6 years agoARM: tegra20: cpuidle: enable broadcast clock event notifier for CPU1 in LP2
Joseph Lo [Tue, 25 Sep 2012 09:36:35 +0000]
ARM: tegra20: cpuidle: enable broadcast clock event notifier for CPU1 in LP2

In LP2, sometimes the CPU1 can't be woken up well (might stop) when running
"sleep" cmd in userspace. This is very easy to trigger by doing some stress
test with "sleep" cmd in the script. This patch enable the broadcast clock
event notifier for CPU1 in LP2 to avoid that happens.

This reverts 0811f22 "HACK! ARM: tegra: clocks: Disable event notification".

Bug 1052659

Change-Id: Ibc3f65d2c15df91c56815efecdb33362f0907a74
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/135082
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R0e05770bc751b1459a4fc887c29ff2cc6e712d97

6 years agoarm: arch: dalmore: Update camera clock and regulator
Frank Chen [Wed, 19 Sep 2012 21:04:35 +0000]
arm: arch: dalmore: Update camera clock and regulator

- Change CAM2_MCLK source to VI_SENSOR_CLK
- Fix regulator error

Change-Id: I7b07366edcc96d13128f763e2b1437baff88b752
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/133886
(cherry picked from commit ec5ed191fce35ebc0a7b46f4365dac7177eaff3b)
Reviewed-on: http://git-master/r/140716
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R14ebdf5290e7ca965bb40fee612c09de2206ca1c

6 years agoarm: tegra: pcie: fix dock connect after boot
Jay Agarwal [Mon, 1 Oct 2012 06:52:39 +0000]
arm: tegra: pcie: fix dock connect after boot

Initialized the pcie resources before using it to
avoid panic when dock is connected after system
has booted

Bug 1054457

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

Rebase-Id: Reb5132bf3e26e003b5a2f6bb25de633e0fbe8c80

6 years agoARM: cache-l2x0: get size of outer cache
Kirill Artamonov [Mon, 3 Sep 2012 10:45:06 +0000]
ARM: cache-l2x0: get size of outer cache

Implement interface for getting size of outer cache.

bug 983964

Change-Id: If855f32d3eaa4c673c132b1964a46fe1c15b4dfe
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-on: http://git-master/r/140024
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

Rebase-Id: R11f28e4f625d2626a7a9270265a485e9b07c473f

6 years agoarm: tegra: enable full L2 maintenance
Kirill Artamonov [Tue, 12 Jun 2012 16:00:58 +0000]
arm: tegra: enable full L2 maintenance

When allocation is bigger than L2 size it is more optimal to
flush or writeback whole L2 instead of doing maintenance
for each allocated page.

bug 983964

Reviewed-on: http://git-master/r/131951
(cherry picked from commit 61afd401b8fb0bf667a178ab016cefa416595cb0)
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Change-Id: Ic089f6c1ef6e5807b4e04325c74a373d269a5221
Reviewed-on: http://git-master/r/140023
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R24aefc0fa4cef814e0a9f4af26cc9f5b844d8d98

6 years agoarm: tegra: select SOC_BUS for Tegra3
Sachin Nikam [Fri, 21 Sep 2012 09:03:42 +0000]
arm: tegra: select SOC_BUS for Tegra3

Enable CONFIG_SOC_BUS for Tegra3 platforms to get chip id,
revision and family.

Bug 1051923

Change-Id: I6c352fe21988c5a7fe8ebe38850f7d9f85d5559b
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/134327
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Cathy Donovan <cdonovan@nvidia.com>
Tested-by: Cathy Donovan <cdonovan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R6127f40faab0917a16cd297d912a3560f0fb5dd7

6 years agoasoc: aic3262 codecs: Remove debug messages
Manoj Gangwal [Fri, 28 Sep 2012 13:06:16 +0000]
asoc: aic3262 codecs: Remove debug messages

Bug 1041401

Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Change-Id: I7fd738b37c154ff58bb85ca5f201963ebf1ad496
Reviewed-on: http://git-master/r/139700
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
GVS: Gerrit_Virtual_Submit

Rebase-Id: Rb8efabf0abc7b7ba3247f2e389a1bc7b586d52cd

6 years agoarm: tegra: config: enable ov9772 sensor support
Yuvraj Pasi [Sat, 15 Sep 2012 11:01:36 +0000]
arm: tegra: config: enable ov9772 sensor support

Add config support for ov9772

Bug 961418

Change-Id: I7ca1c3523a33561b8fcb2916e85b454359488263
Signed-off-by: Yuvraj Pasi <ypasi@nvidia.com>
Reviewed-on: http://git-master/r/132988
Reviewed-on: http://git-master/r/139586
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Rakesh Sharma <rasharma@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: Rc7e3bf4832248aeb7e41e985221c17fb4e7c807e

6 years agoarm: tegra: Fix lp0 suspend/resume
Penny Chiu [Thu, 27 Sep 2012 09:07:26 +0000]
arm: tegra: Fix lp0 suspend/resume

Fix the ventana lp0 bug.

1. Change the default suspend mode to lp0.
2. Not all registers are saved/restored in pinmux suspend/resume.
   It causes the system hang when resume from lp0. This change
   fixed this problem.

Bug 1041336

Signed-off-by: Penny Chiu <pchiu@nvidia.com>
Change-Id: Ia4aeffa1a659bb2d3349b7a6076282c7efc41853
Reviewed-on: http://git-master/r/139326
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Re64342a6c6ca4cf728353940f6685879a7eb3558

6 years agoarm: tegra: usb_phy: fix UTMIP issues for t11x
Rakesh Bodla [Sat, 22 Sep 2012 12:09:13 +0000]
arm: tegra: usb_phy: fix UTMIP issues for t11x

Fixing register programming for UTMIP issues
on t11x.

Bug 1052215
Bug 1052299

Reviewed-on: http://git-master/r/134592
(cherry picked from commit dd0a5f3c232dda960e2258709748e44c79726042)

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

Rebase-Id: R8e6d1b717df09694d28652ac6110c5b623cc0a1f

6 years agoARM: tegra: Dalmore: add device entry for avdd_usb
Rakesh Bodla [Sun, 16 Sep 2012 17:51:32 +0000]
ARM: tegra: Dalmore: add device entry for avdd_usb

Add usb device mode entry for avdd_usb.

Reviewed-on: http://git-master/r/133103
(cherry picked from commit e5ecc92e962419dc2df694139ae8c29377392566)

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

Rebase-Id: R13cb5c9f5d3b74da6d8dc38f33eb4899c8f3aed6

6 years agoARM: tegra: usb_phy: Implement HSIC reset during suspend state
srinivas [Wed, 12 Sep 2012 07:30:58 +0000]
ARM: tegra: usb_phy: Implement HSIC reset during suspend state

During suspend state, Enabling PD_RX on HSIC pad causing extra
power (3.5mA) on PLLU_D rail. With HSIC PHY reset during suspend
state along with the PHCD bit set, not seen any extra power on
PLLU_D rail.

Bug 1039099

Change-Id: I2f99c12c9cec21c261e2628183da538147d853cc
Signed-off-by: srinivas thaduvai <sthaduvai@nvidia.com>
Reviewed-on: http://git-master/r/131710
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Abhishek Shukla <abhisheks@nvidia.com>
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: Re92dfc7cdc2650fa042b9a8d87bd664030000821

6 years agodrivers: misc: nct: fix section mismatch warning
Deepak Nibade [Wed, 26 Sep 2012 13:19:00 +0000]
drivers: misc: nct: fix section mismatch warning

fix warning due to section mismatch in nct1008_probe
and nct1008_debuginit

bug 1038578

Change-Id: I9bd9bb44afc06b06defefcc0880e60881ae7f42e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/138972
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R25f4161c20edd78a1f9966eec790e3f7e2bcfc49

6 years agoARM: tegra: pm: Use rcuidle tracing only in idle
Antti P Miettinen [Thu, 20 Sep 2012 11:13:49 +0000]
ARM: tegra: pm: Use rcuidle tracing only in idle

The tegra_idle_lp2_last() is not always called from
idle thread.

Change-Id: I405f54769855de2ff04619d9427533dcba220959
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/134060
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R45e921f90f0a84eabe2234e682ad2101a682c97c

6 years agoARM: Tegra: Move cache disable to flush function
Antti P Miettinen [Wed, 19 Sep 2012 11:44:59 +0000]
ARM: Tegra: Move cache disable to flush function

During power gating we need to make sure that all state is
properly flushed to ungated part of the chip. To ensure
that data cache is completely cleaned after flush, the
cache needs to be disabled before flush. When data cache
is disabled we naturally cannot write to cacheable memory.
Therefore handle the disable inside the flush function.

Bug 1045096

Change-Id: I740ffdfd43c4b75bf58aaad4279092040a8c7405
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/133799
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R4496004d2a32b2dfda731c77502a9489c0eb6b08

6 years agoarm: tegra: pluto: modify sensor slave address
Shantanu Nath [Fri, 14 Sep 2012 14:32:50 +0000]
arm: tegra: pluto: modify sensor slave address

imx091 and imx132 have same slave address and they are on same bus.
However device manufacturer has provided option to pick from
different slave address. So changing the address for imx091.

Bug 961418

Change-Id: Ibbbd396b0ed19a1f318029c6c3e0cf0339797eb3
Signed-off-by: Shantanu Nath <snath@nvidia.com>
Reviewed-on: http://git-master/r/132671
(cherry picked from commit b8a350c6c59321b9c1ff6431b330a074d5e6bfbf)
Reviewed-on: http://git-master/r/133171
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R84e5873061d3204bc85ff72a9e3aa638522bfff5

6 years agoarm: tegra: pluto: add camera sensor support
Shantanu Nath [Fri, 14 Sep 2012 10:12:47 +0000]
arm: tegra: pluto: add camera sensor support

adding pluto-board support for front and rear camera sensors
1. fix bug that pluto_sensors_init gets called twice.
2. refactor gpio
3. refactor regulator.
4. remove avdd_dsi_csi because it's opened in tegra_camera.
5. remove vdd_1v8_lcd_s because it's irrelevant.
6. remove vdd_sensor_3v0 because it's irrelevant.
7. set CAM_GPIO0 after power is on.

Bug 961418

Change-Id: I39359d89611c03a20163ececc2d341b3d640c879
Signed-off-by: Shantanu Nath <snath@nvidia.com>
Reviewed-on: http://git-master/r/132523
(cherry picked from commit be15b7391c8fb2329ef7ec3a3239a9efabd2acd2)
Reviewed-on: http://git-master/r/133168
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R594fe6e7f80660c9b9cbe825761c1534db819f8c

6 years agoasoc: max98088: enable DC offset filter for DAI1
Ravindra Lokhande [Mon, 17 Sep 2012 09:22:03 +0000]
asoc: max98088: enable DC offset filter for DAI1

(cherry picked from commit ac235cad736fdf5f73c4f61026d390e9a35483a0)

Change-Id: Id1e6c6734446e7d2ee3df0d92167d03d24060913
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/134830
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R3291eed58ee8448f82fcb098684ce832ca56527a

6 years agoarm: tegra: fix coverity issue
Sri Krishna chowdary [Mon, 24 Sep 2012 10:10:07 +0000]
arm: tegra: fix coverity issue

Array compared to NULL has no effect. Fixed it.

Bug 1046331

Change-Id: I2f89bc7851558795084ba03c84fbcdc4330f489d
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/134781
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R2e7cbe86b22a3a7659a886aebda9d1f02073feb4

6 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Fri, 31 Aug 2012 18:24:49 +0000]
security: tf_driver: integrate latest TL release

Tegra 3 version: TF_TEGRA3_AB01.16.37161

Improvements in maintenance operations of L2 Cache Controlller.

Change-Id: Iddbd61b21b6d83548d5a8c636e26b07b3b4f1385
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/128948
(cherry picked from commit 9bc5ccb125f8c32733a73bbc560ee71ac143f359)
Reviewed-on: http://git-master/r/131895
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: James Zhao <jamesz@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8c263ccbbb7b08d08ecdd629122c3168f39df169

6 years agoarm: tegra: optimize L2 enable/disable paths for secureos
Varun Wadekar [Tue, 28 Aug 2012 05:59:06 +0000]
arm: tegra: optimize L2 enable/disable paths for secureos

For the CONFIG_TRUSTED_FOUNDATION code paths, differentiate L2
enable vs. reenable, which are different SMCs (won't trigger an
invalidate in the case of a reenable).

On an L2 disable SMC, optionally pass a 0 for the L2 ways arg,
which skips the full clean/invalidate (and simply just disabled
the L2).

In order to safely skip flushing the L2 on the disable, we have
to be careful what we dirty from the type we flush the L1 and
disable the L2.

Reviewed-on: http://git-master/r/119786
Original-author: Chris Johnson <cwj@nvidia.com>

Change-Id: Iebcf1042ce2b58513e40e9d49f87ecec9dfdd301
Signed-off-by: Chris Johnson <cwj@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/130061
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R4dde3b2e285d5917bdba15a318ac18702eb59c90

6 years agoarm: tegra: fix cl_dvfs typo
Tom Cherry [Fri, 14 Sep 2012 21:47:26 +0000]
arm: tegra: fix cl_dvfs typo

Reviewed-on: http://git-master/r/132833
(cherry picked from commit a13c21ed4208303f4878adbf91ae7bb0b925a766)

Change-Id: Id920b9bbce5b233f8e6c3ce9034fed44c4d99e1e
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/135206
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R79e850530f6655b1d0bd2367d2c7d12aa44fccc2

6 years agopm: EDP: t114: adding battery EDP manager
Sivaram Nair [Thu, 13 Sep 2012 15:45:39 +0000]
pm: EDP: t114: adding battery EDP manager

Battery EDP manager is added for Pluto and Dalmore boards.

Change-Id: I7a3fd1e7621f6c0c0a873185b23a8b81947b16a9
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/132526
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R1f3821b5d08d378387da9728aec7696ae46a624a

6 years agomfd: tps6591x: Adding support for pullup init
Sumit Sharma [Mon, 24 Sep 2012 07:02:32 +0000]
mfd: tps6591x: Adding support for pullup init

Bug 1042318

Added support for pullup values init in tps6591x driver

Change-Id: Ic4ea9cbc683bfad37abb7a566502b106bc4144c9
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/134732
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rf80490241d8d034cc2513e188151a40625651277

6 years agoasoc: tegra: MAX98088 machine: fix coverity issue
Sri Krishna chowdary [Sun, 23 Sep 2012 08:42:32 +0000]
asoc: tegra: MAX98088 machine: fix coverity issue

Add negative check to prevent negative index in array.

Bug 1046331

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

Rebase-Id: R725aad3aa9f9041e2367e4ce2ec70d474d5ff174

6 years agoasoc: tegra: utils: fix coverity issue
Sri Krishna chowdary [Sun, 23 Sep 2012 08:33:51 +0000]
asoc: tegra: utils: fix coverity issue

Add null check before pointer dereference.

Bug 1046331

Change-Id: Icab0c3d7698dc558503136abaede70cf9d9aa9bb
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/134652
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rba6a9e22cc94df366127c3667085257e178c10f6

6 years agoasoc: aic326x machine: fix coverity issue
Sri Krishna chowdary [Sun, 23 Sep 2012 08:05:45 +0000]
asoc: aic326x machine: fix coverity issue

Add negative check for "call record dam ifc".

Bug 1046331

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

Rebase-Id: R73bb7fb765188ea2d85dbb5b1c0e724991c78c85

6 years agomfd: tps6591x: Fixed warning in tps6591x_i2c_probe
Sumit Sharma [Fri, 21 Sep 2012 06:34:43 +0000]
mfd: tps6591x: Fixed warning in tps6591x_i2c_probe

Fixed __init warning due to section mismatch in
tps6591x_i2c_probe() and tps6591x_sleepinit()

Bug 1051977

Change-Id: I9ad065af3696ec71b477464608544d7a6a4b5483
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/134287
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R553a0158ac8a7a15929de74aa028170a4361e33d

6 years agoasoc: tegra: fix coverity issue
Sri Krishna chowdary [Thu, 20 Sep 2012 12:57:08 +0000]
asoc: tegra: fix coverity issue

Fix negative array index error.

Bug 1046331

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

Rebase-Id: R340427a0a59f868b36395746ccba4159b1137c13

6 years agoARM: Tegra: Increase coherent_pool_size to 1MB from 256KB
Hiroshi Doyu [Thu, 13 Sep 2012 10:29:48 +0000]
ARM: Tegra: Increase coherent_pool_size to 1MB from 256KB

Increase coherent_pool_size to 1MB from 256KB.

Bug 1048645

Change-Id: I02b256f8e3f296a5e818f03cc9e47330069a0f01
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/132149
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

Rebase-Id: R7770af3c9d369b345291012a25d1d727987294f4

6 years agoARM: tegra: clock: remove wake.sclk
Shridhar Rasal [Fri, 21 Sep 2012 14:41:35 +0000]
ARM: tegra: clock: remove wake.sclk

Already change in place to boost avp.sclk in displayON usecase.
Removing unwanted wake.sclk.

bug 1039961

Change-Id: I88244bc0ec5fcf7008dd969d65be0ed705fb74d5
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/134418
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rfc5994af6aea5ca10fafa72fb6501883831f9c0a

6 years agoARM: tegra: dalmore: Add sensor board support
Yuvraj Pasi [Sat, 8 Sep 2012 11:43:36 +0000]
ARM: tegra: dalmore: Add sensor board support

Add sensor board support on dalmore for front
sensor ov9772.

Bug 1011174

Change-Id: I4859fd11c65c6aaf897cb8eb6d62358154731b6a
Signed-off-by: Yuvraj Pasi <ypasi@nvidia.com>
Reviewed-on: http://git-master/r/132968
(cherry picked from commit df6975ffa976487628c758484c04a7852ae15dfe)
Reviewed-on: http://git-master/r/130870
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Rakesh Sharma <rasharma@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R5f8df46c9a1c94e7ae9c69116db842772edf451f

6 years agoarm: tegra: clock: Fix coverity issue
Sri Krishna chowdary [Mon, 17 Sep 2012 05:50:35 +0000]
arm: tegra: clock: Fix coverity issue

Check return value of debug_create_file syncevents if
success or not.

Bug 1046331

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

Rebase-Id: Rcd1b13ad2650ef21e3d2cb0388f8509a4794f3ca

6 years agoARM: tegra: usb: read hot plug only in host mode
Rakesh Bodla [Thu, 20 Sep 2012 06:41:39 +0000]
ARM: tegra: usb: read hot plug only in host mode

Hot plug data is available only in host mode. Guard hotplug
read with host mode.

Bug 1047763
Bug 1050193

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

Rebase-Id: R2ef46e0142d5bb7e164078b6449ba84a4e072dee

6 years agoarm: tegra: usb_phy: remove warn_on messages
Rohith Seelaboyina [Tue, 18 Sep 2012 08:54:07 +0000]
arm: tegra: usb_phy: remove warn_on messages

Removed warn_on messages and made code independent of
checking phy interface.

Bug 1050193

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

Rebase-Id: Rec4f2847ce7d4fb68d90d0be34ce199714855c0f

6 years agoarm: tegra: xmm: add post_resume phy callback
Vinayak Pane [Fri, 24 Aug 2012 02:48:12 +0000]
arm: tegra: xmm: add post_resume phy callback

phy post_resume is called when usb port+hub is resumed,
check if modem has finished resume by then. Notify modem
about post resume by setting bb_wake to low.

Modify check for CP initiated wakeup to read current
modem state (ap_wake).

Bug 1034420

Change-Id: Ie9a3aa581bd7660183464e3fc2554ceb055b69b2
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/129533
(cherry picked from commit e96e462aee43ed8699f5cd64728c389e92ef402e)
Reviewed-on: http://git-master/r/131996
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rdc12eaa4d9ae104f8775ce38488566664e5f3f58

6 years agokernel: Modify default schedule interval to 1ms
Mitch Luban [Thu, 6 Sep 2012 20:45:54 +0000]
kernel: Modify default schedule interval to 1ms

Modifies the OS default system scheduling interval
to 1ms.

Bug 954903

Change-Id: I306c2183bd94df3147aab636c9d7d2f813e4fa30
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/130300
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R0c684efb614bced86026f8a13d031d1e79797a46

6 years agoARM: tegra: Document sysfs params
Juha Tukkinen [Tue, 18 Sep 2012 09:02:20 +0000]
ARM: tegra: Document sysfs params

Intoduction of cpuquiet framework broke tegra sysfs API. Document the new
sysfs interface.

Bug 894311
Bug 1031064

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

Rebase-Id: R4f02371a5c3f95d9fbf4731ddcbbb5e74a33f312

6 years agoarm: tegra: add device tree support
Prashant Gaikwad [Sat, 15 Sep 2012 04:58:41 +0000]
arm: tegra: add device tree support

Enable device tree support for kai, dalmore, pluto and curacao
by adding board compatible tables.

Also add dts/dtsi files for kai, dalmore, pluto and curacao.

Bug 973078
Bug 1037657

Change-Id: I24fdcde555f4bf840ad839cad25c8d0d43ced7cc
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/130634
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R35f1359a8ff83cfc6ed92b57761a76e6feb44a5c

6 years agoARM: Tegra: Add support for T30 DVFS DT bindings
Prashant Gaikwad [Thu, 16 Aug 2012 13:41:32 +0000]
ARM: Tegra: Add support for T30 DVFS DT bindings

This patch implements functions required to parse
DVFS tabled defined in device tree.

Bug 906383

Change-Id: I13cf76b3a8c1284349d6684f91f62f011501c84d
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/130671
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re25273bcf7c2309bef3fe1ea6474606911bfce9c

6 years agotracing: Add event for tracing power gating
Antti P Miettinen [Fri, 7 Sep 2012 10:56:36 +0000]
tracing: Add event for tracing power gating

Define trace events for measuring power gating latencies.

Change-Id: I656bb449fa9494b51963ed7c49a03b4a6e130006
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/130660
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
GVS: Gerrit_Virtual_Submit

Rebase-Id: R5c3d3a9135edc959837ccaf7ed3f9936335b796d

6 years agoCHROMIUM: config: Enable reading bpp from HW
Christopher Freeman [Mon, 17 Sep 2012 20:26:27 +0000]
CHROMIUM: config: Enable reading bpp from HW

Set config option to read hardware value for bits per pixel off DC hardware
and use it as the initial setting.  This helps maintain an image in the
framebuffer from u-boot over the uboot-to-kernel transition.

Bug 1044429

Change-Id: I2db2e7aaf704b08abe202e81aeaf02314a9d8bdc
Signed-off-by: Christopher Freeman <cfreeman@nvidia.com>
Reviewed-on: http://git-master/r/133324
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

Rebase-Id: R347562051307780f85d30f3ebfaa9f8879ac354a

6 years agoARM: tegra: emc: Add DECERR_EMEM to diagnostic
Antti P Miettinen [Fri, 14 Sep 2012 09:43:00 +0000]
ARM: tegra: emc: Add DECERR_EMEM to diagnostic

Give information about error type 2 for MC error.

Change-Id: Ib5763204937a61a6646c12dba45a8cb36b74ce21
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/132604
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rcb77f070e085a40d1cfc73f85fbd6018f99a749f

6 years agoARM: Tegra: Disable data cache before flush
Antti P Miettinen [Fri, 14 Sep 2012 09:45:53 +0000]
ARM: Tegra: Disable data cache before flush

When entering power gating, disable L1 data cache before
flushing. This is needed in order to prevent data cache
making allocations during/after flushing.

Bug 1045096

Change-Id: I0a6b2516e2bbd21ca35b74d24f7311318e127607
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/132590
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rfbdbd9ffc361a27ad8e1807e6683836034003529

6 years agopm: EDP: bug fixes
Sivaram Nair [Thu, 13 Sep 2012 14:06:14 +0000]
pm: EDP: bug fixes

This patch includes several minor bug fixes:
(1) fixing example documentation
(2) fixing minor errors in sysfs
(3) fixing governor initcalls to postcore
(4) adding missing include

Change-Id: I3c1115cc23e6e887c083801a59143c5a06e75d12
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/132525
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R67853ff1b522ed3a628b8794f93d5d6c8d91b9d8

6 years agoARM: tegra11: clock: Fix CPU clock source initialization
Alex Frid [Fri, 14 Sep 2012 01:45:54 +0000]
ARM: tegra11: clock: Fix CPU clock source initialization

Fixed incorrect order in enforcing PLLX DIV2 bypass and CPU clock
source initialization.

Bug 1048603

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

Rebase-Id: R4074d6cfa9a8a06da09d2339d752eef5ccc4b65e

6 years agoedp: edp nodes moved to $DEBUGFS/edp/vdd_cpu/
Mitch Luban [Tue, 11 Sep 2012 01:30:19 +0000]
edp: edp nodes moved to $DEBUGFS/edp/vdd_cpu/

Moved edp nodes to $DEBUGFS/edp/vdd_cpu/ so
that EDP manager and VDD_CPU_EDP capping have
equal footing in debugfs namespace.

Requires the following changes:
http://git-master/r/131482
http://git-master/r/131272
http://git-master/r/131273

Bug 1046809

Change-Id: I61184bf8bd54a2a701fd4182b421b0da229883b7
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/131271
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>

Rebase-Id: R53b209ad7c921751165797462049f5f8a5641094

6 years agoARM: tegra: pm: Use rcuidle tracing for cluster switch
Antti P Miettinen [Wed, 12 Sep 2012 16:16:25 +0000]
ARM: tegra: pm: Use rcuidle tracing for cluster switch

Change traces in idle to use rcuidle variants.

Change-Id: I3684c5ddd246202ae204f583f4755b542def4c5c
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/131882
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R43a0ed55a084037f42d43e96f1f0e2f0e1dce8eb

6 years agoARM: Tegra: Define DT bindings for T30 DVFS
Prashant Gaikwad [Wed, 1 Aug 2012 12:45:34 +0000]
ARM: Tegra: Define DT bindings for T30 DVFS

Define device tree bindings for Tegra30 CPU and
Core DVFS tables.

Bug 906383

Change-Id: Ib04bc59fe314c82321f9cf414dd50b6ba9c3b822
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/130670
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R3e5b51a8bfffa5baab319745fccd533b37abed5c

6 years agodrivers: devfreq: Fix devfreq stub functions
Arto Merilainen [Fri, 14 Sep 2012 06:36:13 +0000]
drivers: devfreq: Fix devfreq stub functions

This patch allows the kernel to build even if devfreq.h is included
when devfreq support is not available.

Change-Id: I01f1bdd9dda755f86255e5609c2a5411cfb64480
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/132557
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

Rebase-Id: R346b3b9ea9d3dd27487fe893795b7684dcd8be27

6 years agoARM: tegra: dalmore: Add cpu dfll platform data
Alex Frid [Thu, 13 Sep 2012 00:34:07 +0000]
ARM: tegra: dalmore: Add cpu dfll platform data

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

Rebase-Id: R173d4759367c462db73432a4dc6739dd6caf6d13

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>

Rebase-Id: R6e3607d1e9e0a6a138129463a3659ad3547cee21

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>

Rebase-Id: R6414284b141a301c4d20df288f247a367ee9eaef

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>

Rebase-Id: R81f2ceacae7865e1941c3eb7fb3950a9a0195f5c

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>

Rebase-Id: Rbc13df1f327d6fe42ff651f51fc2b7bc07f8128c

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>

Rebase-Id: R7254099f0d05d7fe5cb9d2fee13cc65c17858daf

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>

Rebase-Id: R7eca456ea6b605699380ca871863402dbff43bf7

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>

Rebase-Id: Racb3856e878119e64f393a578e9c6cae0e3ab4f4

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>

Rebase-Id: R92014fdc919695d83510fb5dc243be7c33df080b

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>

Rebase-Id: R65da0da79a5851be8b040bd377c350dda341f123

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>

Rebase-Id: R29a065ae41a09caaac33e7612d9406f5261e5299

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>

Rebase-Id: R4c7a161d25092e3c9e7da5ba78ce6c4289c39e92

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>

Rebase-Id: R17ed964ebbc1eb27467064ac504e3f9ebaa27b7d

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>

Rebase-Id: R05694dd371bb644e43d6455a4e38453a27e47377

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>

Rebase-Id: Rc18197d3094ee574403f2d8a3be6a552728a70e8

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>

Rebase-Id: R033c0f132928bde6ca31849e51fa4d48863b9f46

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>

Rebase-Id: R7a20292e2cfb551a875962f0903647f69b78a0ab

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>

Rebase-Id: R2c3620ae73523a2849ce8ec89387c69fae81370f

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>

Rebase-Id: R7f06568d4a9d41c2e2674aa5b6e136b20389ab06

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>

Rebase-Id: Rf7767cfb6508592f4ad589d586ab4817399cb9b7

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>

Rebase-Id: R123a483ebb12579447a6240af26a30f10296f91f

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>

Rebase-Id: R4504a5f7d74903c4880d3c833029eb01d9618c41

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>

Rebase-Id: Rde5fe5e95bb3cfcdce44fa1f8c4de369697b4cee

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>

Rebase-Id: R681a36b249a4874e7d2bcb57c5d326b6c8e53e78

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>

Rebase-Id: R2eff29aa4788d5f6cd9654cdf298c6e9864410e1

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>

Rebase-Id: R1aec12a178c3f5e5b9d8755b18dd32e8e26d2d28

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>

Rebase-Id: Re2195baaab54b5388029a3b51ea93bf33846bdec

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>

Rebase-Id: R5c1111f6e89612eaab17cf3c99d71be8470b6956

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>

Rebase-Id: R89e91483c8c420e45affc3d9e1876bd1d5ecf220

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>

Rebase-Id: R920ff83ba3bdbe4443750a405b3757bc1c11f4f8

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

Rebase-Id: R078b8f1c578fbe9a4dfeada221c3840615a78b3d

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

Rebase-Id: R879a212b8570f44fddeede2e1d3ebc776aa377b1

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>

Rebase-Id: R573203bece2faf45ac1e03c7fcb47cb042a53e64

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

Rebase-Id: R8e578267939d0bcde96d4851fb46b44da78baf28

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>

Rebase-Id: R495bc7741a8c90891f27e158af9ebdbcd820db97

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>

Rebase-Id: Rfc4cd9370b184df0b63c02f9d7ea9a1e47735b2a

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>

Rebase-Id: R83712fcb9b6ea9d2dffe3945f0c71b9437963024

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>

Rebase-Id: R4b0d046b49db7b2d0f2dc5712cd47c9791314e38

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>

Rebase-Id: R9d74935baa1bef8ce298b5ba8e3d22194101d585

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>

Rebase-Id: Ra98f7e38d1273b0b75c6e4789f1ea98e3be4bf7c

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>

Rebase-Id: Rf403c8008821cda51e69810d54bb5b14837bda15

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>

Rebase-Id: R0fcb47f126f302c08a845d2c12f91a6f330fc642

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>

Rebase-Id: Re534fa2fa0c696a454bc5e88d89abb2768b6693c

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>

Rebase-Id: R650b2261e6242ffba1fb1295ea3c53173d5a057f