6 years agoARM: Tegra: tegratab: Update emc dvfs table
Yong Goo Yi [Thu, 23 May 2013 12:26:26 +0000]
ARM: Tegra: tegratab: Update emc dvfs table

Update emc dvfs table for P1640

Bug 1280381

Change-Id: I53bbde6d3edda42b7b625dba8545c040439fd590
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/232146
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: pluto: use PMIC vbus detection
Xin Xie [Tue, 14 May 2013 20:01:03 +0000]
arm: tegra: pluto: use PMIC vbus detection

Currently we are using the charging IC max77665 for the VBUS detection.
but max77665 has a HW bug which cause VBUS detection failure during the
high current charging.

Using PMIC vbus detection will seperate the VBUS detection and charging
on Pluto platform.

bug 1281009

Change-Id: Iaa91621e9fc83238698466078f5f05e41133b0d7
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/229134
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: pluto: fix charging parameters
Xin Xie [Thu, 2 May 2013 22:43:39 +0000]
arm: tegra: pluto: fix charging parameters

Pluto now has voltage regulation loop in the charging current, so we can
safely set the maximum charging current from any charger now.

Also change the maximum charging voltage to 4.2v, so we can charge the
battery to full capacity.

bug 1281009

Change-Id: I30514acc0e2310df1113fc94c436dca4d8729474
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/228076
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agopower: max77665: add charging state status display
Xin Xie [Wed, 24 Apr 2013 00:28:54 +0000]
power: max77665: add charging state status display

bug 1281009

Change-Id: I1305b43dd17db544e432c3a4085ebf0bb937bc88
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/224098
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoEDP: psy depletion: allow null rbat lut
Sivaram Nair [Wed, 29 May 2013 17:50:29 +0000]
EDP: psy depletion: allow null rbat lut

For boards that do not specify an rbat lut, use the r_const as the
RBAT.

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

6 years agoARM: tegra: dynamically init sys EDP cap
Sivaram Nair [Wed, 29 May 2013 10:21:29 +0000]
ARM: tegra: dynamically init sys EDP cap

If the device is not powered by a battery, use virtualy unlimited
battery cap.

Change-Id: I1f6bf578af2309d1070034e57ca9b6b6e9575568
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/233652
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: tegratab: modify pinmux value following ERS
Simon Je [Mon, 20 May 2013 22:45:27 +0000]
arm: tegra: tegratab: modify pinmux value following ERS

Some pinmux value needs to be set as same as ERS,
because these are not changed in terms of hardware between two boards,
and have been proved since ERS.

Change-Id: Iae3d4a0706f42b139c93a39f982251e182b3f2bf
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/228634
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jake Park <jakep@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: tegratab: add FFD pinmux
Simon Je [Tue, 14 May 2013 23:16:26 +0000]
arm: tegra: tegratab: add FFD pinmux

To manage pinmux separately between ERS adn FFD,
add FFD pinmux and they are distinguished by board id.

Change-Id: Ia2f9ac859397b842c831a6b392848a434af1d1cb
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/228633
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agomisc: nct1008: add id for nct218
Roger Hsieh [Mon, 27 May 2013 10:45:34 +0000]
misc: nct1008: add id for nct218

Add id for nct218 which is compatible with nct1008.

Bug 1289749

Change-Id: Ieb50d9119126aa3558ce5809f49970d45a0144fe
Signed-off-by: Roger Hsieh <rhsieh@nvidia.com>
Reviewed-on: http://git-master/r/232943
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: Tegra3: PCIE: Change clock rate to match PCIE
Naveen Kumar S [Mon, 27 May 2013 16:50:16 +0000]
ARM: Tegra3: PCIE: Change clock rate to match PCIE

If PCIE is enabled, increase clock rates of spdif_in, csite and
vi_sensor to utilize improved PCIE X4 bandwidth.

Bug 1293381

Change-Id: I5d85f1472418a1aa6ece5b25a22942ba6774dae5
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/233029
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: pcie: set mselect to 204MHz for Tegra3
Peter Daifuku [Mon, 29 Apr 2013 20:20:29 +0000]
ARM: tegra: pcie: set mselect to 204MHz for Tegra3

When PCI is enabled, increase mselect from 102MHz to 204MHz for improved PCIE x4 bandwidth

In tegra_update_mselect_rate, when PCI is enabled, set mselect to CPU rate up to 204MHz.

Bug 1014125
Bug 1035617
Bug 1293381

Change-Id: Ia23f26a82276638bd1d414f4a0c6456fe282f906
Signed-off-by: Naveen Kumar S<nkumars@nvidia.com>
Reviewed-on: http://git-master/r/225327
(cherry picked from commit 559aed0bbe3fd859c48464fa7289c1d82256bfb5)
Reviewed-on: http://git-master/r/232971
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agommc: sdhci: Remove command time out print statement
Naveen Kumar Arepalli [Thu, 23 May 2013 11:46:52 +0000]
mmc: sdhci: Remove command time out print statement

1. Remove command time out print statement, huge number of
these prints will cause device hang.
2. There is a sys fs interface to identify the number of
time out errors occured for an sdmmc device

Bug 1274359

Reviewed-on: http://git-master/r/232125
(cherry picked from commit 5d3ecf92c7ff03dca180776e245a94d2c3ee5e6c)
Change-Id: I428f4fc60b99142e782514f2f06f66759082de5b
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/233696
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoregulator: core: disable parent if child enabled during registration
Laxman Dewangan [Tue, 28 May 2013 14:44:57 +0000]
regulator: core: disable parent if child enabled during registration

If regulator's parent is enabled because of regulator is found to
be enabled during registration then disable parent if:
- regulator registration failed or
- when full constraints is enabled and regulator get disabled.

