5 years agoARM: Tegra: Add CONFIG_TEGRA_USE_SECURE_KERNEL
James Zhao [Thu, 21 Mar 2013 19:29:51 +0000]
ARM: Tegra: Add CONFIG_TEGRA_USE_SECURE_KERNEL

This new config would only be enabled when we enable a secure os
implementation. This config would be generic and we can reuse it
if/when we change the secure os vendor.

Change-Id: I94a0a365d4dc834fafa1137a0c0d9adf1b394c51
Signed-off-by: James Zhao <jamesz@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/211756
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chris Johnson <cwj@nvidia.com>

5 years agousb: udc: tegra: skip vbus status checkup.
Harry Hong [Mon, 18 Mar 2013 01:43:58 +0000]
usb: udc: tegra: skip vbus status checkup.

Skipping vbus status if pmu vbus detection
is used.

bug 1254946

Change-Id: I01f54bd127cd4d7d021816899c1ecd29b139701d
Signed-off-by: Harry Hong <hhong@nvidia.com>
(cherry picked from commit 813a4d5a3d8b1bb6ea9498aef029de95792bc067)
Reviewed-on: http://git-master/r/214409
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: pluto: set sleep-time pinmux settings for VDDIO_GMI_AP
Eric Miao [Fri, 15 Mar 2013 08:11:17 +0000]
ARM: tegra: pluto: set sleep-time pinmux settings for VDDIO_GMI_AP

Reconfigure GMI pins to save additional power on rail VDDIO_GMI_AP
during sleep time.

Bug 1247754

Change-Id: I79559c75b800d3b208a4677b83974fb71d615ce2
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/212014
(cherry picked from commit 24a95e11a4a7abab5402c50d88d8558ee37cff9d)
Reviewed-on: http://git-master/r/214957
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agocrypto: tegra-se: put device into runtime suspend state when suspending
Eric Miao [Wed, 6 Mar 2013 11:30:26 +0000]
crypto: tegra-se: put device into runtime suspend state when suspending

To prevent the device being accidentally put into runtime suspend state
during the whole system suspend process, pm_runtime_get_noresume() is
called upon _every_ device to increase the usage count (please refer to
drivers/base/power/main.c).

Since we don't explicitly disable the clock, pm_runtime_put_sync() in
each operation in tegra_se_suspend() will not actually call the runtime
suspend function, thus leaving the clock still enabled.

To fix this issue in a simple way, we call pm_runtime_put_sync() in the
end of tegra_se_suspend() to decrease the usage count to "0" and thus
call tegra_se_runtime_suspend() in turn to disable the clock. To pair
the usage count, we do a pm_runtime_get_noresume() in tegra_se_resume()
as we don't actually need to runtime resume the device there.

Bug 1246029

Change-Id: I64520b022b896f2867934255a55b852fafac4b63
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/206658
(cherry picked from commit 762c897f0ccd4bf3282cd8f97c869b07f3feba45)
Reviewed-on: http://git-master/r/214949
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: soctherm: Rearrange code to prepare for OC alarms
Diwakar Tundlam [Thu, 28 Mar 2013 01:19:04 +0000]
arm: tegra: soctherm: Rearrange code to prepare for OC alarms

Change-Id: I0e0abd992930104060a99d38c171f11ee6f74ff5
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/213795
(cherry picked from commit f56d80cb48342b51992f767bacf6fb16334a2b57)
Reviewed-on: http://git-master/r/215286
GVS: Gerrit_Virtual_Submit

5 years agoARM errata: A memory read can stall indefinitely in the L2 cache
Bo Yan [Mon, 25 Mar 2013 21:21:30 +0000]
ARM errata: A memory read can stall indefinitely in the L2 cache

Define a configuration option for platform to implement

Change-Id: I352c644a33ebbf809e450004a01394f07f2903b7
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/212781
(cherry picked from commit 91250495671135d9d815da3e65777844957216e1)
Reviewed-on: http://git-master/r/216183
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agovidoe: tegra: dc: fix typo in tmds_config names
Jon Mayo [Tue, 2 Apr 2013 20:51:40 +0000]
vidoe: tegra: dc: fix typo in tmds_config names

Updates interfaces for providing alternate TMDS to remove typos.
Combine loop through board tmds_config and fallback tmds_config.

Change-Id: Ia9987b6d84d586e1fbfb9d6b0f84b4bd6800122d
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/215681
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

5 years agoARM: Tegra: Pluto: Update emc dvfs table
Gaurav Batra [Sat, 23 Feb 2013 01:41:43 +0000]
ARM: Tegra: Pluto: Update emc dvfs table

Change-Id: I96c91fa81abf44cb1a4a71714922a2822be3cfdb
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/203514
(cherry picked from commit 20993e0246ab5f7796b0b35bf718d5f6f2fb60a9)
Reviewed-on: http://git-master/r/212800
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agopower: max77660: remove max77660 fuel-gauge driver
Darbha Sriharsha [Thu, 21 Mar 2013 15:32:06 +0000]
power: max77660: remove max77660 fuel-gauge driver

Removing max77660 fuel gauge driver as this driver
is not implemented properly

Bug 1178638

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

5 years agopower: max17048: resolve charging status update issue
Syed Rafiuddin [Fri, 8 Mar 2013 09:27:17 +0000]
power: max17048: resolve charging status update issue

resolving the issue when battery state of charge is 99%
and android gui shows as full.

Bug 1234697
Bug 1178638

Change-Id: I89ff1a1161f2cc79e55542c0b2dbc299ea31825f
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/207506
(cherry picked from commit 73cf40a61cd01395bbf1eaa9ac9e26aa00046f2c)
Reviewed-on: http://git-master/r/213903
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: max17048: show status as full when 100% charged
Syed Rafiuddin [Tue, 19 Feb 2013 08:40:59 +0000]
power: max17048: show status as full when 100% charged

Update status as full when state of charge is 100%
charged.

Bug 1234697
Bug 1178638

Change-Id: I7c113ef254b848e8374d5251a4cf7d6dcedcf022
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/200702
(cherry picked from commit aad71a6f55bc7fb929c232a48245d7f0d2ffb75b)
Reviewed-on: http://git-master/r/213902
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: max17048: work schedule function
Darbha Sriharsha [Tue, 12 Feb 2013 05:21:19 +0000]
power: max17048: work schedule function

This change is intended to change the call to schedule_work function
to schedule_delayed_work instead as the argument passed is of type
"struct delayed_work" as opposed to "struct work_struct" and this
difference causes a compiler warning to be thrown up

Bug 1234460
Bug 1178638

