6 years agoARM: tegra3: remove <board>-throttle_list_init functions
Bharat Nihalani [Thu, 25 Oct 2012 10:37:13 +0000]
ARM: tegra3: remove <board>-throttle_list_init functions

Change-Id: I14b3224f769738e9b578f6d9dc53d1935bb31fff
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147522
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra3: speedo: fix build break
Bharat Nihalani [Thu, 25 Oct 2012 09:19:48 +0000]
ARM: tegra3: speedo: fix build break

Change-Id: I7efceacc45401edde2b27c298e58e639333b59c4
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/147521
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: mipi_cal: Fix stub function definition
Animesh Kishore [Thu, 25 Oct 2012 06:03:26 +0000]
video: tegra: mipi_cal: Fix stub function definition

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

6 years agovideo: tegra: dc: Fix bootloader to kernel display transition
Animesh Kishore [Fri, 28 Sep 2012 04:38:10 +0000]
video: tegra: dc: Fix bootloader to kernel display transition

Bug 1053029

Change-Id: Ic4d0d2f6032fc6aa3a085272ba8f8dfbf860e659
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/139571
(cherry picked from commit fc5fb511a3fb08b65c026e7b31efb8b8ecbeeb73)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146675
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agovideo: tegra: dsi: Config mipi cal block
Animesh Kishore [Tue, 23 Oct 2012 12:53:30 +0000]
video: tegra: dsi: Config mipi cal block

Bug 1054040

Change-Id: Ib981d1eb6073d531d9a4b8d4bb0016e5bb3911f5
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
(cherry picked from commit 76c07f43c7b4d7dd3f7da4e656146c08e65fbf6b)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146946
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoarm: tegra: pluto/dalmore: Add mipi cal resource
Animesh Kishore [Tue, 23 Oct 2012 12:51:40 +0000]
arm: tegra: pluto/dalmore: Add mipi cal resource

Adding mipi calibration block as resource to display.

Bug 1054040

Change-Id: I6df0bbd3d05cd8c1e6641bed97d85495e97f88f0
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
(cherry picked from commit 203fc92eaf7932ac9662daaa27c75fb4e2d1ecb7)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146945
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore: Fix temperature sensor vdd rail and i2c bus
Diwakar Tundlam [Wed, 19 Sep 2012 23:52:53 +0000]
ARM: tegra: dalmore: Fix temperature sensor vdd rail and i2c bus

Bug 1046108

Change-Id: I70057a4a06696f2e442c5893bcee204af4b414b7
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/133926
(cherry picked from commit ff20059d2f3d1136a85ea211f2eacd99df22e0df)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146666
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: power: max77665: modify otp settings
Syed Rafiuddin [Thu, 18 Oct 2012 08:48:31 +0000]
drivers: power: max77665: modify otp settings

Modify default input current limit opt settings to
resolve frequent usb cable plug/un-plug issue.

Bug 1154672

Change-Id: I6f17102f08dbeb62e58edc24c55730a96d7b597d
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/145233
(cherry picked from commit 7f64bb3f4d662c6c6da2b1ad0c9d6653fe70e764)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147061
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: misc: therm_est: add debug sysfs nodes
Joshua Primero [Wed, 17 Oct 2012 00:29:14 +0000]
drivers: misc: therm_est: add debug sysfs nodes

Added the ability change coefficients and offset during runtime.
This is found in /sys/devices/therm_est/coeffs and
/sys/devices/therm_est/offset.

Also, added the ability to view the history of temperatures
per device used by the therm_est driver. This is found in
/sys/devices/therm_est/temps.

bug 1158994
bug 1059470

Change-Id: Ie3441a2c9a613381d4e19c61479001975488fd76
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/145060
(cherry picked from commit ee1078d1262fd0f01d156796837c3c67f92d3873)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147060
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable clocks
Joshua Primero [Tue, 25 Sep 2012 23:31:47 +0000]
ARM: tegra: soctherm: Enable clocks

Initialized clocks to enable soctherm. Note soctherm is still
not enabled until CONFIG_TEGRA_SOCTHERM is enabled.

Change-Id: I99eaa7f1da3369b61354b8121586f3c374d6ea5e
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/138788
(cherry picked from commit 01fe3665c64a7cc0f11322c3a72d43fa67b0fbe5)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147058
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable pulse skipper
Joshua Primero [Tue, 2 Oct 2012 22:09:55 +0000]
ARM: tegra: soctherm: Enable pulse skipper

Enable pulse skipper hardware throttling.

Change-Id: I00855d491e603270b8e81b7f7feb8e94e294b1fd
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/141035
(cherry picked from commit a42307516078f48c2b784158e84adcf3eaf4cd30)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147057
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: Fix reset sequence
Animesh Kishore [Sat, 13 Oct 2012 03:02:57 +0000]
arm: tegra: pluto: Fix reset sequence

Fixing reset for 1080p Sharp panel.

Change-Id: I9778aa414adf34911db335e6c9c0eae00e9af8a9
Reviewed-on: http://git-master/r/144295
(cherry picked from commit 05ae8295189bf571a8d9335d512408d0ae543c13)
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
(cherry picked from commit 625576b0a2f89ffe176016adec07a34c765f5f18)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147056
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: Add support for Sharp 1080p LS050T1SX01(G) panel
Animesh Kishore [Tue, 23 Oct 2012 09:14:49 +0000]
arm: tegra: pluto: Add support for Sharp 1080p LS050T1SX01(G) panel

Bug 1156912