bug 1285809

Change-Id: I7a7c551543a9cbecf83bf10ef783e72aaa8c2173
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Venkat Reddy <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/233346
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Tested-by: Yong Goo Yi <yyi@nvidia.com>

6 years agoARM: tegra: Adjust temperature margin for CPU EDP
Diwakar Tundlam [Fri, 24 May 2013 22:13:24 +0000]
ARM: tegra: Adjust temperature margin for CPU EDP

From updated tegra11x margining spreadsheet.

Bug 1293224
Bug 1233302

Change-Id: I424bb5f82df1affe0fc1105de96517f5be3a31a3
Reviewed-on: http://git-master/r/232715
(cherry picked from commit b9aacfcd3be287eee59708040603636596faf3d1)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/233392
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: tegratab: enable nct1008 for P1640
David Yu [Sat, 25 May 2013 05:06:47 +0000]
arm: tegra: tegratab: enable nct1008 for P1640

Change-Id: I93cce08ebe2d303072d4473e80ecfe81276568c8
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/232788
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoMerge remote-tracking branch 'origin/dev/svenkatarama/AOHDR_Merge' into promotion_build
Riham Haidar [Thu, 30 May 2013 17:36:16 +0000]
Merge remote-tracking branch 'origin/dev/svenkatarama/AOHDR_Merge' into promotion_build

6 years agommc: tegra: Fix tuning for multiple freqs
Pavan Kunapuli [Tue, 28 May 2013 14:39:14 +0000]
mmc: tegra: Fix tuning for multiple freqs

When DFS is enabled and tuning is run for multiple frequencies, ensure
that tuning settings/flags are maintained indenpendently for each
frequency.

Bug 1238045

Change-Id: Id4bde8d93c89b9e0188948fba37402f3251ff578
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/233344
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: Dalmore: Set SDMMC1,3 clock to 156 MHZ
Naveen Kumar Arepalli [Fri, 24 May 2013 06:05:13 +0000]
ARM: tegra: Dalmore: Set SDMMC1,3 clock to 156 MHZ

1. Adding vdd_core regulators for sdmmc3 to be used for
setting core voltage constraints during frequency tuning.

2. Setting SD and SDIO max clock to 156MHz on Dalmore A05
board.

Bug 1238045

Change-Id: I1ba0cf8e434680bc09877156b1066c5eb06dcf24
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/222461
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra: tegratab: Add touch power rail for P1640
Jinyoung Park [Tue, 21 May 2013 08:43:39 +0000]
ARM: tegra: tegratab: Add touch power rail for P1640

Added touch power rail for P1640.
And separated fixed regulator device table into E1569 and P1640.

Bug 1270691
Bug 1289438
Bug 1291850

Change-Id: I49fb6827f6301c79b409eb709f13964aebc51f28
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/231097
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoinput: touch: maxim: Add regulator controls
Jinyoung Park [Thu, 16 May 2013 00:40:48 +0000]
input: touch: maxim: Add regulator controls

Added regulator controls for suspend and resume.

Bug 1270691
Bug 1289438
Bug 1291850

Change-Id: I3806b50b1335eaf02169f7d0b6362abbae6ba7ea
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/229145
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: max17048: Add 18-bit model SOC calculate.
Hyongbin Kim [Fri, 24 May 2013 06:48:11 +0000]
power: max17048: Add 18-bit model SOC calculate.

When model data is 18-bit, 1LSb=1%SOC.

Bug 1293141

Change-Id: I247bfa1fa5a6ee1c442a5e7f5cb647df4cdda0f0
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/232468
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agovideo:tegra:nvavp: Add sync point increment support
Soumen Kumar Dey [Tue, 21 May 2013 10:10:16 +0000]
video:tegra:nvavp: Add sync point increment support

Move sync point increment to CPU side for T11X.

bug 1279729

Change-Id: I3ff5efc2300635411aaa5b71a3455e0b27808460
Signed-off-by: Soumen Kumar Dey <sdey@nvidia.com>
Reviewed-on: http://git-master/r/232770
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Gajanan Bhat <gbhat@nvidia.com>

6 years agomisc: nct1008: Correct names of thermal zone devices
Jinyoung Park [Tue, 28 May 2013 04:50:13 +0000]
misc: nct1008: Correct names of thermal zone devices

Names of thermal zone devices are reversed between Tdiode and Tboard.

Bug 1261182
Bug 1296228

Change-Id: I4d318df4af73086172199528869a3136f889868a
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/233216
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Edward Riegelsberger <eriegels@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: ahb: enable WR_WAIT_COMMIT_ON_1K bit
Ashwini Ghuge [Tue, 28 May 2013 08:06:03 +0000]
ARM: tegra: ahb: enable WR_WAIT_COMMIT_ON_1K bit

Enable WR_WAIT_COMMIT_ON_1K bit in AHB_GIZMO_AHB_MEM
for T114 A02 chip on Dalmore

Bug 1286714

Change-Id: I3934b1ea14e30ec7b53eae0f617940538544187f
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/229368
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoarm: tegra: tegratab: Add regulator consumer
Yong Goo Yi [Wed, 22 May 2013 05:38:14 +0000]
arm: tegra: tegratab: Add regulator consumer

Add regulator consumer for BMP180 barometer and TMP451 Temp sensor

Change-Id: I6bce9b22f82644b3ffd0dbcefa2ba71acb34f1f2
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/231424
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: config: enable POWER_SUPPLY_EXTCON
Laxman Dewangan [Tue, 28 May 2013 10:56:05 +0000]
ARM: tegra: config: enable POWER_SUPPLY_EXTCON