Change-Id: I4142c6c7db5595475b380c0bf41fd9df9f48dd78
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/199874
(cherry picked from commit c8c7acbd0355399ec23deb219dd6849feed0c939)
Reviewed-on: http://git-master/r/213901
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: max17048: fix charging status
Syed Rafiuddin [Mon, 11 Feb 2013 07:19:50 +0000]
power: max17048: fix charging status

state of charge suddenly jumps to 0% resolving
the same issue.

Bug 1214186
Bug 1178638

Change-Id: I234a369b86678c8ea177c368ff828930f5ccf73b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/199267
(cherry picked from commit bc49c487cd62c7bc1546fdfe2f56d2feb4735729)
Reviewed-on: http://git-master/r/213900
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: max17048: Adding shutdown functionality
Syed Rafiuddin [Wed, 6 Feb 2013 09:57:59 +0000]
power: max17048: Adding shutdown functionality

This change is intended to add shutdown functionality
to the max17048 fuel gauge driver

Bug 1202296
Bug 1178638

Change-Id: Id3fe159d99dbdf9c5623e5c6609860aa1274df73
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/195546
(cherry picked from commit 7c7b82431870757d63e63fd6ecd099bd5f1defa4)
Reviewed-on: http://git-master/r/213899
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: max17048: display correct status at boot-up
Syed Rafiuddin [Fri, 1 Feb 2013 09:59:05 +0000]
power: max17048: display correct status at boot-up

display proper charging status when booted up without
any charger cable connected

Bug 1178638

Change-Id: I18bd7702a62923a4f7675ea392be180f2ed03d7c
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/196368
(cherry picked from commit eb8c59d7e4f2d3a238f4a7f101988c6fb412df7b)
Reviewed-on: http://git-master/r/213898
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: max17048: use subsys_initcall
Syed Rafiuddin [Tue, 15 Jan 2013 07:27:58 +0000]
power: max17048: use subsys_initcall

use subsys_initcall in max17048 fuel-gauge driver

Change-Id: Ied62719e758e34ae11f130f90fe956d81a31227b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/191149
(cherry picked from commit e0a9793e93ea7f25f4b7e5e7ea48a4ba91907548)
Reviewed-on: http://git-master/r/201659
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoceres: power: check battery presence
Syed Rafiuddin [Sun, 30 Dec 2012 14:59:05 +0000]
ceres: power: check battery presence

check presence of battery based on fg driver

Bug 1178638

Change-Id: I0b6beb7bc6d3c441d4c93f4037d0a5af108233b7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/#change,187632
(cherry picked from commit 221766dfd5f5cebf56a84c0c6557bd5e07d34e1d)
Reviewed-on: http://git-master/r/213897
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agopower: max17048: remove charger driver dependencies
Syed Rafiuddin [Thu, 13 Dec 2012 07:25:32 +0000]
power: max17048: remove charger driver dependencies

max17048 driver uses api's available in the smb349 charger driver.

Removing the dependencies from max17048 driver

Bug 1179923
Bug 1178638

Change-Id: Iacf36278a8bf3f7c83ac89007d6a6d2f63f954ee
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/170518
(cherry picked from commit 63b0b4aef7442b88d10da8e942170d1606928ebf)
Reviewed-on: http://git-master/r/201990
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoASoC: Codecs: Remove aic325x_mute function
Ravindra Lokhande [Tue, 2 Apr 2013 14:27:00 +0000]
ASoC: Codecs: Remove aic325x_mute function

With new firmware from TI, aic325x_mute function is not needed.

Change-Id: Ic96cbeb8f28d4756248cdb4f20f12c999665e127
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/215578
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoASoC: Tegra: Tristate DAP pins
Ravindra Lokhande [Mon, 1 Apr 2013 16:47:40 +0000]
ASoC: Tegra: Tristate DAP pins

We need to set DAP pins to normal before starting playback/record and
set it to tristate after playback/record. If we don't tristate then
power leakage can happen.

Bug 1241669
Bug 1258742

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

5 years agoARM: tegra: Fix size of the region for host1x in Tegra114 dtsi
Min-wuk Lee [Thu, 28 Mar 2013 05:30:04 +0000]
ARM: tegra: Fix size of the region for host1x in Tegra114 dtsi

Bug 1041377

Change-Id: Ia9fb5bf1a39e704cb0a5236f1c3c4bc86ae940ec

Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Change-Id: I5c1ec3e2177a5d8c37745ad54a6f609faf458850
Reviewed-on: http://git-master/r/213839
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agomfd: palmas: read internal design rev and sw otp revsion of device
Laxman Dewangan [Sat, 9 Feb 2013 19:14:58 +0000]
mfd: palmas: read internal design rev and sw otp revsion of device

Read internal design revision and sw otp version of the device and
print this message.

This will help on implementing the errata of different ES version of
device.

bug 1228386
bug 1195226

(Cherrypicked from commit
4aae1b8da409ec83b0edff1e7d9d34bdb4b5ede9)

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

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

5 years agoARM: config: tegra11: enable PALMAS-WATCDOG timer
Laxman Dewangan [Tue, 2 Apr 2013 12:34:07 +0000]
ARM: config: tegra11: enable PALMAS-WATCDOG timer

(Cherrypicked commit
20cec1ab975a82c658d976d1fe11312e03db18a2)

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

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

5 years agoARM: tegra: dalmore: add support for rotation lock key
Laxman Dewangan [Tue, 2 Apr 2013 12:32:50 +0000]
ARM: tegra: dalmore: add support for rotation lock key

Post event as EV_SW and SW_ROTATE_LOCK when it is slide.

bug  1157355

(Cherrypicked commit
4e82c03df155d5bc022bfe28f9daa82b6bb77064)

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

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

5 years agoarm: tegra: iovmm: fix iovmm vm size
Krishna Reddy [Tue, 26 Mar 2013 20:59:41 +0000]
arm: tegra: iovmm: fix iovmm vm size

Bug 1258122

Change-Id: Ib1bd37e7a63df6ea341a9ed735af96efb53d39fd
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/213186
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoThermal: pid_thermal_gov: Separate compensation into up and down compensations
Jinyoung Park [Fri, 22 Mar 2013 11:49:33 +0000]
Thermal: pid_thermal_gov: Separate compensation into up and down compensations

Separated compensation into up and down compensations in order to apply
different compensation rate to each cases.

Bug 1200111

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/212090
(cherry picked from commit c8034e53cbb69ce1ed979be5fe4072b2646369c2)