Change-Id: I0ccccd0c86822a948ea6a18ead25d36e64d56858
Reviewed-on: http://git-master/r/143956
(cherry picked from commit 9f728c192fb37007867fc9c80f5d4768332c7217)
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
(cherry picked from commit 1de4be6b8870c8fc8d4f24cc0f8bcbf4bd6f02a9)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147055
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: fuse: determine correct iddq value from fuse version
Diwakar Tundlam [Tue, 9 Oct 2012 18:15:02 +0000]
ARM: tegra11: fuse: determine correct iddq value from fuse version

Change-Id: I99c03de4a1f788cbf91a3b7c835e8a74e5b67707
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/142720
(cherry picked from commit 9bc1055b8c56a8a256806c87117d8e0a0b198cbf)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146701
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: dsi: Fix EOT packet length
Animesh Kishore [Fri, 12 Oct 2012 01:43:17 +0000]
video: tegra: dsi: Fix EOT packet length

Bug 1156912

Change-Id: I1e368aa49cba911c8a7ada0c7e861bd9301891b0
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/143955
(cherry picked from commit dd5d7c774850b634f5e6f6e851d7e277e04e8368)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146700
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: check chip-id and select table or calculated edp
Diwakar Tundlam [Tue, 9 Oct 2012 23:08:44 +0000]
arm: tegra: power: check chip-id and select table or calculated edp

Change-Id: Ib1b6641095d3568e339c1e56a199157d8f25ad84
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/142786
(cherry picked from commit 8de620ebdaf0426bf64db2a0d3feb04f003b11f8)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146699
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: config: enable max77665 battery charging
Syed Rafiuddin [Wed, 10 Oct 2012 09:28:39 +0000]
arm: config: enable max77665 battery charging

enabling maxim max77665 battery charging driver

Change-Id: Idbb705fc070ebfc09d3a98d990a726aaebcd04c3
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135175
(cherry picked from commit bbcaf9349af5fd148ebaf3ae22310aa3366a5fd2)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146698
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: board changes for max77665 charger
Syed Rafiuddin [Wed, 10 Oct 2012 09:33:46 +0000]
arm: tegra: pluto: board changes for max77665 charger

board changes for maxim max77665 battery charger driver

Change-Id: I2ffd9dc9ec1cc4f7ed28cf246c58e2a8138c21ce
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135173
(cherry picked from commit d896ad00664cbf714c9fa3a494062c8a65336a5d)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146697
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: mipi_cal: Implement driver for mipi calibration
Animesh Kishore [Tue, 9 Oct 2012 04:44:37 +0000]
video: tegra: mipi_cal: Implement driver for mipi calibration

All mipi calibration has been moved to this block
from t11x onwards.

Bug 1054040

Change-Id: I6918fb229215208d63d4200073aeb42a2f2f37d3
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/142564
(cherry picked from commit 5cd4821c5bd138811a848518e129ce239c4fc1cd)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146696
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodriver: max77665: fix multiple issues in charger driver
Syed Rafiuddin [Fri, 28 Sep 2012 11:37:27 +0000]
driver: max77665: fix multiple issues in charger driver

- fix probe issue.
- differentiate between E1236 and E1587
- use late_initcall
- init charger values correctly

Change-Id: Iab11261dab084bd707dcd9d24d236d3c1b438b0e
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135174
(cherry picked from commit 7360d8753133ef15cd59264fd02613c42cacbd93)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146695
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: mfd: add bulk read in max77665 core driver
Syed Rafiuddin [Fri, 28 Sep 2012 11:42:28 +0000]
drivers: mfd: add bulk read in max77665 core driver

addition of bulk read api in maxim max77665 core driver

Change-Id: Iafb6ce4ae6918c027bbeacd9d243e0e38dd9f7e9
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135172
(cherry picked from commit 1e0dc1b22b5c7bff4f41e2c8c9745c53f0721dbf)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146694
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: config: tegra: enable max77665 fuel-gauge driver
Syed Rafiuddin [Fri, 28 Sep 2012 11:21:47 +0000]
arm: config: tegra: enable max77665 fuel-gauge driver

Enabling max77665 fuel-gauge driver for pluto platform

Change-Id: Ia24db1c5bfd9199dcc0a1935dd85a98d3abe9dd7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135120
(cherry picked from commit 6642b37f9d27d83a5f923ca17d6f893669d3c727)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146693
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: board changes for max77665 fg driver
Syed Rafiuddin [Fri, 28 Sep 2012 11:20:07 +0000]
arm: tegra: pluto: board changes for max77665 fg driver

board specific changes for max77665 fuel-gauge driver

Change-Id: I513b4e4402df5f3ba45efd1684d4d64ccf97daf7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135119
(cherry picked from commit 340ca387681fea1907748a9fcf562d7903a4f5bf)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146692
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agopower: max17042: update status contineously
Syed Rafiuddin [Fri, 28 Sep 2012 12:00:25 +0000]
power: max17042: update status contineously

update battery characterstics contineously so that
the status gets updated in gui

Change-Id: I50ccc6484825a730edf7e7b01f6ea187bf7215db
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/135118
(cherry picked from commit 7200ea672e9c4569bb26773ba5c68ca802fd2182)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146691
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: Fix temperature trend control logic
Diwakar Tundlam [Sat, 6 Oct 2012 00:51:14 +0000]
ARM: tegra: Fix temperature trend control logic

Set tc2 correctly for thermal layer to assess trend

Bug 1057977

Change-Id: If92788d2b9438e5ff932407720d42d4a777b4279
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/142133
(cherry picked from commit 42f2e06818613e19a526c94646007d9919cecf6f)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146690
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dsi: Fix fifo overflow/underflow
Animesh Kishore [Fri, 5 Oct 2012 23:38:15 +0000]
video: tegra: dsi: Fix fifo overflow/underflow