Enable power supply detection through extcon notification.

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

6 years agopower: extcon: detection of power supply through extcon
Laxman Dewangan [Tue, 28 May 2013 10:47:04 +0000]
power: extcon: detection of power supply through extcon

The power supply is detected through the extcon notification
from the driver which identify the supply cable type.

Add power supply driver to generate power supply type based
on identified cable through extcon.

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

6 years agoarm: tegra: tegratab: correct ldo controls
Yong Goo Yi [Wed, 22 May 2013 05:29:18 +0000]
arm: tegra: tegratab: correct ldo controls

1. Set roof_floor of ldo2/ldo3/ldo4/ldo5/ldo7/ldo9/ldoln to 0.
These rails' ON/OFF should be controlled by drivers.
External control(roof_floor) should be only used for the power rails which
require to be on during system idle/active and do not require to be on when
it is in sleep/lp0.

2. Disable always on for ldo6 so that it can be turn off when lp0.

3. Set apply_uV for ldo has min_uV = max_uV

Bug 1285809

Change-Id: Icf434890cc387b102845fff83e9a5722d10bcd0d
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/231422
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agousb: otg: increase otg wakelock hold time
Rohith Seelaboyina [Fri, 24 May 2013 11:02:24 +0000]
usb: otg: increase otg wakelock hold time

increase otg wakelock hold time to properly load/unload
stack in case of usb devices

Bug 1293039

Change-Id: I5326272d5657b3d3162515c4debc6c7e3abf9918
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/232073
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: tegratab: Set wp gpio for sdmmc3
Naveen Kumar Arepalli [Sun, 26 May 2013 02:58:42 +0000]
ARM: tegra: tegratab: Set wp gpio for sdmmc3

Set wp gpio for sdmmc3 on tegratab

Bug 1293752

Change-Id: Ia30f16899b7e678a4e1dc1d4dc71d8cd6644054b
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/232792
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agommc: tegra: Enable tegra_sdhci_get_ro for t114
Naveen Kumar Arepalli [Wed, 22 May 2013 06:34:17 +0000]
mmc: tegra: Enable tegra_sdhci_get_ro for t114

Enable tegra_sdhci_get_ro for t114, because we are using
wp gpio for sdmmc

Bug 1288218

Change-Id: I1e0922da98071cd1ec4d03e35c550c472ac60621
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/231443
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: sdhci: Set wp gpio for sdmmc3
Naveen Kumar Arepalli [Fri, 24 May 2013 03:38:36 +0000]
ARM: tegra: sdhci: Set wp gpio for sdmmc3

Set wp gpio for sdmmc3 on dalmore and macallan

Bug 1288218

Change-Id: I13e30ca4aa9ce896867de10c963e1e61c4bce43a
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/231442
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoasoc: tegra: rt5640: Register audio map based on micbias_gpio support
Rahul Mittal [Thu, 23 May 2013 10:36:54 +0000]
asoc: tegra: rt5640: Register audio map based on micbias_gpio support

Register proper audio map based on micbias_gpio support
Tegratab gets the different audio map as it requires
Fixes dalmore recording as correct audio map will register for it
Remove usage of board names in the driver

Bug 1290577

Change-Id: Ie2be3620327e030534b0045ba7b06a3aeb553966
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/232088
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: Add flag in pdata for micbias_gpio support on platform
Rahul Mittal [Thu, 23 May 2013 10:33:41 +0000]
ARM: tegra: Add flag in pdata for micbias_gpio support on platform

Add micbias_gpio_absent field to audio platform data
Set micbias_gpio_absent for tegratab to true
Codec machine driver can know if micbias_gpio is present or not

Bug 1290577

Change-Id: I5cf18184caa9feb9fb8d55c489df6048e33e74ff
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/232087
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm: tegra : pluto: Remove 53Hz mode from 1080p Sharp panel
Peter Liu [Thu, 16 May 2013 02:14:21 +0000]
arm: tegra : pluto: Remove 53Hz mode from 1080p Sharp panel

53Hz mode causes panel flickering on resume.

Bug 1273146

Change-Id: I454c81ebbf84172f9170a7fc2da245bce72e4076
Signed-off-by: Peter Liu <petliu@nvidia.com>
Reviewed-on: http://git-master/r/229158
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Reviewed-by: Rui Zhuo <rzhuo@nvidia.com>

6 years agoarm: tegratab: Update platform data of max17048
Hyongbin Kim [Tue, 21 May 2013 10:30:54 +0000]
arm: tegratab: Update platform data of max17048

Update 4100mA battery Model file.
Add gpio irq for detect ALRT of max17048.
use 1% SOC change alert.
use SOC low alert.
Not use voltage high/low alert.
Disable voltage reset alert.
Update board file of not-using DT for reference.

Bug 1293141
Bug 1245249

Change-Id: I5664664ba482d158ab083b8f66b8589a45fc064d
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/231138
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: max17048: correct parsing DT platform data order.
Hyongbin Kim [Tue, 21 May 2013 08:55:49 +0000]
power: max17048: correct parsing DT platform data order.

Correct parsing vleart and alert_threshold value.

Bug 1293141
Bug 1245249

Change-Id: I062a25d6877f0d3a154b7b7e313b86be1d655c41
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/231100
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: max17048: Add alert interrupt handler
Hyongbin Kim [Tue, 21 May 2013 08:34:41 +0000]
power: max17048: Add alert interrupt handler

Use irq handler for wakeup from LP0 when low soc.

Bug 1293141