Change-Id: I236750009d5d64ea09508cd1864efb7bfb99ee58
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/215536
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoThermal: pid_thermal_gov: Apply compenstaion even if sum_err is 0 or max
Jinyoung Park [Fri, 22 Mar 2013 04:41:05 +0000]
Thermal: pid_thermal_gov: Apply compenstaion even if sum_err is 0 or max

Applied compensation even if sum_err is 0 or max to prevent determining
target state to 0 in short time.

Bug 1200111

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/211960
(cherry picked from commit 221bc8d9307876a099c917100ef1066cf8cef308)

Change-Id: I52a8bbeb4ae8553f14401cd0eaa4508337111955
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/215535
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoarm: tegra: macallan: Update macallan DVFS table.
Hayden Du [Mon, 4 Mar 2013 04:35:40 +0000]
arm: tegra: macallan: Update macallan DVFS table.

Macallan copy Dalmore's DVFS table, and Macallan don't have
h5tc4g63afr_rda, remove h5tc4g63afr_rda from Macallan.

Change-Id: I744d65ec8fafb99bbd417f7424cb9953fa72aef2
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/205813
(cherry picked from commit 91fbc3e16a250ada624d89c3279fa0eb0ec25635)
Reviewed-on: http://git-master/r/215356
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarm: Tegra11: Macallan: update emc DVFS table
Hayden Du [Sat, 23 Feb 2013 13:19:31 +0000]
arm: Tegra11: Macallan: update emc DVFS table

bug 1222285
bug 1239328

Change-Id: I9bf0ba059b307ddb08b8339ac9ee5731c5869008
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/203599
(cherry picked from commit f04197815a198110ddf9fc1bed0c30c421f0b895)
Reviewed-on: http://git-master/r/215355
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra: roth/pluto: Validate GPIO before using
Harshavardhan Nalajala [Mon, 4 Feb 2013 05:53:05 +0000]
ARM: tegra: roth/pluto: Validate GPIO before using

Check the return values of gpio apis and return if
encountered with errors.

bug  1222992

Change-Id: I42fc671ccb8d8c0fe6ad2ff28c223130926e0228
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/196845
(cherry picked from commit f110d859b607e83d2b0413e14e96ce3268a3d59b)
Reviewed-on: http://git-master/r/208007
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agousb: otg: tegra: Remove duplicated irq_work call.
Harry Hong [Tue, 12 Mar 2013 05:10:10 +0000]
usb: otg: tegra: Remove duplicated irq_work call.

Even vbus is floating state, sometimes vbus is recognized
as high.
To prevent it, do not set USB_VBUS_INT_STATUS
if support_pmu_vbus is set to true.
It'll not call irq_work by vbus status of USB_PHY_WAKEUP.

bug 1242710

Change-Id: I7725aac8f100e8edb02b9bd00dc7b5325a70fa9e
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/208287
(cherry picked from commit 5be02212edaf87424836b6e8d60c372ab744b08c)
Reviewed-on: http://git-master/r/214404
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoasoc: tegra: max98090: fix voice call recording
Dara Ramesh [Mon, 1 Apr 2013 05:50:01 +0000]
asoc: tegra: max98090: fix voice call recording

a) Fix DAM CIF connection for vocie call record
b) removed unnecessary code

bug 1260680

Change-Id: I1dc065e33c65e15f67f4796730c5ccbb67668a17
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/214933
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra14: clock: Disable secondary dividers
Alex Frid [Sat, 30 Mar 2013 23:28:13 +0000]
ARM: tegra14: clock: Disable secondary dividers

Ported from Tegar11 commit df9c6859ecc98fe4ad3720b82cb3628ec016508d

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

5 years agoARM: tegra: macallan: enable vbus power off on suspend
Yunfan Zhang [Thu, 14 Mar 2013 04:01:16 +0000]
ARM: tegra: macallan: enable vbus power off on suspend

Change-Id: Ie331c4946a493478179f243348ffc0b12787ebe2
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/209394
(cherry picked from commit eb094d5d1d5ff63cd945b922c67baf4c9ea7bacc)
Reviewed-on: http://git-master/r/214296
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoregulator: bq2419x: add power off on suspend support
Yunfan Zhang [Thu, 14 Mar 2013 03:55:37 +0000]
regulator: bq2419x: add power off on suspend support

Add flag power_off_on_suspend to support shutdown output
unconditionally when suspend.

Change-Id: Iff958a82271c05d4d519246d85e8ab616ff79c5a
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/209393
(cherry picked from commit 98f518b471f75168b54c417be13bc512a4f3d178)
Reviewed-on: http://git-master/r/214295
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoregulator: bq2419x: Fix hot-plug functionality
Sumit Sharma [Fri, 1 Mar 2013 12:33:32 +0000]
regulator: bq2419x: Fix hot-plug functionality

Fix hot-plug functionality in bq2419x regulator driver

Bug 1245272

Change-Id: I5877310bb346666d97ead811d00683aa8e243db6
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/205552
(cherry picked from commit 489424dc579e01e7958792f7629868fd6e9e0587)
Reviewed-on: http://git-master/r/214294
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Yunfan Zhang <yunfanz@nvidia.com>

5 years agoregulator: bq24192: add shutdown functionality
Kunal Agrawal [Tue, 29 Jan 2013 09:23:11 +0000]
regulator: bq24192: add shutdown functionality

Bug 1225027

Change-Id: I33eca8e87bc01ac4a3392e8ede362d47900de98d
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/195047
(cherry picked from commit 41ebb9abc8b4b38c6a83112683f80403355c55b5)
Reviewed-on: http://git-master/r/214293
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Yunfan Zhang <yunfanz@nvidia.com>

5 years agoARM: tegra11: clock: Disable secondary dividers
Alex Frid [Sat, 23 Mar 2013 06:45:02 +0000]
ARM: tegra11: clock: Disable secondary dividers

During clock initialization disabled secondary dividers of disabled
PLLs (just in case if such divider is left enabled by boot-loader).

Change-Id: I69d510213b82c8860f040a786386489ac4dcf720
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212384
(cherry picked from commit df9c6859ecc98fe4ad3720b82cb3628ec016508d)
Reviewed-on: http://git-master/r/212381
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: Add voltage capping trip points
Amit Kamath [Mon, 11 Mar 2013 09:58:56 +0000]
ARM: tegra11: Add voltage capping trip points

Trip points to detect thermal state changes over a range of
temperatures added by calling board independent function.

bug 1042409

Change-Id: Ifb139ae676f07c74a6dae5599fe7232ed601ebe2
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/208015
(cherry picked from commit 4f0e402927a441b114561847b8d800cacc0238ef)
Reviewed-on: http://git-master/r/214974
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: add voltage capping thermals
Amit Kamath [Mon, 11 Mar 2013 09:52:56 +0000]
arm: tegra: add voltage capping thermals