Fixing video fifo overflow/underflow while entering
and exiting lp0.

Bug 1059255

Change-Id: Id51694c74b6897b99ebf6c2c108205ca101669b8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/142118
(cherry picked from commit 86a01bf03ca6bcc77d7ada518f027fd569084013)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146689
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: Fix LG panel init delay
Animesh Kishore [Thu, 4 Oct 2012 22:06:23 +0000]
arm: tegra: pluto: Fix LG panel init delay

Reduce panel init delay.

Bug 1054104

Change-Id: I516ec3d48a216a0e52b020314b59494ffb1ff1eb
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141712
(cherry picked from commit c72fb7d781f6442d8b852d60adf20e04e3e82ee3)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146688
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: Utilize hysteresis on nct
Joshua Primero [Fri, 5 Oct 2012 00:25:51 +0000]
ARM: tegra: thermal: Utilize hysteresis on nct

Added 1 degree hysteresis to edp thermal management trip points.

bug 1057977

Change-Id: I8a278cc3e4288ccc5f7cb7896382cb98e3c9b2a3
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/141776
(cherry picked from commit b0d89dd8c9488edf6c0e513606dc8cc3b24ac35d)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146687
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: nct: Added hysteresis
Joshua Primero [Fri, 5 Oct 2012 00:24:54 +0000]
drivers: nct: Added hysteresis

Added hysteresis functionality to thermal trip points.

bug 1057977

Change-Id: I377fee3932fd5a9f264672a889eb438dcdcc99ab
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/141775
(cherry picked from commit 06d721750fcd31cceb277bb30685f86180fee326)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146686
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore/pluto: Copy bootloader fb to kernel
Animesh Kishore [Thu, 4 Oct 2012 22:29:42 +0000]
arm: tegra: dalmore/pluto: Copy bootloader fb to kernel

Change-Id: Iaa52db11e2f5281e2aaff737d3a648fdf74a3b7e
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141740
(cherry picked from commit 8f9b7d2ecc8f1bbb5d0ca08fccc22a0ccacb5b70)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146685
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: max8831: Fix android to kernel brightness map
Animesh Kishore [Thu, 4 Oct 2012 21:56:15 +0000]
video: tegra: max8831: Fix android to kernel brightness map

Map 0-255 android brightness to 0-127 max8831 range.

Bug 1053872

Change-Id: I5e491182d7bfe181099118eb463f8c04a22f9ca8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141726
(cherry picked from commit c90452a5ec3798369669658d202d8ac892d712c9)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146684
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Hook soctherm to sw throttle
Joshua Primero [Fri, 28 Sep 2012 23:00:26 +0000]
ARM: tegra: soctherm: Hook soctherm to sw throttle

Start integrating soctherm with the balanced throttling
software module.

Change-Id: I8d6f310ba7676672fb657c349b5b70462bddbb9a
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139847
(cherry picked from commit ca094f06dcfcf7ce46ed7c41c2b3a5bd9f399544)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146683
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable THERMTRIP
Joshua Primero [Fri, 28 Sep 2012 20:51:52 +0000]
ARM: tegra: soctherm: Enable THERMTRIP

Exposed platform data to cause CPU/GPU/MEM/TSENSE shutdown based on
thresholds

Change-Id: I3f53ea6ef062d61c86915af03360f703f3ee6257
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139828
(cherry picked from commit d5f29d91e4ed963c43bd61b0c8bbb31ccfbe2e75)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146682
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable interrupts
Joshua Primero [Fri, 28 Sep 2012 00:01:58 +0000]
ARM: tegra: soctherm: Enable interrupts

Enable interrupts on soctherm driver. Verified that it works.

Change-Id: Idd7fb87ebeda67ea50f8cf54b9a62e9843b7a095
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139507
(cherry picked from commit 95460f26f4a3ba623cceb65507471e8a6ac456ae)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146681
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: Multiple sensor programming
Joshua Primero [Wed, 5 Sep 2012 02:21:59 +0000]
ARM: tegra: thermal: Multiple sensor programming

Enabled programming of the multiple sensors in soctherm.

Change-Id: I814a90742430d9ffd502f2bf9b34e1ce3e20513b
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/138787
(cherry picked from commit 6362b1868a610b6ee553b8e8b8291407d8c4da0a)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130400
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: added soctherm to thermals
Joshua Primero [Tue, 7 Aug 2012 22:15:59 +0000]
ARM: tegra: thermal: added soctherm to thermals

Added soctherm to existing thermal infrastructure.

Change-Id: Id349aec9ae98f4f545d3f7f38d0b5e7d6aa7c979
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/138784
(cherry picked from commit 6637d00411babcab71a90ff15b7e1ef3087db523)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146679
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: fix dynamic VDD_CPU EDP capping granularity
Diwakar Tundlam [Tue, 2 Oct 2012 23:54:39 +0000]
arm: tegra: power: fix dynamic VDD_CPU EDP capping granularity

Changed freq-step to ensure EDP freq caps line up with actual cpufreqs
Also since min-cpufreq changes after bootup, don't use min, use 0.

Change-Id: I57498b719b06f7dd3bade5b2038277c2564c69cc
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/141055
(cherry picked from commit 37d92240720f40c0528188ec4409ac5055397e4b)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146678
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: power: enable dynamic VDD_CPU EDP capping
Diwakar Tundlam [Fri, 21 Sep 2012 08:02:42 +0000]
arm: tegra: power: enable dynamic VDD_CPU EDP capping

Using the model used to enforce max frequency for a given VDD_CPU EDP.
Enabled for dalmore and pluto.