Change-Id: I8369fcef5d3e22cc9e36e26e4bf94ae67ac90d9f
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/231090
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoRevert "ARM: tegra: usb: powerdown OTG circuit if not needed"
Rohith Seelaboyina [Fri, 24 May 2013 10:46:24 +0000]
Revert "ARM: tegra: usb: powerdown OTG circuit if not needed"

This reverts commit fc4f513adba751c4726b8bc5fadac5407354788d.

Change-Id: I5208d56f89df2a0f479540c9b5afc0c6826b575a
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/232567
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agommc: tegra: Boost sclk and emc clk's for sdmmc
Naveen Kumar Arepalli [Sun, 19 May 2013 03:42:27 +0000]
mmc: tegra: Boost sclk and emc clk's for sdmmc

Boost emc, sclk clock to 150 MHz for sdmmc
Boosting emc and sclk helps in sdmmc kpi.

Bug 1276208
Bug 1294076

Reviewed-on: http://git-master/r/230090
(cherry picked from commit d916c03439b91bd68c5ad7f4ac2a0c64a29d417c)
Change-Id: I472e009b369fcaa87b3c44e2c49a86bf1d857b18
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/232083
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11: clock: add sdmmc3 to sclk and emc
Naveen Kumar Arepalli [Thu, 23 May 2013 10:31:13 +0000]
ARM: tegra11: clock: add sdmmc3 to sclk and emc

Add sdmmc3 to sclk, emc as a client.
Increasing sclk freq helps sdmmc3 KPI.

Bug 1294076

Change-Id: Ia42d66d36b6d738b7e0415b40b3b675265c4fac3
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/232081
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: power: remove all sd dpd entries
rrajk [Thu, 9 May 2013 12:29:09 +0000]
ARM: tegra: power: remove all sd dpd entries

Bug 1191332

Change-Id: I270e808b8d561afee304550c9cd3564af924085b
Reviewed-on: http://git-master/r/227046
(cherry picked from commit 04baa285083febd444c2bfbe69409044ec735ed1)
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/231645
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra11: dvfs: Set CPU Vmin in DFLL mode 1.0V
Alex Frid [Sat, 18 May 2013 01:26:16 +0000]
ARM: tegra11: dvfs: Set CPU Vmin in DFLL mode 1.0V

Bug 1291764

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

6 years agomedia:video:tegra: delete ov7695 debug message
kkim [Wed, 22 May 2013 11:44:06 +0000]
media:video:tegra: delete ov7695 debug message

Change-Id: Ib8a8426a4bad7d0f305a9f18052acbe83cb65748
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/231589
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm: tegra: tegratab: Use maxim touch driver on P1640 DVT
Joshua Cha [Thu, 23 May 2013 04:41:49 +0000]
arm: tegra: tegratab: Use maxim touch driver on P1640 DVT

Maxim touch driver should be enabled only on P1640 DVT board.
There is no touch device on TegraTab ERS board.

Bug 1291015

Change-Id: Ide236d521c6abc6e4cc7a90f1fd19e6ed5c0f618
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/231933
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomedia: tegra: ad5823: add missed reglator_disable
Jake Park [Wed, 22 May 2013 10:30:44 +0000]
media: tegra: ad5823: add missed reglator_disable

Adding missed regulator_disable() into probe().
While probing ad5823 focuser, regulator vdd should be turned on
before i2c operations and should be turned off after i2c oeprations.

Bug 1293915

Change-Id: Ie9936e699ad3e3b08eb1dad55182e33dc89244a3
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/231547
Reviewed-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra: tegratab: Set PULL_DOWN for KB_COL4
Harry Hong [Wed, 22 May 2013 02:13:28 +0000]
arm: tegra: tegratab: Set PULL_DOWN for KB_COL4

TegraTab doesn't have WP pin connected.
and in case of T114, only using SFIO WP pin input.
So set sdmmc3_wp to pull_down to get always WP disabled.

bug 1287151
bug 1293752

Change-Id: Id9ea39f04921f19f7c63fe9d61defdcf47e88b46
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/231375
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Simon Je <sje@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>

6 years agoARM: tegra11: dvfs: Update CPU dvfs tables
Alex Frid [Sat, 18 May 2013 01:24:19 +0000]
ARM: tegra11: dvfs: Update CPU dvfs tables

Bug 1291764

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

6 years agoARM: tegra: dvfs: Enable DFLL/PLL auto-switch by default
Alex Frid [Sat, 18 May 2013 00:55:38 +0000]
ARM: tegra: dvfs: Enable DFLL/PLL auto-switch by default

Bug 1291764

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

6 years agonet: wireless: bcm43241: enable P2P_DISCOVERY_WAR
bibhayr [Tue, 21 May 2013 10:32:36 +0000]
net: wireless: bcm43241: enable P2P_DISCOVERY_WAR

Add P2P_DISCOVERY_WAR in bcm43241/Makefile which
is used to compile driver for bcm43241

Bug 1282833
Bug 1282700

Change-Id: Ia975e4765038feeedd53580eb4275c5e34c50d38
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/231137
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agomedia: video: tegra: update focuser working range
Sudhir Vyas [Thu, 16 May 2013 08:58:09 +0000]
media: video: tegra: update focuser working range

Update ad5816 focuser calibrated working range.
Current settings do not give better results for
macro mode specifically.

Bug 1238213

Change-Id: Ic8b60081bda75ecf3158d98796c979528767dfcd
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/229267
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoi2c: tegra: do not suspend i2c interrupts
Laxman Dewangan [Thu, 18 Apr 2013 13:43:51 +0000]
i2c: tegra: do not suspend i2c interrupts

There is possibility of I2C transfer calls even after suspend of
drivers occur.

To have the I2C transfer properly in this case, it should not suspend
interrupt of I2C so that interrupt support should be available.