Voltage capping needs to use soc therm sensors to accurately measure
temperatures. This change adds voltage capping related trip points
before registering to the soc_therm driver.

bug 1042409

Change-Id: I9bebaa39f88f0142c3b8ba7e07a70d86fdbc675e
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/208014
(cherry picked from commit dbd872140e5be5d4a358dd77de790f17c78b1594)
Reviewed-on: http://git-master/r/214972
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra11: clock: Add EMC DPD control to EMC DFS
Alex Frid [Sun, 24 Mar 2013 05:44:14 +0000]
ARM: tegra11: clock: Add EMC DPD control to EMC DFS

Added EMC_SEL_DPD_CTRL register to the list of burst registers updated
during EMC clock rate change. Increased EMC DFS table revision to 4.2.

Bug 1259481

Change-Id: I5b46fefdadfd8f4cbe0f56de0a9e0eaeecf6a1c5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212385
(cherry picked from commit 6f31808c07cb398ee6a247ebfcc4789d8eb3579d)
Reviewed-on: http://git-master/r/214839
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agomedia: video: tegra: lm3565: timer cannot be zero
Charlie Huang [Fri, 29 Mar 2013 23:00:07 +0000]
media: video: tegra: lm3565: timer cannot be zero

a zero timer can cause the camera app crash.

bug 1263377

Change-Id: I857a32bfbc86359805e2dc8b47fcdf3ad2d45d04
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/214713
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agousb: xhci: tegra: enable fw messaging
Ajay Gupta [Thu, 28 Mar 2013 16:14:36 +0000]
usb: xhci: tegra: enable fw messaging

This is needed to enabled fw messageing

Bug 1237223

Change-Id: I55c2b129b4e60a6263ff0e179bcf46803afef452
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/214197
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
(cherry picked from commit de3650ecb0f7b78af4392635c9536ccd3d0098a5)
Reviewed-on: http://git-master/r/214579
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agoxhci: tegra: fix race between remote wake and host wake
joyw [Tue, 19 Mar 2013 10:20:03 +0000]
xhci: tegra: fix race between remote wake and host wake

A race condition has been discovered during stress testing remote wake
from LP0. Occasionally, remote wake doesn't get served soon enough and
later hub driver tries to do host initiate resume for the port. That
causes the port staying PLS=RESUME with PLC cleared.

This patch fix the race by letting remote wake being completed before
hub driver can resume port.

Bug 1235232

Change-Id: I0595cfca6bb97df96e8b8554ece18041787cb6b9
Signed-off-by: joyw <joyw@nvidia.com>
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/210752
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>
(cherry picked from commit 096b5feb74c11a2e81dce6768e94adb9c8b748aa)
Reviewed-on: http://git-master/r/214578
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agomfd: bq2419x: Fix hot-plug functionality
Sumit Sharma [Fri, 1 Mar 2013 11:51:35 +0000]
mfd: bq2419x: Fix hot-plug functionality

Fix hot-plug funtionality in bq2419x mfd driver

Bug 1245272

Change-Id: I8ba74f77215f8d69e494856d9599d714653d1d67
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/205551
(cherry picked from commit 5a86449a1aa4d41c387641b1c3c411dbb6b1750c)
Reviewed-on: http://git-master/r/214371
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Yunfan Zhang <yunfanz@nvidia.com>

5 years agoarm:misc: Change tfa9887 driver debug spew
Scott Peterson [Sat, 9 Feb 2013 00:17:25 +0000]
arm:misc: Change tfa9887 driver debug spew

Changed the driver for the tfa8997 device so that
it only prints a message for the SetParam function
if there is an error and audio is playing. If audio
is not playing access to the device is not possible
so an error is expected.

Bug 1233775

Change-Id: I5e3b4f7958104d28c74dac730ea936efed567325
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/198963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com>
Reviewed-by: Shaoming Feng <shaomingf@nvidia.com>
(cherry picked from commit 9bd34a41737e49321db885b48ee299976e1cb09f)
Reviewed-on: http://git-master/r/213741
GVS: Gerrit_Virtual_Submit

5 years agoasoc: alc5640: Mic noise gate
Scott Peterson [Wed, 6 Mar 2013 23:53:03 +0000]
asoc: alc5640: Mic noise gate

Enabled noise gate and high pass wind filter
to improve recording performance.

Bug 1234255

Change-Id: I57f4580b979356ec800500d1879e825655058a20
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/206858
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Tested-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>
(cherry picked from commit 3ed4f08019293bd0f7e1ab67b623f87ee0bdc9c3)
Reviewed-on: http://git-master/r/213739
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoasoc: alc5640 Heaphone gain boost
Scott Peterson [Mon, 25 Feb 2013 22:24:16 +0000]
asoc: alc5640 Heaphone gain boost

Modified rt5640.c to enable greater output swing
by enabling dynamic control of charge pump as well
as adding headphone DC calibration and power
management changes.

bug 1211589

Change-Id: Icc3a6253c1456d8d66da9c8a04e05a54ae211391
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/206851
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Tested-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>
(cherry picked from commit 680522f3462c638cfb03d568a302d872062ebdd7)
Reviewed-on: http://git-master/r/213738
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: clock: Change clock table initialization order
Alex Frid [Sun, 24 Mar 2013 04:18:46 +0000]
ARM: tegra: clock: Change clock table initialization order

When initializing clocks from table, enable the clock (if requested)
before changing clock parent and/or setting the rate. The latter two
operations would do balanced enable/disable of the target clock anyway.
So, if the clock is to be enabled eventually, better to do it first,
and avoid further unnecessary switching.

Change-Id: I70912f2d318ea5926e94c494726cff3bc16787d4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212383
(cherry picked from commit 27355d88911187e0e7b9c7717dc6c962135f6e30)
Reviewed-on: http://git-master/r/212382
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: dalmore: Enable power_off_rail
Ken Chang [Tue, 19 Mar 2013 09:40:40 +0000]
ARM: tegra: dalmore: Enable power_off_rail

Turn off sdhci rails for SD card before rebooting the device.

Bug 1222606
Bug 1242658

Change-Id: Ic8e4931c3c921ba82a6be2ff371948c9c7501348
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/210749
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: dsi: set dsib PLLD_CSI_OUT_ENB only in T3x platforms
Hunk Lin [Mon, 4 Mar 2013 09:50:47 +0000]
video: tegra: dsi: set dsib PLLD_CSI_OUT_ENB only in T3x platforms