Initialised edp_reg_override to 6A and increased default per-platform
edp-limit higher by 6A to allow users to override the limit up by upto
6A when needed for specific use-cases.

Change-Id: I2741ba7316cebe0ae2836b84c4b3bbbe0afefe5e
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/134306
(cherry picked from commit 9648d86f4a9a7b3b2557e98530e8265ea9f53467)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146677
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: Update dynamic CPU EDP model
Daniel Solomon [Tue, 4 Sep 2012 02:09:43 +0000]
arm: tegra: power: Update dynamic CPU EDP model

Update the model used to calculate max frequency
for a given VDD_CPU EDP.

Change-Id: Id220f25b58880c936f621f07faae414be42e8971
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/133051
(cherry picked from commit eca6edfc4220c5d0a004e9655926ea805c485152)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/132941
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: nct: tsensor: writeable trip points
Joshua Primero [Tue, 11 Sep 2012 23:23:41 +0000]
drivers: nct: tsensor: writeable trip points

Added nct functionality to change trip points. This
will be useful for EDP and thermal throttling.

Change-Id: I4fef643263261701164027f9bb13794b37e4907e
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139083
(cherry picked from commit 0dd4d083d4379752f7db241800d9501460b63d07)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146674
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: thermal: Make trip points writable
Joshua Primero [Tue, 11 Sep 2012 21:10:48 +0000]
drivers: thermal: Make trip points writable

Some of the thermal drivers using the Generic Thermal Framework
require (all/some) trip points to be writeable. This patch makes
the trip point temperatures writeable on a per-trip point basis,
and modifies the required function call in thermal.c. This patch
also updates the Documentation to reflect the new change.

Change-Id: I69128011eec3e3e4848c78b239cc2c1c722cb083
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139082
(cherry picked from commit bcec9491925b51d41c95175d1fe4a00d374dcb13)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146673
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: nct: Fixed uninitialized variable
Joshua Primero [Mon, 10 Sep 2012 23:15:12 +0000]
drivers: nct: Fixed uninitialized variable

Initialized variable to 0

Change-Id: Ib05d83b5a06bf8e3ece4c4b1856f4e702f7f9494
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139081
(cherry picked from commit 1df057920f583fe2c8f10fb37411420c52a91b5a)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146672
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: add throttle_count sysfs
Diwakar Tundlam [Wed, 26 Sep 2012 22:22:24 +0000]
arm: tegra: power: add throttle_count sysfs

Added counter to show number of throttling instances

Change-Id: I3d1b4c0fe92aeb5b084edaea4051d48a3ce8b6d0
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/139094
(cherry picked from commit 8eb8dd9040260a7e703eff055994a8f5422ea062)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146671
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: dalmore: Provide custom packet for panasonic panel
Animesh Kishore [Wed, 26 Sep 2012 21:45:15 +0000]
arm: tegra: dalmore: Provide custom packet for panasonic panel

Change-Id: Iac145bbf0c890c5fef93898e34e8ec76ae676dab
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/139078
(cherry picked from commit 1699a2a6e8b230bb737fc242b26fe6a6cb8d2f14)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146670
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dsi: Add support for custom packet sequence
Animesh Kishore [Wed, 26 Sep 2012 21:42:54 +0000]
video: tegra: dsi: Add support for custom packet sequence

Some panels need non standard packet sequence.
Add support to provide the info as platform data.

Bug 1053940

Change-Id: I86ea1728a54731765ac9039e4ae19a1dec3d6e98
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/139077
(cherry picked from commit 5dc9d6ee4417c797eceee012e78ab2152bb54d33)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146669
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore: Add backlight control support
Animesh Kishore [Tue, 25 Sep 2012 19:04:42 +0000]
arm: tegra: dalmore: Add backlight control support

Backlight control via pwm.

Bug 1054100

Change-Id: I70ba92c81d9853a6ba4341fad37fa4e37b6f4a94
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/135217
(cherry picked from commit 9f8aab15dbb763c841445cc132603bae07afedb7)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146668
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore: board changes for bq20z45 fuel-gauge
Syed Rafiuddin [Wed, 19 Sep 2012 13:56:36 +0000]
arm: tegra: dalmore: board changes for bq20z45 fuel-gauge

board specific changes for bq20z45 fuel-gauge driver for
dalmore platform

Change-Id: I48dd5c002d00d35d316859da0f54659037e4d09e
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/133813
(cherry picked from commit eafa39ec129293be98acf0b3de73f42ed758a67e)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146665
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore/pluto: Add temperature sensor support
Diwakar Tundlam [Fri, 14 Sep 2012 00:04:20 +0000]
ARM: tegra: dalmore/pluto: Add temperature sensor support

Add nct1008 external temp sensor support for dalmore and pluto boards

Bug 1046108

Change-Id: Id5893d5cfe94d143eef175e018f3211bd6912138
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/132901
(cherry picked from commit fff74a9157a0a900d61f1efa538dcfd136125e1f)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146664
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: Thermals in kai/enterprise
Joshua Primero [Thu, 6 Sep 2012 22:19:35 +0000]
ARM: tegra: thermal: Thermals in kai/enterprise

Enabled edp thermal capping, thermal throttling, and thermal
shutdown on the Kai and Enterprise platforms which got lost
in the previous refactor.

Change-Id: I5b65058fd94162f256fdc40006db32d1e2dbde28
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132884
(cherry picked from commit f6d6f30e07d679a74342bb5e5d599993414a9d56)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130366
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: thermal: Remove tegra therm dependency
Joshua Primero [Thu, 30 Aug 2012 03:16:22 +0000]
ARM: tegra: thermal: Remove tegra therm dependency