Bug 1278481

Change-Id: Ic37a19655fe200c2632279e00dbcf08ad00a9d73
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/220599
(cherry picked from commit fad2b7a813dd1a6628ad0918297ea22014b6d4e6)
Reviewed-on: http://git-master/r/228973
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: Tegra11: Enable hard shutdown in 8 seconds
Naveen Kumar S [Tue, 30 Apr 2013 20:16:01 +0000]
ARM: Tegra11: Enable hard shutdown in 8 seconds

Specifying value for Palmas LONG_PRESS_KEY (LPK) register to
enable hard shutdown upon holding onkey pressed for 8 second
sin non-android platforms. Retaining default of 12 seconds for
android platforms.

Bug 1241832

Change-Id: I7f076eb0fd7619ab192a2df362c938f2326427b5
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/224211
(cherry picked from commit 288d0caf7b0067b355fe927485c02e5f6214097b)
Reviewed-on: http://git-master/r/228800
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: Tegra: Programming Palmas LongPress register
Naveen Kumar S [Tue, 30 Apr 2013 18:12:40 +0000]
ARM: Tegra: Programming Palmas LongPress register

Programming the Palmas (TPS65913) LONG_PRESS_KEY
register (LPK) used for system hard shutdown.

Bug 1241832

Change-Id: Icb3fef877d3b9093572464725c672d2957566e4e
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/222465
(cherry picked from commit a2245c93317401a8c0ca1def6617448ea5cfc07b)
Reviewed-on: http://git-master/r/228797
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agommc: host: tegra: Remove runtime DPD support in SD
rrajk [Thu, 9 May 2013 12:27:21 +0000]
mmc: host: tegra: Remove runtime DPD support in SD

Removed runtime DPD configuration support from SD driver.

Bug 1191332

Change-Id: I389ca46a302e30556d2823709a46816a582c26e4
Reviewed-on: http://git-master/r/227045
(cherry picked from commit 9ab1ae335d969eeffe5fc6c7f57e4b0a383ce20c)
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/231644
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: usb: disable pmc after disabling vbus
Rohith Seelaboyina [Mon, 20 May 2013 04:22:05 +0000]
ARM: tegra: usb: disable pmc after disabling vbus

disable pmc after disabling vbus

Bug 1279228
Bug 1279501

Change-Id: Ib9e937d71806cd921d19da6667dee220df8c1603
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/228906
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agousb: host: tegra: disable pmc before going to LP0
Rohith Seelaboyina [Thu, 16 May 2013 06:43:49 +0000]
usb: host: tegra: disable pmc before going to LP0

disable pmc before going to LP0

Bug 1279228
Bug 1279501

Change-Id: Ib59cff3f164262a80aa35a6ab58af792783cc5fb
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/228905
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 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: Ib1ec166c1140a5162e0bca163c1e2857c734d587
Reviewed-on: http://git-master/r/226765
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoARM: tegra11: clock: Re-init PLLM when resume from LP0
Renn Wu [Mon, 20 May 2013 06:26:55 +0000]
ARM: tegra11: clock: Re-init PLLM when resume from LP0

PLLM is kept the same as on entry to LP0, need S/W re-init when resume.

Bug 1288643

Change-Id: I211fd758b1fb38c11a3ef901dfd79a698bcc8cfb
Signed-off-by: Renn Wu <rewu@nvidia.com>
Reviewed-on: http://git-master/r/231287
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>

6 years agoARM: tegra: usb: powerdown OTG circuit if not needed
Ajay Gupta [Tue, 21 May 2013 16:31:42 +0000]
ARM: tegra: usb: powerdown OTG circuit if not needed

Bug 1275290

Change-Id: I03e1a38d69adcd6b20e82aec84fdce0874254bca
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/231226
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoarm: tegra: tegra3_defconfig: Add WFD support
Sameer Gumaste [Mon, 4 Feb 2013 10:03:37 +0000]
arm: tegra: tegra3_defconfig: Add WFD support

Adding config flags for Wi-fi Direct T30 support
for bcmdhd 4330. For example support for 80211,P2P scan
This is needed for wifi direct sink use case on cardhu.

Bug 1220912
Signed-off-by: Sameer Gumaste <sgumaste@nvidia.com>
Change-Id: I40c545750d11bf5e787ad0d00d7c2661beb3421f
Reviewed-on: http://git-master/r/231121
Tested-by: Jitendra Kumar <jitendrak@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mursalin Akon <makon@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agousb: gadget: tegra: set cpu normal in work context
Rakesh Bodla [Tue, 21 May 2013 06:54:41 +0000]
usb: gadget: tegra: set cpu normal in work context

Once USB transfers are completed, set cpu frequency
to normal in work context.

Bug 1292315

Change-Id: I34e6f6d85f3be8be31e5d87a742894d0ca10f8bc
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/231064
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra: xusb: set PD_CHRP and PD_DISC always zero
Ajay Gupta [Tue, 21 May 2013 15:54:04 +0000]
ARM: tegra: xusb: set PD_CHRP and PD_DISC always zero

This is needed to save 4mW power.

Bug 1275290

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

6 years agousb: xhci: tegra: process set bandwidth fw message
Ajay Gupta [Mon, 20 May 2013 21:46:22 +0000]
usb: xhci: tegra: process set bandwidth fw message

Bug 1266234

Change-Id: I0c89373913391bd8b04f2245d178eae44a9bded5
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/231004
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agomedia: video: tegra: apply ov7695 quality tune
Jake Park [Mon, 20 May 2013 07:01:18 +0000]
media: video: tegra: apply ov7695 quality tune

Bug 1278482