Only set dsib PLLD_CSI_OUT_ENB in T3x platform because from T11x dsib and
csi pads are no more shared.
Set PLLD_DSI_OUT_ENB for both dsia and dsib from T11x.

Bug 1237618

Change-Id: Id2402a4a280ecaea71f30068d729caf857cd64d6
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/205407
(cherry picked from commit eac6ebb76ee8edc1dbb9cea10992e9c3e6523621)
Reviewed-on: http://git-master/r/206958
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: pluto: set dsia's default parent
Hunk Lin [Fri, 1 Mar 2013 05:04:51 +0000]
ARM: tegra: pluto: set dsia's default parent

Set dsia's parent to pll_d2 by default to avoid the power consumption in dsia
when it is unused but connected to pll_d. It's parent will be change to pll_d
in dsi driver if needed.

Bug 1237618

Change-Id: I6eb4f39e9342e1ff3bd4dd01416d5cbf47ee9642
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/205389
(cherry picked from commit f7971fb0a718607fb7b076acf6ffc05cd598943d)
Reviewed-on: http://git-master/r/206956
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: Correct fuse bits check for RAM repair
Seshendra Gadagottu [Fri, 22 Mar 2013 18:41:08 +0000]
ARM: tegra: Correct fuse bits check for RAM repair

If any one of spare_10 or spare_11 bits are set then
trigger RAM repair

Bug 1211371

Change-Id: I55f7b2a5d03f2d61cd7c840392241b1b92dafb37
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/212183
(cherry picked from commit 239de7427989eb987e77bd25a4303fd2c0a66914)
Reviewed-on: http://git-master/r/214619
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: config: tegra3/tegra11: disable NFC
Preetham Chandru R [Thu, 21 Mar 2013 14:21:21 +0000]
ARM: config: tegra3/tegra11: disable NFC

Disable NFC as there is no user space libraries in L4T

Bug 1238477

Change-Id: I3e3251da2ed57080b2c2ea4e518df10f11092219
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/211659
(cherry picked from commit dda5b3d6dbd0302d56dfb1c1076410056223792f)
Reviewed-on: http://git-master/r/214418
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoinput: touch: raydium: Add missing compile time NV_ENABLE_CPU_BOOST define
Vikas Jain [Fri, 15 Mar 2013 13:36:31 +0000]
input: touch: raydium: Add missing compile time NV_ENABLE_CPU_BOOST define

Reporting input capability for MSC_ACTIVITY should be covered under
NV_ENABLE_CPU_BOOST.

Bug 1229219

Change-Id: Id8ac0ea04cb33016680386d40f38745f685f08d3
Signed-off-by: Vikas Jain <vjain@nvidia.com>
Reviewed-on: http://git-master/r/210021
(cherry picked from commit 050c7e991e2839c0ca03b1cde38a54b9a4b1596a)
Reviewed-on: http://git-master/r/213896
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agousb: gadget: composite: Fix USB CV compliance testing
Petlozu Pravareshwar [Fri, 8 Feb 2013 11:10:04 +0000]
usb: gadget: composite: Fix USB CV compliance testing

Enable USB_CONFIG_ATT_SELFPOWER in bmAttributes when the
device is self-powered. Also fixing the GET_CONFIGURATION
when the config field is set to NULL.

Bug 965634

Change-Id: I069da940b1473d5c0b49b2ce2abc7f8862956534
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/197438
(cherry picked from commit 4f1db792a7ee8b53cc263832eb18685303ddf56f)
Reviewed-on: http://git-master/r/212150
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra: pluto: Use battery rail for vdd_vbrtr regulator
Chaitanya Bandi [Thu, 7 Mar 2013 14:10:54 +0000]
ARM: tegra: pluto: Use battery rail for vdd_vbrtr regulator

vdd_vbrtr is from the always_on smps10_out2 rail.
Moving vdd_vbrtr to battery rail.

Bug 1239331

Change-Id: I093ba098574350aa98e3f685e8c686dbc7bb980c
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/207163
(cherry picked from commit a0a5abaf9699bc29b211965ce54d47f0248290c5)
Reviewed-on: http://git-master/r/211036
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agopower: max77665: Add suspend/resume support for max77665
Chaitanya Bandi [Tue, 26 Feb 2013 08:08:05 +0000]
power: max77665: Add suspend/resume support for max77665

Added suspend/resume support for max77665 charger

Bug 1238671

Change-Id: Iab0d5cb8b9159c26bcc9fc76648faefc03ffbaed
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/204108
(cherry picked from commit c97273f0439c99a0b5df7c524d9377b7c03dcd05)
Reviewed-on: http://git-master/r/211035
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoi2c: tegra: Return -EAGAIN in case of ARB Lost
Chaitanya Bandi [Wed, 30 Jan 2013 04:39:14 +0000]
i2c: tegra: Return -EAGAIN in case of ARB Lost

In case of ARB lost, return -EAGAIN so that the
communication is retried.

Bug 1222180

Change-Id: I003e02732568e08fabf6fe15f687e6ae73169f66
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/195401
(cherry picked from commit f2c6207ff4f4b93227a103a71d1519b7744e609d)
Reviewed-on: http://git-master/r/204986
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: sata: Fix LP0 resume problem
Yen Lin [Thu, 3 Jan 2013 23:01:56 +0000]
arm: tegra: sata: Fix LP0 resume problem

- Fix a bug in ahci-tegra.c when checking if SATA is on when resuming
- Add codes to support PM315 which uses LDO1 regulator for SATA rails

bug 1206518

Change-Id: Iaa910b1948fbcf5e45491977fd8ed0b313d2e0ae
Signed-off-by: Yen Lin <yelin@nvidia.com>
Reviewed-on: http://git-master/r/188441
(cherry picked from commit c319d0e904e6bff6e6c89d3c8cf651949c379925)

Signed-off-by: Bryan Wu <pengw@nvidia.com>
Change-Id: I0066fa8126dc7c506a17e97eaaa6d2b906c5ef84
Reviewed-on: http://git-master/r/189331
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoasoc: tegra: Add rt5640 pll configuration for hifi i2s slave
Rahul Mittal [Thu, 28 Mar 2013 18:46:17 +0000]
asoc: tegra: Add rt5640 pll configuration for hifi i2s slave

- Configure codec PLL to generate 512*fs mhz clock from 12mhz clk_m input
- Correct bclk_ms bit in codec which should be 1 for frame_size = 32 bits

Bug 1256349

Reviewed-on: http://git-master/r/211493
(cherry picked from commit e7aebb422442da581331b1c0edc42ccc44952742)