Removed the use of the Tegra thermal layer. All management
is now done via Linux thermal framework via thermal_zone_devices
and thermal_cooling_zones.

Change-Id: I87de8a7dd8ff8e338d3c18db1518b5acfc18faee
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132883
(cherry picked from commit cb9e0dbe41d7419d6152f02ea10f13faa7448e81)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130289
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: hwmon: tsensor: decoupled tsensor driver
Joshua Primero [Thu, 30 Aug 2012 02:18:59 +0000]
drivers: hwmon: tsensor: decoupled tsensor driver

Removed outside interface of tsensor driver. Tsensor driver
interacts with cooling devices via Linux thermal framework
which it registers to on its own.

Change-Id: I349761a28eac94f7f6c05d192394bc2739e93cb6
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132882
(cherry picked from commit 6645d1062b2d76a504ef7a109b919d631169f479)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130288
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: misc: nct driver decouple
Joshua Primero [Thu, 30 Aug 2012 01:12:46 +0000]
drivers: misc: nct driver decouple

Decoupled nct driver from outside calls. Nct driver interacts
with cooling devices by registering itself to the Linux thermal
layer. Cooling devices is given via platform_data.

Change-Id: I6df7d66e1fffd84670fd165fc9a9ded0127273c1
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132881
(cherry picked from commit 5e1e60f2effbf8baed24d73f9c0b988f608cafe2)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130287
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: thermal: Removed int sensor register
Joshua Primero [Tue, 28 Aug 2012 21:42:40 +0000]
ARM: tegra: thermal: Removed int sensor register

Internal nct sensor registration to framework now
occurs at the driver level.

Change-Id: I224b08aba95061c67c2c06672aa95878a0ec41a1
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132880
(cherry picked from commit deaf3ee7f0be288120a74c25cf4dba65cff02c38)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130286
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: nct: shutdown and thermal register
Joshua Primero [Tue, 28 Aug 2012 21:38:51 +0000]
drivers: nct: shutdown and thermal register

Shutdown temperature in platform data now used. Also,
cleaned up some unused platform data parameters.

Also, have nct driver register with thermal framework
itself.

Change-Id: Ic97aa3968b945033c83d2809b63c571b05bb89eb
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132879
(cherry picked from commit e361239aab1a9c393a4a6ccfb8ac78f066adbffb)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130285
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra: pluto: enable CMU by default.
Kevin Huang [Tue, 25 Sep 2012 20:54:53 +0000]
arm: tegra: pluto: enable CMU by default.

Bug 104734

Change-Id: I365b765914130996fb4acdaec091e95131d980c6
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/135242
(cherry picked from commit a86b1eab7a1c78f946479ac09bc1ae5f4a9ff436)
Reviewed-on: http://git-master/r/146975
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: set I2S bit clk based on channel
Dara Ramesh [Thu, 18 Oct 2012 11:46:42 +0000]
asoc: tegra: set I2S bit clk based on channel

Bug 1054221

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/145578
(cherry picked from commit 225fc7cb3a54a32a583c8e536a5c5b2d9ad61982)

Change-Id: I4953dd751cbe1f2acb1f6a31ff89889c45a2dc3f
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146969
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: Add 8,24,32 bit support
Rahul Mittal [Wed, 17 Oct 2012 08:55:53 +0000]
asoc: tegra: Add 8,24,32 bit support

Adding 8, 24 and 32 bit support to Tegra Drivers
All the above formats are supported by Tegra hardware
Playback/record also depends on support in platform codec

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143750
(cherry picked from commit 9ffc1769fae6b03aef56e89b36dcb8e471ac13a6)

Change-Id: I06259d345f9d7886fe949809e358544ed506268e
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146968
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: Fix headset detection
Vijay Mali [Wed, 17 Oct 2012 07:26:06 +0000]
asoc: tegra: Fix headset detection

Increase debounce time. Helps in making correct
decision of headset insert and remove events.

For bug 1060874

Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/145165
(cherry picked from commit f62ad8e7f9013169f1e5b8aed833e56c9e4509ff)

Change-Id: Iec7d34b0e2bf0de4bfca31f13818be900ca2188c
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146967
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>

6 years agoasoc: tegra: DSP, LJM, RJM mode support for T114
Rahul Mittal [Wed, 10 Oct 2012 10:00:46 +0000]
asoc: tegra: DSP, LJM, RJM mode support for T114

Add SLOT_CONTROL2 programming (new register for T114)
SLOT_CONTROL in T114 to be programmed as TOTAL SLOTS
Add I2S offset programming for I2S modes

Bug 1054221

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/142693
(cherry picked from commit 173b11c81829254515facb0b253d888e1e02719a)

Change-Id: Iccaf43359842687d989515fa605f61709bb2d6b5
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146964
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoALSA: hda: Fix condition check for hda clock disable
Rahul Mittal [Thu, 11 Oct 2012 13:24:41 +0000]
ALSA: hda: Fix condition check for hda clock disable

HDA clocks weren't getting disabled in display on.
Corrected error in condition check to fix the issue.

Bug 1156125

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143718
(cherry picked from commit f1cf49754fbf950ec7bdac646425443cf047c30f)

Change-Id: I795bab4e3d976a57d1a17181d2b39ee740eab6a0
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoarm: tegra: Fix DMA req for new APBIF channels
Rahul Mittal [Wed, 10 Oct 2012 13:27:56 +0000]
arm: tegra: Fix DMA req for new APBIF channels

DMA requests from new APBIF channels wasn't added
This caused callback failures with FIFO threshold 7