Change-Id: Ib74a3a8d018a5082f3098fa058609d634bfb2010
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/230186
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karl Kim <kkim@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agomisc: nct1008: change names of zone devices
Hyungwoo Yang [Mon, 13 May 2013 21:22:21 +0000]
misc: nct1008: change names of zone devices

Changed names of zone devices this driver creates.
New names are based on where the device probe.

nct_ext -> Tdiode
nct_int -> Tboard

Bug 1261182

Change-Id: I92101299b1998925f00e8ce379bbd0aea1c3764b
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/228129
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Edward Riegelsberger <eriegels@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: dt: tegra: tegratab: apply P1640 compass orientation
David Yu [Mon, 6 May 2013 08:36:51 +0000]
arm: dt: tegra: tegratab: apply P1640 compass orientation

Bug 1278403
Bug 1281967

Change-Id: Ie97c29c158590e9d6feca71a05feaed6c79b87e5
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/225601
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoMerge branch dev_17 into rel17
sivasubramaniam venkataraman [Wed, 22 May 2013 19:46:27 +0000]
Merge branch dev_17 into rel17

This change adds the camera supoorted changes to bring AOHDR feature in
to rel-17.

Signed-off-by: sivasubramaniam venkataraman <svenkatarama@nvidia.com>

6 years agoasoc: codecs: enable DVT(P1640) of tegratab to use ALC5639
Simon Je [Mon, 20 May 2013 21:19:57 +0000]
asoc: codecs: enable DVT(P1640) of tegratab to use ALC5639

Bug 1227518
Bug 1287224

Change-Id: Icdd3de929f9d6d9e6fec4a3aab0142d6d8250324
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/230940
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoasoc: codecs: Add vendor supplied v8.5 files for ALC5639 codec
Bard Liao [Mon, 20 May 2013 20:30:53 +0000]
asoc: codecs: Add vendor supplied v8.5 files for ALC5639 codec

This version enables Rt_reg_ctrl app which is able to read/write
codec register.

Bug 1227518
Bug 1287224

Change-Id: I4ea574e42f8ba97dd8adcbfe4c3aaa423b8b3f56
Signed-off-by: Bard Liao <bardliao@realtek.com>
Reviewed-on: http://git-master/r/230936
GVS: Gerrit_Virtual_Submit
Reviewed-by: Simon Je <sje@nvidia.com>
Tested-by: Simon Je <sje@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agovideo: tegra: fb: Update and synchronise dc window
pdabade [Thu, 16 May 2013 06:38:16 +0000]
video: tegra: fb: Update and synchronise dc window

Update and synchronise DC window after enabling DC while unblanking.

Bug 1284137

Change-Id: I2edeac44185b0aedfe1d538e38e319754443ff1d
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/229227
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM: tegra: thermal: change names of zone devices for Tskin
Hyungwoo Yang [Mon, 13 May 2013 22:47:46 +0000]
ARM: tegra: thermal: change names of zone devices for Tskin

Changed names of zone devices which are being used for Tskin estimation.
New names are measuring device independent.

nct_ext -> Tdiode
nct_int -> Tboard

Bug 1261182

Change-Id: I7c47ceec242659f8b62267c0c350fce70d9ce221
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/228134
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoArm: tegra: pmc: Fix typo
Krishna Yarlagadda [Tue, 14 May 2013 10:59:59 +0000]
Arm: tegra: pmc: Fix typo

Use pmc override for TCTRL/RCTRL when xusb is in use.
Fixed typo which does just opposite.

Change-Id: I96ea5197e67fedf0357f4d37c75d1d49790c0a47
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/228365
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoMerge branch dev_17 into rel17
sivasubramaniam venkataraman [Tue, 21 May 2013 21:33:33 +0000]
Merge branch dev_17 into rel17

This change adds the camera supoorted changes to bring AOHDR feature in
to rel-17.

Change-Id: I39929e0644ce0d3e63c8a6960e2a8c3ebd3596ee
Signed-off-by: sivasubramaniam venkataraman <svenkatarama@nvidia.com>

6 years agoarm: tegra: macallan: set hpa02149 to support oc alert
Tony Liu [Fri, 10 May 2013 10:12:32 +0000]
arm: tegra: macallan: set hpa02149 to support oc alert

-set min_core_online to support oc alert when cpus_online is over this value
-set current_threshold to generate oc alert when current is over this value

Bug 1255452

Change-Id: I9cf760d029e63f5df84222fc01ab5544e5d26086
Signed-off-by: Tony Liu <tonliu@nvidia.com>
Reviewed-on: http://git-master/r/227413
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: sdhci: Pass min,max vcore overrides
Pavan Kunapuli [Wed, 8 May 2013 04:31:42 +0000]
ARM: tegra: sdhci: Pass min,max vcore overrides

Pass minimum and maximum vcore override voltages to be used
during auto tuning.

Bug 1246712

Change-Id: I9d038dcec32fc3592103ab459aa99591ea4a7106
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212683
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agommc: tegra: Set override voltages with dvfs APIs
Pavan Kunapuli [Fri, 17 May 2013 14:18:53 +0000]
mmc: tegra: Set override voltages with dvfs APIs

Set tuning override voltages using dvfs APIs rather than regulators.
During boot, if the minimum override voltage cannot be set, schedule
for retuning.

Bug 1246712

Change-Id: Ie467b4250107c9745d34859ec2a405aa42024186
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212682
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoarm: tegra: panel-lgd-wxga-7-0: Set low brightness when charger-mode boot.
Hyongbin Kim [Thu, 9 May 2013 02:21:15 +0000]
arm: tegra: panel-lgd-wxga-7-0: Set low brightness when charger-mode boot.

Bug 1242042