Change-Id: Id5918770cd9cee484a154d5fbdf5e790848b4cf9
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/215068
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra14: clocks: Increase vi/isp max rate
Prashant Malani [Tue, 26 Mar 2013 23:57:36 +0000]
ARM: tegra14: clocks: Increase vi/isp max rate

Increase max rate to 800MHz to support higher
values in core DVFS tables.

Change-Id: I8cddc8231b3e609b4800f211b12901884795a7ae
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/213348
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agostaging: iio: adc: Add Palma gpadc support
Pradeep Goudagunta [Wed, 13 Mar 2013 10:57:55 +0000]
staging: iio: adc: Add Palma gpadc support

TI Palma series pmic chips have a 16-channel general
purpose adc module, add support for it.

Bug 1242265

Change-Id: I3133aed7ac8781161665b7e8f5125d40bbc3a17a
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/208790
(cherry picked from commit 971ab87c6037cc92ae793619a3c3fab2e1ae818a)
Reviewed-on: http://git-master/r/214761
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: dalmore: Fix avdd_hdmi_pll regulator
Pradeep Goudagunta [Mon, 18 Mar 2013 10:08:31 +0000]
ARM: tegra: dalmore: Fix avdd_hdmi_pll regulator

Keep GPIO_PO1 active high.

Bug 1246643

Change-Id: Ib5752bde465f384507de8e1b40cb32b7a1f0bdb9
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/210279
(cherry picked from commit 2ce070a370b7f8659b97dc2c4736c89a3b796170)
Reviewed-on: http://git-master/r/214760
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: pinmux: call SoCs specific default pinmux
Laxman Dewangan [Mon, 25 Feb 2013 13:33:58 +0000]
ARM: tegra: pinmux: call SoCs specific default pinmux

Call SoCs specific default pinmux option to initialise the pinmux
configuration for given SoCs during pinmux driver initialisation.

bug 1206472

(Cherrypicked commit
c7824e722e76e3456c47c4dbc503de6928665b06)

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

5 years agoARM: tegra11: pinmux: make init table for default drive strength
Laxman Dewangan [Mon, 1 Apr 2013 16:36:29 +0000]
ARM: tegra11: pinmux: make init table for default drive strength

Make default table for drive strength for some of the pad which
is suggested for all Tegra114 platform from characterization data.

The AT2 pad group should be set to 0x03730000 as per characterisation
data to reduce rise time and fall time to less than 1ns

bug 1206472

(Cherrypicked commit
4245fc749a86ebc9d97c5de78f063028977bd537)

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

5 years agotime: alarmtimer: print cause of failure if suspend failed
Laxman Dewangan [Wed, 20 Feb 2013 09:59:59 +0000]
time: alarmtimer: print cause of failure if suspend failed

Print/display the cause of error if suspend fails. This helps in
debugging the failure case.

(Cherrypicked commit
2a5cd5441333ffd1b8e72c2b0d70734b9ca5fdeb)

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

5 years agortc: palmas: Clear all interrupt of RTC during init
Laxman Dewangan [Thu, 14 Feb 2013 09:55:20 +0000]
rtc: palmas: Clear all interrupt of RTC during init

There is a false wakeup from Palma RTC in suspend state of system.
Following changes are done to fix this issue:
- Clear all intrruprs of RTC during initialization,
- make RTC interrupt as early resume and
- do not enable the interrupt in suspend, as the interrupt get
  enabled when user sets the alarm.

Add debug prints on rtc callbacks for tracing the activity happen with
RTC hardware to catch any false setting/alarm/wakeup.

bug 1227717

(Cherrypicked from commit
0adcd0943ee3fd4982056d879ef3621d14fd4040)

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

5 years agoextcon: max77660: make extcon name to be configurable from platform data
Laxman Dewangan [Mon, 1 Apr 2013 06:39:04 +0000]
extcon: max77660: make extcon name to be configurable from platform data

Make external connection name for MAX77660 ID and VBUS detection pin name
as platform configurable.

Change-Id: If3a7abc296f1d401ce87f28eb92fa76fecd41737
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/214942
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agovideo: tegra: host: Add nvhost_syncpt_compare
Lauri Peltonen [Tue, 5 Mar 2013 18:58:48 +0000]
video: tegra: host: Add nvhost_syncpt_compare

Add nvhost_syncpt_compare that compares two threshold values of the same
sync point (needed by the linux/sync framework).

Bug 1219339

Change-Id: Ib734096a264ffc00e1eba5942debba530595af06
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: http://git-master/r/206372
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoasoc: tegra: aic326x: Use avdd_audio regulator
Vijay Mali [Thu, 21 Mar 2013 15:09:05 +0000]
asoc: tegra: aic326x: Use avdd_audio regulator

- Enable avdd_audio regulator during playback on Headphone and Speaker.
- This prevent leakage current in codec.
- Improve codec power numbers.

Bug 1238662

Reviewed-on: http://git-master/r/211670
(cherry picked from commit 8197f585be3bf75420c30cecec25316bdacf1fd4)

Change-Id: If4a3663c6ace71495390998f28f5b9ca6ae1065e
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/214808
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoasoc: codecs: Set ASI1 I2S Port as Master
Vijay Mali [Thu, 14 Feb 2013 06:11:05 +0000]
asoc: codecs: Set ASI1 I2S Port as Master

Remove code for seting WCLK and BCLK divisor.
AIC3262 firmware should configure the divisors.

Bug 1235898

Reviewed-on: http://git-master/r/200683
(cherry picked from commit 63788161d7a5d98b164e170f44f0835ac2b10ea2)

Change-Id: I0978ac04a22b5a193667cd47a0e564f9a15b5de9
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/214806
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoarm: tegra: pluto: Set HiFi I2S in slave mode
Vijay Mali [Thu, 14 Feb 2013 05:53:38 +0000]
arm: tegra: pluto: Set HiFi I2S in slave mode

Set HiFi I2S in slave mode.
Fix power regression.

Bug 1235898

Reviewed-on: http://git-master/r/200678
(cherry picked from commit 2552d1b51485daba66ac80f261427af3d4d61fa8)

Change-Id: I68ee9543445c88ac52a304620b9488881fd252d6
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/214805
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoasoc: AIC3262: Enable headset mic
Vijay Mali [Thu, 14 Feb 2013 06:54:07 +0000]
asoc: AIC3262: Enable headset mic

Fix no upstream audio in voice call.

For bug 1236029

Reviewed-on: http://git-master/r/200700
(cherry picked from commit 4daeffce6a9f553ad71d6a106dbd819e84ae9ccb)