Bug 1154914

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143250
(cherry picked from commit 7dd7957b81da7a48c62c473bafeebc788f5142a3)

Change-Id: I28baab45a1fdf0917c28ff9e7f538ad986fe52c8
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146962
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: Support BT_SCO
Dara Ramesh [Wed, 10 Oct 2012 10:14:55 +0000]
asoc: tegra: Support BT_SCO

Add support for bt sco on dalmore platform.

Bug 1054221

Change-Id: I4acc4dd908b087a56b406bab18c4b7fc50b39425
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/143191
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146961
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc : cs42l73: Add delay after codec power off
Rahul Mittal [Thu, 4 Oct 2012 15:31:54 +0000]
asoc : cs42l73: Add delay after codec power off

Adding delay after codec power off when suspend call is made
Fixes the issue of higher power in LP0 after running audio

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/141618
(cherry picked from commit c145a53ff2e7f51405292e184d8a619347a3fb08)

Change-Id: I3f85d4dd9c557a5420d1a98bb2cc54501e30d7f3
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146960
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: cs42l73: Add DMIC regulator on/off support
Rahul Mittal [Fri, 28 Sep 2012 13:56:19 +0000]
asoc: tegra: cs42l73: Add DMIC regulator on/off support

Enable/disable DMIC regulator based on DAPM event
Bug 1053229

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/138867
(cherry picked from commit 4dc7b8efdaa70a9bb8b99e63011a0ddd16b66aaa)

Change-Id: I09661d981735c682be85d7999ce54478f75d88dd
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146959
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: cs42l73: Add DAPM for DMIC recording
Jubeom Kim [Thu, 27 Sep 2012 02:54:07 +0000]
asoc: tegra: cs42l73: Add DAPM for DMIC recording

Adding DAPM widget for DMIC recording
Bug 1053229

Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/139186
(cherry picked from commit 247eea2726e6f3422ce7b4b5c266f6040242976e)

Change-Id: Id0cada66bd7e72c1a5611e1666dc2b865bb7b9ca
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146958
Reviewed-by: Automatic_Commit_Validation_User

6 years agoasoc: tegra: cs42l73: add jack notifier code
Dara Ramesh [Thu, 27 Sep 2012 11:52:46 +0000]
asoc: tegra: cs42l73: add jack notifier code

a) add standard jack notifier code.
b) remove redundant code and do the cleanup.

Bug 1053365

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/139370
(cherry picked from commit a7464022989229de634df9ddf256aa5fa1850f48)

Change-Id: Ied91d7fda90302c34d380d4196ead2d6c884cb09
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146957
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>

6 years agoasoc: tegra: cs42l73: Fix 8khz audio recording
Rahul Mittal [Tue, 25 Sep 2012 11:28:24 +0000]
asoc: tegra: cs42l73: Fix 8khz audio recording

Fixed mclk for 8 khz.
Playback/record for 8khz working.

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/135106
(cherry picked from commit fd9e0af3e8a62927c8c305175f47c76187586556)

Change-Id: I0dd25fdc9c139d135005d602bfee023e4ab77fba
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146956
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: fix rt5640 gpio.
Jubeom Kim [Sat, 22 Sep 2012 01:54:50 +0000]
asoc: tegra: fix rt5640 gpio.

This is no audio issue and need it for E1611.

Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/134559
(cherry picked from commit f26f2949e5ff1b0c6016b6b3350cc3d9f9099c30)

Change-Id: I6d77dc094c3e9df10e718eea86df662dd47337f2
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146955
Reviewed-by: Automatic_Commit_Validation_User

6 years agotegra : soc: cs42l73 headset detection
Dara Ramesh [Fri, 21 Sep 2012 16:27:30 +0000]
tegra : soc: cs42l73 headset detection

Bug 1052081
Bug 1052069

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/134097
(cherry picked from commit 34d4d26641d26f8363c65adc9ae9a816824789dc)

Change-Id: Ie8d741e8d988db3cb1d3712c542c66384176a1be
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146954
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: dc: add the interface to CMU settings.
Kevin Huang [Tue, 25 Sep 2012 18:50:05 +0000]
video: tegra: dc: add the interface to CMU settings.

Change the code so CMU can be set through board file.
Add an interface to turn CMU on/off.

Bug 1047348

Change-Id: I48561dcbb7cfff2fd0bdb7652af5fbcab4c4b8ca
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/133771
(cherry picked from commit 641491fac06fb43db71af570c97424dddf1baf31)
Reviewed-on: http://git-master/r/131920
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoALSA: hda - add Nvidia T114 Tegra HDMI codec id
Dara Ramesh [Thu, 20 Sep 2012 04:14:48 +0000]
ALSA: hda - add Nvidia T114 Tegra HDMI codec id

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/133966
(cherry picked from commit e4473b4eb34fc8b57f358e0ff38095c731a6f01b)

Change-Id: I8987c4d5555a4fd0da127ec5abbf004ffe32117b
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146953
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: use smp_processor_id to obtain cpu id
Bo Yan [Tue, 23 Oct 2012 17:43:23 +0000]
ARM: tegra: use smp_processor_id to obtain cpu id

Using smp_processor_id to obtain cpu ID is preferred to directly
accessing CP15 register because it is more flexible and portable.
This is required when accessing virtualized CPUID as seen by the
OS when the OS itself is running in secure mode.

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

6 years agoarm: tegra: isomgr: Use emc API's to convert bw to emc freq
Krishna Reddy [Mon, 22 Oct 2012 19:45:28 +0000]
arm: tegra: isomgr: Use emc API's to convert bw to emc freq