Change-Id: Idb4824e04e030fb88ce356572f946f95dc260d11
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/226884
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: common: add parsing function of charger mode.
Hyongbin Kim [Thu, 9 May 2013 02:05:49 +0000]
arm: tegra: common: add parsing function of charger mode.

Common fuction used for recognition whether kernel is booted with
charger-mode or not.

Bug 1242042
Bug 1274995

Change-Id: I1a414db726633c7a7c7e282079b89dce9861f5db
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/226883
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: dt: tegra: tegratab: apply E1569 compass orientation
David Yu [Fri, 10 May 2013 08:11:12 +0000]
arm: dt: tegra: tegratab: apply E1569 compass orientation

Change orientation of ERS board according to panel orientation.

Bug 1275247

Change-Id: I6048c78939fdb1540ee78f446d854b83f1cb9cdf
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/227352
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoARM: tegra: mcerr: Use special VPR and SEC registers
Alex Waterman [Mon, 13 May 2013 23:12:58 +0000]
ARM: tegra: mcerr: Use special VPR and SEC registers

When a SEC or VPR error is handled use the correct special registers
for getting client and other info. The regular status register holds
garbage values in these two cases.

Bug 1275219

Change-Id: I6deae41f95bf488696523d9d41f84b63fcaccd92
Reviewed-on: http://git-master/r/228148
(cherry picked from commit 0172c95c1b62193b576658bc25e18c725ce64c6c)
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/230883
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra: dvfs: Add CL-DVFS regulator undershoot guard-band
Alex Frid [Sat, 11 May 2013 03:57:23 +0000]
ARM: tegra: dvfs: Add CL-DVFS regulator undershoot guard-band

Added mechanism to enforce regulator undershoot guard-band when
requesting new CL-DVFS frequency. It is based on already in use
CL-DVFS force mode. The forced voltage value is now limited from
below by (Vmin plus guard-band).

The value of guard-band is specified by Cl-DVFS platform data.
The minimum forced voltage is calculated by applying guard-band to
voltage floors in CL-DVFS Vmin thermal profile (need also to make
sure that forced and safe voltages are not equal to avoid filtering
on entry to close loop mode).

Depending on regulator and board design this guard-band may not be
needed. In this case guard-band value is set to zero.

Bug 1285525

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

6 years agoARM: tegra: dvfs: Separate CL-DVFS force mode enable
Alex Frid [Fri, 10 May 2013 03:39:30 +0000]
ARM: tegra: dvfs: Separate CL-DVFS force mode enable

Separated enabling CL-DVFS force mode from setting force value: first
update force value, and then, after delay, set force mode enable bit.

Note that in closed loop operations force mode is always enabled, so
this separation affects only transition to closed loop.

Bug 1285525

Change-Id: I647168da21663732f2f0bc12ef665abea31da78f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227720
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agomedia:video:tegra:ov5693: Fix wrong setting value
kkim [Tue, 14 May 2013 08:04:10 +0000]
media:video:tegra:ov5693: Fix wrong setting value

LensShading was shown different result in the both
1296x972 and 2592x1944 due to wrong initial setting
value.

Bug 1237002

Change-Id: Ic4b7fba8639358b1031be47deb21ab0c4a9089bd
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/228305
Reviewed-by: Peter Kim <pekim@nvidia.com>
Reviewed-by: Alvin Park <apark@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>

6 years agoarm: tegra: Add power off sequence for 25x16 panel
Vick Yu [Thu, 16 May 2013 08:22:30 +0000]
arm: tegra: Add power off sequence for 25x16 panel

Bug 1287967

Change-Id: I30f13a5f48c0dad0054165d1a7e905aae098e3d5
Signed-off-by: Vick Yu <vyu@nvidia.com>
Reviewed-on: http://git-master/r/229260
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: tegratab: Increase GMA drive up strength
Naveen Kumar Arepalli [Fri, 17 May 2013 09:27:09 +0000]
ARM: tegra: tegratab: Increase GMA drive up strength

Set eMMC pull up drive strength value to 2 on tegratab

Bug 1289113

Change-Id: Id7e74f22e62aa8ea75b2d7415511cadab643ead0
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/229741
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: tegratab: support P1640 gyro/compass orientation
David Yu [Tue, 30 Apr 2013 08:25:49 +0000]
arm: tegra: tegratab: support P1640 gyro/compass orientation

Bug 1278403
Bug 1281967
Bug 1275247

Change-Id: Ic8a190db2356ce63e49635503de0a78fe2528515
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/224157
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: change permission of pinmux debugfs
Andy Park [Mon, 6 May 2013 23:11:19 +0000]
ARM: tegra: change permission of pinmux debugfs

Change the permission of tegra_pinmux debug node to be able to write
to it so that the functionality of changing pinmux configuration is
useful. Also added some instruction for the usages.

Bug 1213934

Change-Id: Iada4f345d95e12ab21e175aae768c146082774b7
Signed-off-by: Andy Park <andyp@nvidia.com>
(cherry picked from commit 1491f7a3bfe4748b3cb96e3f85b2844786f8e917)
Reviewed-on: http://git-master/r/226391
Reviewed-by: Simon Je <sje@nvidia.com>
Tested-by: Simon Je <sje@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

6 years agoARM: Tegra: pinmux: Allow changing setting at runtime
Simon,Je [Mon, 14 Jan 2013 07:55:45 +0000]
ARM: Tegra: pinmux: Allow changing setting at runtime

Through debug fs, changing pimux setting can be done.
ex)
 #echo "HDMI_CEC CEC OUTPUT NORMAL TRISTATE" > /d/tegra_pinmux

Bug 1213934