Change-Id: I3b1fa0c23bc209639363a7aa82f2a357c00e3c6f
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/214803
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra11: pm: disable overriding pinmux
Harry Hong [Thu, 21 Feb 2013 07:29:12 +0000]
ARM: tegra11: pm: disable overriding pinmux

By POR, sys_clk_req pad is enabled to override
pinmux setting. this pin can be set to gpio.
to avoid overriding for gpio usage, adding
sysclkreq_gpio flag. Overriding pinmux will not
 works if this flag is set to true.

bug 1236315

Change-Id: If6f30a8bfbfc272a4e303d26e2d9553e2b353bd7
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/202855
(cherry picked from commit f96759a36d68ad17a2ac9f066f36c0b2ed10026a)
Reviewed-on: http://git-master/r/214386
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoASoC: Tegra: Fix warning for h2w registration
Ravindra Lokhande [Fri, 29 Mar 2013 10:54:43 +0000]
ASoC: Tegra: Fix warning for h2w registration

Change-Id: I7e45a1f9f659eb84422e1fcdc8402c52618fee38
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/214495
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoASoC: codec: aic325x: New drop from TI for AIC3256
Ravindra Lokhande [Fri, 29 Mar 2013 10:46:27 +0000]
ASoC: codec: aic325x: New drop from TI for AIC3256

Change-Id: I1747d4deb4090ab8f225c463c346cb6e3173f39f
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/214493
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agodrivers: mfd: New drop from TI for AIC325x
Ravindra Lokhande [Fri, 29 Mar 2013 10:34:02 +0000]
drivers: mfd: New drop from TI for AIC325x

Change-Id: Ie05acb61ed2e492359636dd1f505075f3cd738ac
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/214488
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agomfd: max77660: make clk32 mode and capacitance load as configurable
Laxman Dewangan [Thu, 28 Mar 2013 13:07:03 +0000]
mfd: max77660: make clk32 mode and capacitance load as configurable

Make the clock32K power mode and capacitive load to configurable
through platform data.

bug 1261861

Change-Id: Id83f55a5a7e8be4f4e457b6d948669469fa62e5b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/213977
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoARM: tegra14: dvfs: Allow DFLL Vmin below dvfs table
Alex Frid [Thu, 21 Mar 2013 22:47:13 +0000]
ARM: tegra14: dvfs: Allow DFLL Vmin below dvfs table

DFLL Fmax@Vmin rate used to be determined as frequency at the point of
intersection between cpu V/F curve and DFLL Vmin. As such at least one
dvfs entry below and one dvfs entry above Vmin was required. Relaxed
this requirement to dvfs table: if all table entries are above Vmin,
just use minimum tabulated rate as DFLL Fmax@Vmin rate.

Change-Id: Ibc7e3c1bc02081695254a0166c57cd8abc001552
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/211884
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agousb: xhci: tegra: clock code cleanups
Ajay Gupta [Wed, 20 Mar 2013 23:10:59 +0000]
usb: xhci: tegra: clock code cleanups

Changes:
- no need to enable ss_src clock
- clean unneeded clk uses such as pllu_clk, utmip_clk, plle_re_vco_clk
- killed clk wash in .probe()
- don't enable dev clocks
- change ss_clk to ss_src_clk
- change ss/host_partition_clk to ss/host_clk

Bug 1249124

Change-Id: I83a25029feabc624aa029d66190d9595e2f8cbb0
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/211865
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-on: http://git-master/r/214055
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agomedia: video: tegra: fuse id support
Phil Breczinski [Thu, 6 Dec 2012 23:17:50 +0000]
media: video: tegra: fuse id support

Adds support to read fuse ID from OTP memory on
ov2710, ov9726, ov9772,  ar0832, and imx091 sensors.
Also includes macro-enabled fuse ID programming for
ov2710.  Adjusts data structure used by fuse ID ioctl
to include a field for fuse ID size.

Required by nvcamera version 1.8.0
Required by NVCS version 4.10.0

Bug 1198663

Change-Id: Ib3bb0e100e49aea2c6ce13cd069862476d7f4bb6
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
Reviewed-on: http://git-master/r/169187
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoarm: tegra: wakeup offender monitoring
Louis Li [Tue, 8 Jan 2013 07:04:42 +0000]
arm: tegra: wakeup offender monitoring

Find the wakeup offender when the device is waken up by wireless or rtc
alarm. And record how many times the offenders cause the device to wake
up separately.

Bug 1190908

Change-Id: Ic8608448ce84d5c109e3957e0d98c3fcf088989c
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/189852
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoasoc: tegra: aic326x: Fix LP1 power for VDDIO_AUDIO
Rahul Mittal [Fri, 15 Mar 2013 11:46:57 +0000]
asoc: tegra: aic326x: Fix LP1 power for VDDIO_AUDIO

- Register DAPM map/widgets with snd_soc_card structure
- Enable idle bias off for TI codec
- Correct an error in handling bias level setting

Bug 1251424

Reviewed-on: http://git-master/r/209997
(cherry picked from commit 582e35277137204fe41c0a174683d4b75de0b20d)

Change-Id: I68da9e3f0f62707a54894d2340b9a85b4943e767
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/214021
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoasoc: tegra: aic326x: Add support for BT voice call recording
Rahul Mittal [Wed, 6 Mar 2013 14:27:29 +0000]
asoc: tegra: aic326x: Add support for BT voice call recording

Added BT voice call recording support
Call recording works fine on BT and normal call switching

Bug 1247059

Reviewed-on: http://git-master/r/206692
(cherry picked from commit dd93f497aa136e3c73398235922409dec3ab6539)

Change-Id: Ie1d83b71977eec5890d2155ad9d97bb8e817fbde
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/214020
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoasoc: tegra: aic326x: Fix DAM allocation for BT voice call
Rahul Mittal [Wed, 27 Feb 2013 09:55:30 +0000]
asoc: tegra: aic326x: Fix DAM allocation for BT voice call

Added a check to not allocate call record DAMs if it is a BT call
BT call requires 2 DAMs, and since we have only 3 DAMs,
we can't allocate the 2 DAMs that are needed for call recording

Fixed system sound mixing during BT call

Bug 1242683

Reviewed-on: http://git-master/r/204524
(cherry picked from commit 04ef9a3374c361821390deaeca9b94a3b7181366)

Change-Id: Ifdcaf444b500dd8df686e67fcffbdded42e30a53
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/214019
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoarm: tegra: pinmux: t114: correct pingroup func
Sachin Nikam [Thu, 21 Mar 2013 12:03:48 +0000]
arm: tegra: pinmux: t114: correct pingroup func