Use emc API's to convert bw to emc freq and vice versa.
Calculate teh BW that can be used by ISO clients based on
max emc freq.
Enable isomgr for T11x.
Fix format issues.
Bug 1049929

Change-Id: I338d6838c83343b06a8a79f2ee921a7a3e351679
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/146552
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoinput: touch: raydium: updates for RM31100 chip
Xiaohui Tao [Wed, 17 Oct 2012 18:35:32 +0000]
input: touch: raydium: updates for RM31100 chip

Raydium code drop.
Add support for the new Raydium chip;
Working for both the old chip and new one

Bug 1162178

Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/145319
(cherry picked from commit df26903f2f776b20a4b70eb0a16e9cf65b2a216c)
Signed-off-by: David Jung <djung@nvidia.com>
Change-Id: Ibbb0e8dc92241753799b91fd2f37263a28404dc1
Reviewed-on: http://git-master/r/146047
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoarm: tegra: Update MC error reporting
Alex Waterman [Thu, 11 Oct 2012 18:10:02 +0000]
arm: tegra: Update MC error reporting

The error reporting done by the kernel needed updating from T30
to support new T11x specific features and additions.

BUG 1156719

Change-Id: Iffdedfec54f2a673d97cfe42186b71fe4842c64b
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/143813
(cherry-picked from 18272401c76a80b49c3f1af1ada61209cd944d89)
Reviewed-on: http://git-master/r/145772
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agokernel: Modify schedule interval to 1ms only for ARCH_TEGRA
Diwakar Tundlam [Thu, 4 Oct 2012 00:21:31 +0000]
kernel: Modify schedule interval to 1ms only for ARCH_TEGRA

Bug 954903

Change-Id: I8187b71384c694795bb41dafa3a3800d45110d22
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/141381
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: host: Map cmdbuf using nvmap_kmap
Terje Bergstrom [Wed, 17 Oct 2012 08:53:47 +0000]
video: tegra: host: Map cmdbuf using nvmap_kmap

Use nvmap_kmap() instead of nvmap_mmap() to map individual pages from cmdbuf.

Bug 1158533

Change-Id: I76320d1373b0177debec76fe171f0b0c02fe35cd
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/145504
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: nvmap: Add support for nvmap_kmap
Krishna Reddy [Wed, 17 Oct 2012 08:52:49 +0000]
video: tegra: nvmap: Add support for nvmap_kmap

Add support for mapping a single page from a buffer to kernel address
space.

Bug 1158533

Change-Id: Ie331e787663d98b644aa2e7f220020982f15fd9d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/145503
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: tegra: emc: add API to convert bw to freq.
Krishna Reddy [Thu, 18 Oct 2012 21:53:59 +0000]
arm: tegra: emc: add API to convert bw to freq.

Add API to convert bandwidth to freq and vice versa.
Add API to get dvfs switching latency.

Change-Id: I7db20be04df75e7c55260a1802f57e0f4aa739b8
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/145718
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: nvsd: Adjust PRISM by software.
Kevin Huang [Thu, 18 Oct 2012 18:32:13 +0000]
video: tegra: nvsd: Adjust PRISM by software.

Add software calculation on PRISM result based on higtogram to
get around of hardware flaws.

Bug 1156027

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

6 years agoarm:tegra:enterprise Add I2S4 sync clock
ScottPeterson [Fri, 21 Sep 2012 00:23:21 +0000]
arm:tegra:enterprise Add I2S4 sync clock

Add support for I2S4 sync clock when used
in slave mode.

Change-Id: I5c550f1e8254d843f8b8089b3e83161bd26d962a
Signed-off-by: ScottPeterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/134232
(cherry picked from commit da11aec4853508ae8cff6ac515a65cf578241860)
Reviewed-on: http://git-master/r/146606
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra20: remove irrelevant code
Bo Yan [Tue, 23 Oct 2012 23:54:46 +0000]
ARM: tegra20: remove irrelevant code

This fixes a merge error when earlier migrating from K3.1 to K3.4

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

6 years agoARM: tegra11: Disable L2X0
Bo Yan [Wed, 24 Oct 2012 22:38:10 +0000]
ARM: tegra11: Disable L2X0

Change-Id: Ice157d01a7bdf461cee47732ef9a7589b22324b0
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146644
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agotegra: dalmore: remove extra call to sensors_init
Gaurav Batra [Tue, 23 Oct 2012 23:47:49 +0000]
tegra: dalmore: remove extra call to sensors_init

Change-Id: I4e6fc2cb7f4c81f9f7f90e5c3caa5a0cf123279b
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147097
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra3: clock: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 06:11:27 +0000]
ARM: tegra3: clock: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
tegra_clk_prepare_enable and tegra_clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: Ifdbf4c0f8b31beafe6c1f039342aac93c2510ccf
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146777
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: host: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 07:28:46 +0000]
video: tegra: host: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I786f742260c420746ed7770818c1944f965c61e3
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146795
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agodrivers: tegra: max77665-flash: flash level update
Charlie Huang [Wed, 24 Oct 2012 00:52:29 +0000]
drivers: tegra: max77665-flash: flash level update

add logic to assign flash/torch level 0 as disable flash/torch functions.
from the hardware's spec, level 0 means the lowest current 16.625mA.

add torch-by-i2c trigger option and set it as default.

also optimized the power on/off sequences.

bug 1155623
bug 1110380
bug 1116953

Change-Id: I1d592a173c4694287dff1543b21a92e3efcd8f2e
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
(cherry picked from commit e799bf696300020045ab7284e007a87accbf9404)
Reviewed on: http://git-master/r/#change,145113
Reviewed-on: http://git-master/r/146034
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: power gate skip update
rrajk [Tue, 23 Oct 2012 09:50:06 +0000]
ARM: tegra: power gate skip update