Change-Id: Ie1f7146ee5e5e7a9194cf140c6e4d75c2c5143b2
Signed-off-by: Simon,Je <sje@nvidia.com>
(cherry picked from commit 71c8ae1dc2b1f0f0afe902077a109a20c3d8f6f8)
Reviewed-on: http://git-master/r/226390
Reviewed-by: Andy Park <andyp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

6 years agonet: wireless: bcmdhd: new driver version 1.28.28.2
bibhayr [Wed, 15 May 2013 06:47:19 +0000]
net: wireless: bcmdhd: new driver version 1.28.28.2

- Fixed Miracast discovery issue after P2P disconnection.
- Fixed P2P action frame issue when multiple P2P IEs are in the probe response.
- BW allocation for VSDB
- Support offset for RSSI report

Bug 1282833
Bug 1282700

Change-Id: Ia45f496711f3775858de38e1c7e3c762d2f58828
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/228683
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agostaging: iio: light: cm3217: fix compile warnings
Sri Krishna chowdary [Thu, 16 May 2013 10:05:26 +0000]
staging: iio: light: cm3217: fix compile warnings

1. Remove unused variable 'lpi'
2. Initialise uninitialised variable i to 0
3. queue_work needs type 'struct work_struct' not type 'struct delayed_work*',
Hence, replace report_work with report_work.work

Bug 949219

Change-Id: Ic623235210d1ca3d2c548ab9f0766d0c60d17efd
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/229291
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra: tegratab: Consider host1x register by device tree
Min-wuk Lee [Thu, 16 May 2013 07:05:50 +0000]
arm: tegra: tegratab: Consider host1x register by device tree

When host1x and its clients are registered by device tree,
need to skip platform_device_register way.

Bug 1240921

Change-Id: I6fe4e86cbaeeb3eef8c1d0688d97927dadd95d31
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/229239
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: dts: tegratab: DT node enable for host1x and its clients.
Min-wuk Lee [Thu, 16 May 2013 06:58:03 +0000]
ARM: dts: tegratab: DT node enable for host1x and its clients.

Bug 1240921

Change-Id: I0666d38a829e4a06a231dbd8e71a7289c4137eac
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/229235
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: add DT support
Min-wuk Lee [Wed, 24 Apr 2013 02:31:07 +0000]
video: tegra: host: add DT support

- this commit adds the infrastructure to parse and
allocate device from DT
- it also adds support to parse and add resources from DT
into the newly allocated device
- it also matches the device and drivers using .compatible
property
- of_platform_populate() assigns platform_bus as host1x parent, so
condition in nvhost_get_parent() was modified

bug 1041377
bug 1240921

Change-Id: I3373b5fb48e417e14f819d15e33f94ea1efb6194

Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/145937
(cherry picked from commit 83de44b147fd9582f73fb3f1aec105c6bcebbd3e)
Change-Id: Id53db1638ea02e7d19bee3c020c43051c74e4365
Reviewed-on: http://git-master/r/229228
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: Fix nvhost_device_data parse in case of DT
Min-wuk Lee [Thu, 16 May 2013 06:32:04 +0000]
video: tegra: host: Fix nvhost_device_data parse in case of DT

If host1x and its client are registered by device tree,
fix of parsing nvhost_device_data in vi module is needed.
Both DT and non-DT can utilize general platform_get_drvdata

Bug 1240921

Change-Id: I2ac2105091b864f8c5bf83f24cb747998f4f0be9
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/229222
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agokernel: power: qos: export qos routine
David Jung [Sat, 11 May 2013 02:26:26 +0000]
kernel: power: qos: export qos routine

Maxim code drop to export pm_qos_update_request_timeout. The maxim touch driver needs this if it's compiled as a module.

Bug 1270691

Change-Id: I1fbc5fc045a6892d8eeb7e810b806793589b7273
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/227705
Reviewed-by: Paul Walmsley <pwalmsley@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: introduce reset reason retrieval sysfs
Andy Park [Wed, 17 Apr 2013 00:25:46 +0000]
ARM: tegra: introduce reset reason retrieval sysfs

add tegra_rst_reason under kernel sysfs in order to track reset
related information from PMC and PMIC. Although this change only
produce sysfs, the mechanism used in this change can be employed for
other usages of reset reason thus it introduces an API for reaching
out reset reasons. PMIC reset data is retrieved from ATAG since
bootloader acquires the information.

Bug 1239765

Change-Id: I32e2a3865a2c436e18c57fa6b775254b738b4d48
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/223517
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: dvfs: Increase number of rail stats bins
Alex Frid [Tue, 14 May 2013 21:55:14 +0000]
ARM: tegra: dvfs: Increase number of rail stats bins

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

6 years agoARM: Tegra: tegratab: Update max cpu current
Yong Goo Yi [Mon, 13 May 2013 08:20:41 +0000]
ARM: Tegra: tegratab: Update max cpu current

Update max cpu current supported by palmas revision 0xB2B6.
It is changed from 12A(0xB2B5) to 9A(0xB2B6).
There will be no change even though installing revision 0xB2B5
for mass production. We will set this to 9A even for revision 0xB2B5.

Bug 1272601

Change-Id: I89e425852d151cfca7dc761c07c832fa9dfaf41b
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/227861
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agousb: gadget: mtp: increase MTP buffers
Rakesh Bodla [Fri, 8 Mar 2013 12:49:59 +0000]
usb: gadget: mtp: increase MTP buffers

Increase the buffer size to 32KB to improve MTP throughput and
keep the first packet size to 16KB for files greater than 4GB

Bug 1168348
Bug 1216779

Change-Id: I31c78223870b788a67d628005026f6e3608df04f
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/207589
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>