Correcting pingroup func for GPIO_PU4, GPIO_PU5,
GPIO_PU6 and KBC_ROW6.

This fixes warning in pinmux.c tegra_pinmux_set_func()

Bug 1256153

Change-Id: I9293ff515b532c75bc7ca70eeb29de3004491fa9
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/211617
(cherry picked from commit b9ffcf22e2968e182d94bc59c0b1bd847385aad5)
Reviewed-on: http://git-master/r/213970
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: dts: tegra114: add mipi_cal node
Min-wuk Lee [Thu, 28 Mar 2013 05:55:14 +0000]
arm: dts: tegra114: add mipi_cal node

Bug 1240921

Change-Id: I45a1b4720d0273cc1d3b67d1637720001f6b30fd
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/213847
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agousb: otg: tegra: handle resume for all id det types
Rakesh Bodla [Thu, 28 Mar 2013 04:12:08 +0000]
usb: otg: tegra: handle resume for all id det types

Adding the support in suspend/resume for all
id detection types.

Bug 1228619
Bug 1227226

Change-Id: I10686d4e848eb97de6457b1a104afb74015584a7
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/212968
(cherry picked from commit ab0ae0ae1166245548f24ce26b1b41f24388ba33)
Reviewed-on: http://git-master/r/213819
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agomedia: video: tegra: lm3565: fix get dev_id failure
Charlie Huang [Thu, 28 Mar 2013 02:45:54 +0000]
media: video: tegra: lm3565: fix get dev_id failure

there is a bug in lm3565_get_dev_id.

bug 1260946

Change-Id: I9d03ea1a362d2cb99c1a3f247d82aca35fbc0bc4
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/213804
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoi2c: tegra: Use ALL_PACKETS_XFER_COMPLETE interrupt
Chaitanya Bandi [Wed, 27 Feb 2013 09:43:35 +0000]
i2c: tegra: Use ALL_PACKETS_XFER_COMPLETE interrupt

The issue is that some clock stretching is observed
in case of coupled Write-Read transaction after the write
transaction because we wait for PACKET_XFER_COMPLETE.
Using ALL_PACKETS_XFER_COMPLETE will prevent that clock
stretching. In case of non-coupled transactions,
PACKET_XFER_COMPLETE is used.

Bug 1234504

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

Change-Id: Iba30d5c1cfd19d1e2af4007fe8ed72f13aa78df0
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/213710
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agonvhdcp: return v_prime in get_nvhdcp_state ioctl.
Marvin Zhang [Fri, 1 Mar 2013 18:30:38 +0000]
nvhdcp: return v_prime in get_nvhdcp_state ioctl.

hdcp upstream library needs to get v_prime from kernel and pass
it to tsec to do v_prime verification.

Bug 1197884

Change-Id: I9a6783e115751426bcbb97feaba999812091aa90
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/205639
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
(cherry picked from commit 932c91861cb5f71a52cdc6a62cd22648c86653cc)
Reviewed-on: http://git-master/r/213673
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agonvhdcp: return bksv_list for upstream protocol.
Marvin Zhang [Wed, 9 Jan 2013 19:04:04 +0000]
nvhdcp: return bksv_list for upstream protocol.

add returning bksv_list support from function get_nvhdcp_state.
upstream library gets bksv_list and passes it to tsec in order
to verify the validity of downstream devices.

Bug 1197884

Change-Id: I58ba2c5c4200ffb95ab9f929eecb1e9ebb60b5c9
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/190034
Reviewed-by: James Zhao <jamesz@nvidia.com>
Tested-by: James Zhao <jamesz@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
(cherry picked from commit 2c6b09135f87293170a09270f77f413e07e7cf67)
Reviewed-on: http://git-master/r/213672
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>

5 years agoARM: Tegra: Add L2 sync to L2 disable
Antti P Miettinen [Wed, 27 Mar 2013 13:26:42 +0000]
ARM: Tegra: Add L2 sync to L2 disable

Perform L2 sync before disabling PL310.

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

5 years agoiommu/tegra: smmu: Fix u32 -> u64 for swgid
Hiroshi Doyu [Wed, 27 Mar 2013 09:38:23 +0000]
iommu/tegra: smmu: Fix u32 -> u64 for swgid

Fix u32 -> u64 for swgid.

Change-Id: I2ef4bdab4ec80e1578dd0ee8f3208179d295fb79
Reported-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/213508
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm: tegra: macallan: add regulator for gyro sensor
Kerwin Wan [Mon, 4 Mar 2013 02:41:39 +0000]
arm: tegra: macallan: add regulator for gyro sensor

Bug 1245415

Reviewed-on: http://git-master/r/205809
(cherry picked from commit c9e1edb95f8180fbc6ee873a747c77459114129f)

Change-Id: Ic2f628f0d357eca05c8f64bca8ba8fc701c5989e
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/213440
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra14: clock: Update UTMI clk params table
Rakesh Bodla [Wed, 27 Mar 2013 04:58:51 +0000]
ARM: tegra14: clock: Update UTMI clk params table

Updating the UTMI clock parameters table. Also get
this paramaters based on clk_m instead of oscillator
frequency.

Bug 1233108

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

5 years agoARM: tegra14: clocks: Increase cpu_lp max rate
Prashant Malani [Tue, 26 Mar 2013 23:54:27 +0000]
ARM: tegra14: clocks: Increase cpu_lp max rate

Increasing max rate to 900 MHz to support higher
values in core DVFS tables

Change-Id: I1ecbf7cc2f9f0f9801ef565f69c4489278793349
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/213347
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM errata: Writing ACTLR.SMP when the L2 cache has been idle for an extended period...
Bo Yan [Mon, 25 Mar 2013 20:27:41 +0000]
ARM errata: Writing ACTLR.SMP when the L2 cache has been idle for an extended period may not work correctly

This workaround is for ARM errata 799270 which is applicable to
Cortex-A15 up to revision R2P4. The workaround is to read from
a device register and create a data dependency between this read
and the modification of ACTLR.

Change-Id: I26813f17a8a9c6a90446ddeb943ef318e3c69770
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/212770
(cherry picked from commit 2340401e2dec7228bcc5d9074c310d0146454736)
Reviewed-on: http://git-master/r/213135
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra114: Enable ARM errata 799270
Bo Yan [Mon, 25 Mar 2013 20:20:55 +0000]
ARM: tegra114: Enable ARM errata 799270

bug 1195192

Change-Id: Ib5b0c73f42f73610ec78464dcf789e38d8cab927
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/212769
(cherry picked from commit b2fa463444ecde860549e3ef01a1b70087eba775)
Reviewed-on: http://git-master/r/213134
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>