T11x power gate partition skip list updated. CPU and 3D partitions
are removed from skip list and power gate for these partitions
is controlled by respective modules.

bug 1053317

Reviewed-on: http://git-master/r/134739
(cherry picked from commit cc2038d4f030a57c0b450ee7d51e56776449427f)

Change-Id: Ic68f7f6f08eb9f9a10d1a746d8ce0457dd0322e9
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146449
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agousb: cdc-acm: enable need_remote_wakeup by default
Venu Byravarasu [Wed, 17 Oct 2012 12:58:10 +0000]
usb: cdc-acm: enable need_remote_wakeup by default

This was disabled in a previous commit as it was thought that the
flag prevented autosuspend from working. However autosuspend will
succeed as long as the modem enumerates with the Remote Wakeup bit
set in the bmAttributes field of the Configuration descriptor.

Bug 1058567

Change-Id: I79b35f8edec4511da19bcc3f761d666d388c655d
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/147062
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agoARM: tegra: Kai: Add power regulator support.
Robert Collins [Mon, 8 Oct 2012 22:46:24 +0000]
ARM: tegra: Kai:  Add power regulator support.

Change-Id: Ica275e04bf000a2f98640bbc382031d288fbafa9
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/142528
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: Cardhu: Add power regulator support.
Robert Collins [Tue, 9 Oct 2012 00:32:09 +0000]
ARM: tegra: Cardhu:  Add power regulator support.

Change-Id: I3498a0f1ebc531834ab06f1fcdb3641ec3fc12b0
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/142529
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agovideo: tegra: dc: vfilter memclient only for 2x/3x
Jon Mayo [Thu, 27 Sep 2012 23:09:40 +0000]
video: tegra: dc: vfilter memclient only for 2x/3x

Make bandwidth and latency calculations for vfilter a Tegra 2x/3x only feature.

Bug 1055607

Change-Id: I182ce8fb3a0830532f7c8e9132d2d11119cfd009
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/139489
(cherry picked from commit ec4ad6ae4cd03dfb074ec30bc986bf2f59cb813d)
Reviewed-on: http://git-master/r/146976
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomisc: tegra-cryptodev: add drbg support
Mallikarjun Kasoju [Sun, 16 Sep 2012 17:39:06 +0000]
misc: tegra-cryptodev: add drbg support

Add support for user space rng drbg algorithm

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/133101
(cherry picked from commit 7e8b8bf321a629a4ada453979c6a77104d63fcc5)

Change-Id: I8427401acfc18b744765a7193a0604f385b70299
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/146884
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: Re-enable devfreq
Terje Bergstrom [Tue, 23 Oct 2012 07:59:10 +0000]
ARM: tegra: Re-enable devfreq

Devfreq was disabled by a bad merge. This patch re-enables it.

Change-Id: I5cc495424642ad0266806a83906ddd99c34120e2
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/146853
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra11x: residency time for different LP2 mode
Bo Yan [Wed, 17 Oct 2012 02:10:03 +0000]
ARM: tegra11x: residency time for different LP2 mode

Select CPU partition power gating only, non-CPU power gating, or
rail gating based on the required minimum residency and requested
sleep length.

The minimum residency for non-cpu power gating and rail-gating are
arbitrarily set in this change, they have to be characterized.

The minimum residency for non-cpu power gating shall always be
less than the minimu residency for rail gating.

Also fix a bug that prevents rail-gating

Change-Id: Icc646061f0fb47662fa74e77c6ae6b5d5da1444a
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146640
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra30: Remove "power_gating" control
Bo Yan [Tue, 16 Oct 2012 19:11:44 +0000]
ARM: tegra30: Remove "power_gating" control

sysfs node "power_gating" is removed from cpuidle because the same
purpose now is served by cpuidle driver for t11x.

Change-Id: I7f1ea1b13a69f9f0390a9146b50bcecbc98bfe95
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146639
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Put UTMIPLL under h/w control
Rakesh Bodla [Wed, 10 Oct 2012 05:25:08 +0000]
ARM: tegra11: clock: Put UTMIPLL under h/w control

Programming UTMIPLL register to let hardware to
control UTMIPLL.

Bug 1057339

Reviewed-on: http://git-master/r/141559
(cherry picked from commit 6ff04c9acbb229e22410f7d70e4e127dc6768a34)

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

6 years agomedia: video: tegra: ov9772 NVC driver
Phil Breczinski [Thu, 13 Sep 2012 02:28:58 +0000]
media: video: tegra: ov9772 NVC driver

Replace old framework ov9772 driver with new framework
NVC driver.

Bug 1041786

Change-Id: I4e6c1e22d745688e652becdc94171874333bb865
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
(cherry picked from commit 9c4d6d1da8e5083adea4545288c10ee46edc3903)
Reviewed-on: http://git-master/r/139517
Reviewed-on: http://git-master/r/146022
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: enterprise: supply device name for regulator
Rohith Seelaboyina [Thu, 18 Oct 2012 11:52:10 +0000]
arm: tegra: enterprise: supply device name for regulator

Supply the appropriate device name for battery charging regulator

Bug 1158669

Change-Id: I9d02ba9a75054e714583845790c352afd2ab212e
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/145582
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: kai: supply device name for regulator
Rohith Seelaboyina [Thu, 18 Oct 2012 11:44:48 +0000]
arm: tegra: kai: supply device name for regulator

Supply the appropriate device name for battery charging regulator

Bug 1158669

Change-Id: I2534c8b7e881fd8316a7f775c641c601c953ba73
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/145581
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>