5 years agoarm: tegra: isomgr: init isomgr earlier than display.
Krishna Reddy [Thu, 3 Jan 2013 21:47:40 +0000]
arm: tegra: isomgr: init isomgr earlier than display.

Change-Id: I3b870a9aad9b57d7247457de5aacfe9c95c25ea0
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/188412
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoarm: tegra: dalmore: remove incorrect dpd code
Pritesh Raithatha [Wed, 19 Dec 2012 05:38:32 +0000]
arm: tegra: dalmore: remove incorrect dpd code

Wifi is on SDMMC1(sdhci-tegra.0) and upon wifi power on it is
disabling dpd of SDMMC3(sdhci-tegra.2) which is connected to
external sdcard. That is incorrect so removing this dpd control
code from wifi power on.

Change-Id: Ida2295d56cdcd6c89bcdfd2b603327140deb4c30
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173047
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: pluto: remove incorrect dpd code
Pritesh Raithatha [Tue, 18 Dec 2012 13:27:56 +0000]
arm: tegra: pluto: remove incorrect dpd code

Wifi is on SDMMC1(sdhci-tegra.0) and upon wifi power on it is
disabling dpd of SDMMC3(sdhci-tegra.2) which is connected to
external sdcard. That is incorrect so removing this dpd control
code from wifi power on.

Change-Id: Ia88df5bbcfc546d701a15f050bb3f3a50068d3a2
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173046
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agomisc: nct: add delay when regulator enables
Sri Krishna chowdary [Mon, 31 Dec 2012 12:59:48 +0000]
misc: nct: add delay when regulator enables

Bug 1205034

Change-Id: If5df510d2b2e683f8a6b6c7b431343c1c4b4223e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/187785
(cherry picked from commit 2be11457a857263ee83263484af6294542230076)
Reviewed-on: http://git-master/r/188494
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoinput: misc: cm3218: ensure device is put to low power mode
Sri Krishna chowdary [Wed, 2 Jan 2013 10:03:43 +0000]
input: misc: cm3218: ensure device is put to low power mode

During resume some other device may enable the regulator
and cm3218 although not enabled, is kept in active state.
Ensure device is put into low power state.

Bug 1198671

Change-Id: I54aa60220c76542ebb1eca774cc48983a73711b8
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/187963
(cherry picked from commit 087d166f752c409967246649f1e00cea70e8d3d1)
Reviewed-on: http://git-master/r/188493
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: system_serial_high is initialized properly
Sumit Sharma [Thu, 3 Jan 2013 11:25:16 +0000]
arm: tegra: system_serial_high is initialized properly

Since many tests in kernel_submit are using system_serial_high,
it is initialized properly, so that tests can function properly

Change-Id: I013f04f32843e5dd6aae4b3305b3ad369f549218
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/188268
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agoARM: tegra: dalmore: Turn off DCDC1/2/3 in case system shuts down
Ahung Cheng [Thu, 3 Jan 2013 08:25:40 +0000]
ARM: tegra: dalmore: Turn off DCDC1/2/3 in case system shuts down

Enable DCDC1/2/3 external control to get TPS65913 signal, then these
three rails can be turned off when system shuts down.

Bug 1212493

Change-Id: I098192859529b53182d91c7e2110c051289c2926
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/188218
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra11: dvfs: Add core rail cooling device
Alex Frid [Thu, 27 Dec 2012 22:40:03 +0000]
ARM: tegra11: dvfs: Add core rail cooling device

Implemented core rail cooling device to limit minimum core voltage
at cold temperature.

Bug 1177204

Change-Id: Icfc4144f6124ca2a471bd0637106262be46fce9a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174549
(cherry picked from commit c8cc7f327723a1d34648af4d4f70e7292fa799f7)
Reviewed-on: http://git-master/r/188209
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Add core rail thermal trip-point
Alex Frid [Thu, 27 Dec 2012 20:42:33 +0000]
ARM: tegra11: dvfs: Add core rail thermal trip-point

Added core rail thermal trip-point necessary to limit minimum core
voltage at cold temperature. The respective cooling device has not
been implemented, yet.

Bug 1177204

Change-Id: I15235c9bc1a4184f0ddbde256e47080c359a0566
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174548
(cherry picked from commit 5b1fe9e58f283e64f153a33dfa6e727d9eba06cc)
Reviewed-on: http://git-master/r/188208
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: clock: Update PLLD/D2 cpcon settings
Alex Frid [Fri, 28 Dec 2012 22:21:46 +0000]
ARM: tegra11: clock: Update PLLD/D2 cpcon settings

Bug 1170010

Change-Id: I5b24b0375f8e756d44cd64220ac4655bc0624d2d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187528
(cherry picked from commit 66c1ce82c08b9b0f43a07ad166b1c63291ecd463)
Reviewed-on: http://git-master/r/188213
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agomisc: nct1008: Fix nct1008 reading negative on suspend resume
Diwakar Tundlam [Tue, 18 Dec 2012 23:43:32 +0000]
misc: nct1008: Fix nct1008 reading negative on suspend resume

Do not save standby state in saved config to avoid some unknown race
condition that corrupts it on suspend and resume leading to improper
range setting and negative temperature readings.

Bug 1202277

Change-Id: I043b6c66e6113008756425a68b0e8ffbe95d0cab
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/172516
(cherry picked from commit d9e2cdf83d4e2242197b5b7154391031b3ac63be)
Reviewed-on: http://git-master/r/188442
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agovideo: tegra: dc: report correct device id in traces
Jon Mayo [Thu, 3 Jan 2013 18:09:52 +0000]
video: tegra: dc: report correct device id in traces

Display traces were reporting everything as dc0. This fixes that issue.

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

5 years agodrivers: misc: therm_est: enable run-time trip point change
Hyungwoo Yang [Thu, 3 Jan 2013 00:51:53 +0000]
drivers: misc: therm_est: enable run-time trip point change

Enabled trip point change through sysFs during run-time.

Change-Id: Ibbdd8759cf24033575eda1d5f49b4d736060dab5
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/188136
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoARM: tegra: clock: Reset pll lock detect circuit
Alex Frid [Thu, 20 Dec 2012 04:50:38 +0000]
ARM: tegra: clock: Reset pll lock detect circuit

On Tegra30 and Tegra11 platforms reset pll lock detect circuit
as part of PLL enable sequence.

Bug 1198457

Change-Id: If7239e34791746543e17a1d1b534860ea86e20c4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187387
(cherry picked from commit 62bf29fd79d26f364cfa0d59703b200b91758585)
Reviewed-on: http://git-master/r/188212
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra14x: secondary cpu booting sequence
Seshendra Gadagottu [Wed, 12 Dec 2012 00:25:53 +0000]
ARM: tegra14x: secondary cpu booting sequence

Secondary cpu boot sequence corrected for first time
booting and hot-plug booting. For first time booting
partition power un-gating needs to be done. For hot-plug
booting flow controller needs to be programmed for
SCLK event trigger.

Also fixed the merge issue in tegar11 code, so that
tegra11 hotplug code can be re-used.

Change-Id: I65673fb221b47eb24169d8c8cd7a8ebb1db5dd15
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/174363
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra11x: Fix the timer init sequence
Bo Yan [Wed, 2 Jan 2013 19:14:58 +0000]
ARM: tegra11x: Fix the timer init sequence

The commit b164d4ef breaks T114 because we do need to call
tegra_cpu_timer_init for t114 when ARCH timer is used.

Change-Id: I3f51079ff5f5f0532fc0424381ee44cf5e21a429
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/188060
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Tested-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra11: clock: Update PLLC2/3 VCO limits
Alex Frid [Thu, 20 Dec 2012 04:07:36 +0000]
ARM: tegra11: clock: Update PLLC2/3 VCO limits

Bug 1055552

Change-Id: I4d676172f7a93bedd70d82482d051a1af133e27f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187386
(cherry picked from commit b4379e3cd24726f3c0362d815f10a81705e85940)
Reviewed-on: http://git-master/r/188211
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: roth: Add check for roth machine in initcall
Tom Cherry [Wed, 2 Jan 2013 23:29:44 +0000]
ARM: tegra: roth: Add check for roth machine in initcall

Change-Id: I8e6fd455105e6dde97a6e73a5ccf64bf751277b3
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/188120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomfd: max8907c: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:45:40 +0000]
mfd: max8907c: Use dev_pm_ops for suspend/resume

Modified suspend/resume of max8907c to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Idb562b4ffc909690f219c1ac9cfc7d45201de629
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174281
(cherry picked from commit 7b8337803bca6cf52232754209d8eb1432c17ca8)
Reviewed-on: http://git-master/r/187671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomisc: nct1008: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:29:32 +0000]
misc: nct1008: Use dev_pm_ops for suspend/resume

Modified suspend/resume of nct1008 to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Ic96630b3eafc6056ded9fdf43c8283a7e1617cb0
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174275
(cherry picked from commit 8512c57959ee09769863587a0299acb7d090c62c)
Reviewed-on: http://git-master/r/187670
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomfd: ricoh583: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:27:16 +0000]
mfd: ricoh583: Use dev_pm_ops for suspend/resume

Modified suspend/resume of ricoh583 to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: I5b7659fc4c061df58607841a7c249d0dec98aecd
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174273
(cherry picked from commit 01e012288b66e3387a28a4e698e064064cb31cef)
Reviewed-on: http://git-master/r/187668
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomfd: tps6591x: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:24:08 +0000]
mfd: tps6591x: Use dev_pm_ops for suspend/resume

Modified suspend/resume of tps6591x to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Ibf548c4cbe35ff318e8cb8719f6f289434c04a5c
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174272
(cherry picked from commit da257c5ca7e9e3b28bbfaeb80e496ff278c28e1b)
Reviewed-on: http://git-master/r/187667
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra11: Configure Headset Detection GPIO
Vijay Mali [Sat, 22 Dec 2012 10:40:24 +0000]
ARM: tegra11: Configure Headset Detection GPIO

Use GPIO KB_ROW7 for headset detection on AIC3262
Configure this gpio as pull_up
Update AIC3262 platform data

For bug 1179798

Change-Id: Ieae3d1c319ec0e0d2b103fcb475651b6621242c2
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/173851
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agotegra: asoc: Enable AIC3262 HP detect
ScottPeterson [Thu, 6 Dec 2012 00:21:44 +0000]
tegra: asoc: Enable AIC3262 HP detect

Enable Headphone detection for AIC3262
audio codec.

For bug 1179798

Change-Id: I4107c02d4463ea1d1ac71add7519a946af34ddc6
Signed-off-by: ScottPeterson <speterson@nvidia.com>
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/168880
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: fuse: Registered tegra-fuse device in T114 board files
Sumit Sharma [Mon, 19 Nov 2012 05:48:28 +0000]
arm: tegra: fuse: Registered tegra-fuse device in T114 board files

Registered tegra-fuse platform device in pluto & dalmore board file

Bug 1016464

Change-Id: Ia679f5c34194ccc1f5ca93ec4e3f75e6fab58f89
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/162062
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: Added fuse device register common function
Sumit Sharma [Thu, 8 Nov 2012 09:47:45 +0000]
arm: tegra: Added fuse device register common function

Added fuse platform device registration function

Bug 1016464

Change-Id: I37ea96a1b1030ce1d4bfb25225457865f04fe39e
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/162343
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: fuse: Converted fuse driver into platform driver
Sumit Sharma [Thu, 13 Dec 2012 11:03:48 +0000]
arm: tegra: fuse: Converted fuse driver into platform driver

Converted fuse driver into platform driver
Added fuse device and Makefile changes

Bug 1016464

Change-Id: I041c6741fb7a64b43378f8042bb9970d73b85c76
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/162061
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoarm: tegra: mcerr: fix build error
Seshendra Gadagottu [Wed, 2 Jan 2013 19:46:49 +0000]
arm: tegra: mcerr: fix build error

Fix T148 build error related to mcerr.

Change-Id: I83f9302689b1612313d82e7bf8d475fdda3947e2
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/188066
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agomedia: video: tegra: add isomgr apis
Jihoon Bang [Sat, 1 Dec 2012 03:12:48 +0000]
media: video: tegra: add isomgr apis

Add isomgr apis to request memory bandwidth to
iso manager.

Bug 1169267

Reviewed-on: http://git-master/r/170536
(cherry picked from commit 6438e4298b4edd122d18ddddd007e7d26ecc161a)

Change-Id: I50a0b6c7309a9190eb9ca72a678c5c069491d84c
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/174310
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoARM: tegra11: power: Integrate core EDP 6A limit table
Alex Frid [Wed, 19 Dec 2012 23:31:33 +0000]
ARM: tegra11: power: Integrate core EDP 6A limit table

Bug 1165638

Change-Id: I3a47c9be9998918bae68b1d73b6baf729ef65fc2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172972
(cherry picked from commit e3851170ef45fa77c8b985fb5af0cedc45a3788e)
Reviewed-on: http://git-master/r/187614
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: roth: Add core edp initialization
Alex Frid [Wed, 19 Dec 2012 05:09:02 +0000]
ARM: tegra11: roth: Add core edp initialization

Change-Id: I9ec440bdd1b7279ba52b5d079a7ff389d7be562e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172604
(cherry picked from commit 72d35d921c781da7d1c1a14834af10a3cc7fab86)
Reviewed-on: http://git-master/r/187613
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: pluto: Add core edp initialization
Alex Frid [Wed, 19 Dec 2012 05:07:45 +0000]
ARM: tegra11: pluto: Add core edp initialization

Change-Id: I7c51acc1c2ff9cc62f699b684b41e5060828f206
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172603
(cherry picked from commit 7e1942f9956b5c48d38eb8d4e32222d89d525eda)
Reviewed-on: http://git-master/r/187612
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoinput: misc: cm3218: add shutdown functionality
Sri Krishna chowdary [Thu, 20 Dec 2012 14:23:35 +0000]
input: misc: cm3218: add shutdown functionality

Bug 1203781

Change-Id: Ibfa339ef801b1cb730409bd4657c16e4d669c558
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173151
(cherry picked from commit ecc4e2210acde46a655433b33aa5fa1bec9b8cf6)
Reviewed-on: http://git-master/r/187780
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agomisc: bluedroid_pm: add wake_lock support
Nagarjuna Kristam [Thu, 20 Dec 2012 16:21:27 +0000]
misc: bluedroid_pm: add wake_lock support

Use wake locks when bluetooth communication is on-going to dis-allow
system suspend

Bug 1205772

Change-Id: I57d4286ef6a7ae7d246bd0cbd53db68afa832827
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/173177
(cherry picked from commit 113a9e90c82a991e293580119fb6df1882f9da84)
Reviewed-on: http://git-master/r/174406
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

5 years agovideo: tegra: moving to clk prepare APIs
Sivaram Nair [Mon, 17 Dec 2012 15:47:16 +0000]
video: tegra: moving to clk prepare APIs

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

This is needed for the migration to common clk framework.

Bug 920915

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

5 years agoARM: tegra: fix whitespace
Sudhir Vyas [Thu, 27 Dec 2012 05:55:19 +0000]
ARM: tegra: fix whitespace

Was: ARM: tegra: ceres: Add sensors and focuser support

Add board file support for sensors (imx091 and imx132)
and focuser (ad5816).

Bug 1180011
Bug 1180018

Change-Id: Ib029bd75a2c8cfe959c1fddcfb016e0c64b9b137
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/174388
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoarm: tegra: pismo: addition of board support files
Bibek Basu [Wed, 26 Dec 2012 09:26:50 +0000]
arm: tegra: pismo: addition of board support files

Addition of board support files for T114 pismo platform

Bug 983268

Change-Id: I7e2695a092501d8c8a772ebc8010e8d941689c63
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/174253
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: Tegra: Use relaxed register access
Antti P Miettinen [Fri, 7 Dec 2012 21:32:42 +0000]
ARM: Tegra: Use relaxed register access

No need to include heavy barriers for register access.

Change-Id: I55c664e196ec02a352b705a528882797169a1309
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/169492
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoARM: tegra: fix out-of-bounds write
Deepak Nibade [Fri, 7 Dec 2012 12:39:11 +0000]
ARM: tegra: fix out-of-bounds write

Fix Coverity issue
Coverity id : 21342
Coverity id : 21343
Coverity id : 21344

Bug 1046331

Change-Id: I7a990f4cf36020a416f5cf029a8874fe07dbf389
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/169387
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

5 years agoARCH: ARM: CONFIG: Update Dalmore MODS defconfig for T114
Vivek Aseeja [Thu, 27 Dec 2012 19:48:12 +0000]
ARCH: ARM: CONFIG: Update Dalmore MODS defconfig for T114

- Disable Cache_L2X0 config option for MODS kernel build on T114 since its not reqiured.
Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Change-Id: I16d0cee0444e07c895c96206d6ed55a6d937b630
Reviewed-on: http://git-master/r/174536
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Tope Yang <topey@nvidia.com>

5 years agoarm: tegra: mcerr: add proper t148 support
Alex Waterman [Tue, 18 Dec 2012 18:11:50 +0000]
arm: tegra: mcerr: add proper t148 support

Add proper T148 support to the MC error framework.

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

5 years agokernel: Fix build breaks
Prashant Malani [Fri, 21 Dec 2012 03:10:29 +0000]
kernel: Fix build breaks

Fix build breaks caused by :-
- un-defined macro
- unused variable
- missing header include

Change-Id: I8497230dc9f1cd8cb4119e6a800c0a63c4a445f1
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/174328
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoarm: tegra : enable pismo platform
Bibek Basu [Wed, 26 Dec 2012 09:57:19 +0000]
arm: tegra : enable pismo platform

enable Pismo platform in terga11_defconfig

Bug 983268

Change-Id: I14e0383e777f53d0fe2ec139d633bca14854fa40
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/174255
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: config: tegra11: enable AIC3262 Audio codec
Vijay Mali [Sat, 22 Dec 2012 08:30:13 +0000]
ARM: config: tegra11: enable AIC3262 Audio codec

Enable AIC3262 audio codec.

For bug 1179798

Change-Id: I4f1555bdc7bfb499e944077d3bbe6d38cdb5efdf
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/172350
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoasoc: tegra: AIC3262 codec support for Pluto
Vijay Mali [Tue, 18 Dec 2012 14:20:27 +0000]
asoc: tegra: AIC3262 codec support for Pluto

Add config for selecting AIC3262 codec on Pluto.
Update AIC3262 machine driver for Pluto.
Add DMIC support.
Add music and voice call connections.

For bug 1179798

Change-Id: Ia1901c45c93d93ceea7b37d6498ac8e90e537466
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/172349
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: tegra11: Support AIC3262 Audio Codec
Vijay Mali [Mon, 26 Nov 2012 14:04:28 +0000]
ARM: tegra11: Support AIC3262 Audio Codec

Add platform data for AIC3262 Auio codec.
Add and register i2c client for this codec.

For bug 1179798

Change-Id: Ia7b7c4cfbd7827aaff320b745646ed8fcc28d801
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/166206
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: tegra: Fix build break for CONFIG_SMP=n
Bharath H S [Mon, 19 Nov 2012 12:31:01 +0000]
ARM: tegra: Fix build break for CONFIG_SMP=n

tegra_cpu_timer_init is defined if CONFIG_HAVE_ARM_TWD
is enabled. Making sure it is called if CONFIG_HAVE_ARM_TWD
is enabled.

tegra_cpu_late_timer_init is defined if CONFIG_HAVE_ARM_TWD
or CONFIG_ARCH_TIMER is enabled. Making sure it is called if
CONFIG_HAVE_ARM_TWD or CONFIG_ARCH_TIMER is enabled.

bug 1162701

Signed-off-by: Bharath H S <bhs@nvidia.com>
Change-Id: I33603406d34f7e1a01fd124e69a51f0ab6ba0169
Reviewed-on: http://git-master/r/164708
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: tegra: add GPIO device tree support for dalmore
Pritesh Raithatha [Thu, 20 Dec 2012 05:52:42 +0000]
ARM: tegra: add GPIO device tree support for dalmore

With device tree GPIO device is added from dtb file so we need to remove
GPIO device registration from board file.

Many peripheral devices depend on tegra GPIO device. So GPIO device
must be added before we add these peripheral devices.
For that existing init function is divided into two functions:
1) early_init: called before of_platform_populate and
2) late_init: called after of_platform_populate

Bug 1171552

Change-Id: I461f5c48ca7fcdd29d962d147d7e2683edc019f5
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173041
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: tegra: make use of single board and panel info across file
Pritesh Raithatha [Thu, 20 Dec 2012 12:28:00 +0000]
ARM: tegra: make use of single board and panel info across file

Change-Id: Idb98d121199fdd3fc11927471a04de3877b6c2fa
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173131
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: tegra: add GPIO device tree support for pluto
Pritesh Raithatha [Thu, 20 Dec 2012 05:41:15 +0000]
ARM: tegra: add GPIO device tree support for pluto

With device tree GPIO device is added from dtb file so we need to remove
GPIO device registration from board file.

Many peripheral devices depend on tegra GPIO device. So GPIO device
must be added before we add these peripheral devices.
For that existing init function is divided into two functions:
1) early_init: called before of_platform_populate and
2) late_init: called after of_platform_populate

Bug 1171552

Change-Id: I877c7d2214dae1b4cfc1b4f92cbcde19e6d928d7
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173040
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: dts: tegra: enable GPIO device tree support for dalmore
Pritesh Raithatha [Thu, 20 Dec 2012 05:18:52 +0000]
ARM: dts: tegra: enable GPIO device tree support for dalmore

Bug 1171552

Change-Id: I7cd1d15f0e1a95e6114841501e93b5dee88b0d7b
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173039
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: dts: tegra: enable GPIO device tree support for pluto
Pritesh Raithatha [Thu, 20 Dec 2012 05:17:08 +0000]
ARM: dts: tegra: enable GPIO device tree support for pluto

Bug 1171552

Change-Id: I165c77e761b4eeb51e5631dfeaf0293e98d260bf
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173038
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: phy:remove turning off PMC pad detector
Rakesh Bodla [Fri, 21 Dec 2012 10:40:57 +0000]
ARM: tegra: phy:remove turning off PMC pad detector

Remove the turning off the PMC pad detector
for USB port 3. This is not needed and it is
overriding the neccessary values which are
already programmed.

Bug 1181571

Reviewed-on: http://git-master/r/173612
(cherry picked from commit 7a21472fe2306b89b5dd3adfd0e618d3a9fdb6f0)

Change-Id: I54c78ca5e057203e1940c7dd506827b632efd4d8
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/174382
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: tegra11: dvfs: EDP freq granularity to follow CPU dvfs tables
Diwakar Tundlam [Fri, 21 Dec 2012 06:15:04 +0000]
ARM: tegra11: dvfs: EDP freq granularity to follow CPU dvfs tables

Bug 1170986
Bug 1161126

Change-Id: I8d83903a58d9099fec7b04fadc558244177ebbbb
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/173531
(cherry picked from commit f5e680768419f7e50f1ba9420e92d25ba0644327)
Reviewed-on: http://git-master/r/174343
Reviewed-by: Automatic_Commit_Validation_User

5 years agoarm: tegra: pluto: Fix suspend/resume for 1080p Sharp
Animesh Kishore [Mon, 24 Dec 2012 11:20:46 +0000]
arm: tegra: pluto: Fix suspend/resume for 1080p Sharp

Fix power off/on sequence for 1080p Sharp panel.

Bug 1201597

Change-Id: Iad16c22df0bf8fdb4f38a1d7ca29b75b49c381b7
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/174115
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoinput: misc: cm3218: ensure device's initial state
Sri Krishna chowdary [Sat, 22 Dec 2012 06:14:34 +0000]
input: misc: cm3218: ensure device's initial state

Bug 1198671

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

5 years agoarm: tegra: display: handle fbmem2 cmdline parameter
Jong Kim [Thu, 13 Dec 2012 00:07:54 +0000]
arm: tegra: display: handle fbmem2 cmdline parameter

Parse and handle fbmem2 cmdline parameter.

bug 1175957

Change-Id: I0933825371bf13782e9f4364a4dba078929ae836
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/170662
Reviewed-on: http://git-master/r/172868
(cherry picked from commit 7959de63b20530d1c13e1fca2f01ad2cb614ded9)
Reviewed-on: http://git-master/r/173773
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoarm: tegra: display: provide framebuffer clear function
Jong Kim [Thu, 13 Dec 2012 00:01:39 +0000]
arm: tegra: display: provide framebuffer clear function

Add tegra_clear_framebuffer function.

bug 1175957

Change-Id: I12c249e011ecd839bbe9c5371b8be6e8a4b27bba
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/170661
Reviewed-on: http://git-master/r/172867
(cherry picked from commit 128803a7d97789a2916ab7ef498e19ecd5e7ad07)
Reviewed-on: http://git-master/r/173772
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoinput: misc: Changed sysfs permissions
Sumit Sharma [Thu, 13 Dec 2012 09:41:27 +0000]
input: misc: Changed sysfs permissions

Allow only root to write in sysfs

Bug 1179366

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

5 years agoARM: tegra: usb_phy: Disable PMC when resume from LP0
Suresh Mangipudi [Wed, 19 Dec 2012 11:36:38 +0000]
ARM: tegra: usb_phy: Disable PMC when resume from LP0

Disable PMC during the resume of the device from LP0.

Bug 1201939

Change-Id: Idf76338d83b11aec5a56130af8bd795af339a8d1
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/172768
(cherry picked from commit 87eb634dbfe05c8f5d46ee044ab2f3062e073851)
Reviewed-on: http://git-master/r/173329
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoRevert "video: tegra: nvavp: Disable powergating of VDE"
Jaiprakash Khemkar [Fri, 14 Dec 2012 08:08:09 +0000]
Revert "video: tegra: nvavp: Disable powergating of VDE"

This reverts commit 09e38b074d327b2acadbd6c5ca5c745021efb3a9.

* Below changes takes care of enabling the clocks just before
  programming the key to VDE for widevine
  http://git-master/r/#change,169007
  http://git-master/r/#change,169008

  Bug 1190582

Change-Id: Ib127760375a5f073a927e80a7735f9455be69d18
Signed-off-by: Jaiprakash Khemkar <jkhemkar@nvidia.com>
Reviewed-on: http://git-master/r/171337
(cherry picked from commit c27103c60370a1a62336a7e47a5d225d2c136acc)
Reviewed-on: http://git-master/r/173316
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoarm: tegra: dalmore: Fix AUO panel config
Animesh Kishore [Thu, 20 Dec 2012 13:30:22 +0000]
arm: tegra: dalmore: Fix AUO panel config

-fix panel timing
-fix regulators
-fix gpios
-fix phy timings

Change-Id: I402f08bd045b61546775fad1800aa0ba56279116
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/173141
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agogpio: tegra: add tegra114 compatiblity to of_match_table
Pritesh Raithatha [Thu, 20 Dec 2012 11:47:31 +0000]
gpio: tegra: add tegra114 compatiblity to of_match_table

Bug 1171552

Change-Id: Ice3e1750d6c046f8e4f644377ec0614de46e4c80
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173117
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoinput: touch: atmel: Update Ftrace logging.
Vikas Jain [Fri, 14 Dec 2012 10:33:51 +0000]
input: touch: atmel: Update Ftrace logging.

With recent changes in driver, tracing was bypassed.
Update tracing point to reflect correct data.

Bug 1170830

Change-Id: I6b9dd5cf87a3a259f037287f0676211b80d8fa33
Signed-off-by: Vikas Jain <vjain@nvidia.com>
Reviewed-on: http://git-master/r/171387
(cherry picked from commit 1a1fdf7d605249299692ba1802b47873450e3009)
Reviewed-on: http://git-master/r/172806
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: thermal: enable skin throttle for new thermal framework
Hyungwoo Yang [Tue, 18 Dec 2012 22:15:58 +0000]
ARM: tegra: thermal: enable skin throttle for new thermal framework

Modified skin throttling to make it compatible with new thermal
framework from kernel 3.7

Bug 1158323

Change-Id: I3acbdf87a055ad54ab5bb918d61598690b2eaeac
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/172481
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agodrivers: misc: therm_est: support new thermal framework
Hyungwoo Yang [Mon, 17 Dec 2012 19:58:35 +0000]
drivers: misc: therm_est: support new thermal framework

Modified thermal estimator to make it compatible with new thermal framework
which is backported from kernel 3.7

Bug 1158323

Change-Id: Idad7c07f9da5f68e75d71f0031e4f80f107a22d9
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/172470
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agomedia: tegra: moving to clk prepare APIs
Sivaram Nair [Mon, 17 Dec 2012 15:43:52 +0000]
media: tegra: moving to clk prepare APIs

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

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I27bee59419cd50b77cb5a7ac6295d0d8e6c80eed
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/172209
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrew Chew <achew@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoarm: tegra: configs: enable pismo platform
Syed Rafiuddin [Tue, 18 Dec 2012 15:10:06 +0000]
arm: tegra: configs: enable pismo platform

Enable pismo platform in tegra11_defconfig

Change-Id: I0b8ebe41ba6116074b4df96318a7738352fa3594
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/170126
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agomisc: bluedroid_pm: set default state to is_blocked during probe
Nagarjuna Kristam [Tue, 11 Dec 2012 11:30:16 +0000]
misc: bluedroid_pm: set default state to is_blocked during probe

is_blocked parameter assigned to '0' during probe function call.
Value '0' is blocked state and default rfkill state is un-blocked.
This causes mis-match between software and hardware states.

Bug 1195747

Change-Id: I132a9ddaaca295e7a495ae7683eb5e4523750582
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/172998
(cherry picked from commit 236709f23e842b994c423c4930ae856b2d2f515c)
Reviewed-on: http://git-master/r/170093
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: dc: clean up CMU config option
Jon Mayo [Wed, 5 Dec 2012 01:32:49 +0000]
video: tegra: dc: clean up CMU config option

Use CONFIG_TEGRA_DC_CMU to control the support for color management unit.

Change-Id: I6994b9b2a69b31ccf59f943ef40af8798db2cc12
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/168799
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoarm: tegra: timer: add DT support for local timer
Sri Krishna chowdary [Fri, 30 Nov 2012 15:16:53 +0000]
arm: tegra: timer: add DT support for local timer

Bug 1173031

Change-Id: I92d5cbf5f24827580403120477799cf5ee1ad838
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/167941
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoARM: dts: tegra: add device tree node for GPIO
Sri Krishna chowdary [Wed, 5 Dec 2012 16:28:33 +0000]
ARM: dts: tegra: add device tree node for GPIO

Bug 1171552

Change-Id: I851eb5903711272bc4d6c3c50eb016a2a56a71ad
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/162568
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomedia: video: tegra: fix test pattern generator
Prayas Mohanty [Fri, 14 Dec 2012 12:08:55 +0000]
media: video: tegra: fix test pattern generator

* enable and disable pll_d2_clk for
camera test-pattern-generator.

Bug 1168336

Change-Id: Idf9de761b4cbacf89549e9743b3d9db330861029
Signed-off-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-on: http://git-master/r/162014
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agogpio: add ams as3720 gpio driver
Syed Rafiuddin [Tue, 18 Dec 2012 15:09:36 +0000]
gpio: add ams as3720 gpio driver

addition of AMS as3720 gpio driver

Change-Id: I5cb19131fb014303d46b162f24eec5c43121c4db
Signed-off-by: Victor Weinstein <vweinstein@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/146199
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agoregulator: add ams as3720 regulator driver
Syed Rafiuddin [Tue, 18 Dec 2012 15:09:05 +0000]
regulator: add ams as3720 regulator driver

addition of AMS as3720 regulator driver

Change-Id: I33a7b1bcc3a9321ed45e8881840bdaf483c376c3
Signed-off-by: Victor Weinstein <vweinstein@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/146198
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agortc: add ams as3720 rtc driver
Syed Rafiuddin [Tue, 18 Dec 2012 15:08:31 +0000]
rtc: add ams as3720 rtc driver

addition of AMS as3720 rtc driver

Change-Id: Ie8737a1d29d02b8e129d888f77210dd3da96c6dc
Signed-off-by: Victor Weinstein <vweinstein@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/146197
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agomfd: add ams3720 pmic driver
Syed Rafiuddin [Tue, 18 Dec 2012 15:07:40 +0000]
mfd: add ams3720 pmic driver

addition of AMS ams3720 pmic driver

Change-Id: Iea0321ec807caeb7c4388e58a02422321bf56ede
Signed-off-by: Victor Weinstein <vweinstein@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/146196
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

5 years agotegra11: clocks: Fix kernel crash for audio clock
Ravindra Lokhande [Tue, 18 Dec 2012 11:56:04 +0000]
tegra11: clocks: Fix kernel crash for audio clock

Kernel crash observed for T148 after new audio clocks changes are
 enabled.

Change-Id: Icbff6484f4d28a4a26b7382ec357735501580be9
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/172301
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agosound: soc: tegra: add max98090 machine driver
Andy Park [Thu, 15 Nov 2012 22:29:02 +0000]
sound: soc: tegra: add max98090 machine driver

Add max98090 machine driver

Bug 1011167

Change-Id: If8328b8f0a438350cdbc80702de9ab3fc6aba95d
Signed-off-by: Andy Park <andyp@nvidia.com>
(cherry picked from commit b98c6bff61758658e52e0083eee87ae38e9ce41a)
Reviewed-on: http://git-master/r/171661
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Tested-by: Gaurav Sarode <gsarode@nvidia.com>

5 years agoARM: tegra: pinmux: Add pinmux for MIPI_BIF
Chaitanya Bandi [Tue, 30 Oct 2012 09:12:43 +0000]
ARM: tegra: pinmux: Add pinmux for MIPI_BIF

Bug 1022139

Change-Id: I5714e73d8e4f8cdf21f78bd4966c29595e028748
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/172608
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

5 years agomipi_bif: Add device_id for mipi_bif
Chaitanya Bandi [Fri, 5 Oct 2012 09:51:02 +0000]
mipi_bif: Add device_id for mipi_bif

Bug 1022139

Change-Id: I06c0f628533cbad299914a5784249b4c2a654582
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/172607
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoARM: tegra: Add MIPI_BIF base address
Chaitanya Bandi [Tue, 30 Oct 2012 08:45:55 +0000]
ARM: tegra: Add MIPI_BIF base address

Bug 1022139

Change-Id: I5750305239bdb36e17e6700cb89e78ed97f3c935
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/172606
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

5 years agoARM: tegra: Add irq for MIPI_BIF
Chaitanya Bandi [Tue, 30 Oct 2012 08:39:41 +0000]
ARM: tegra: Add irq for MIPI_BIF

Bug 1022139

Change-Id: I8f5ffd5496350e7fe08d7d931b9e5dfbf3a2a3a9
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/172605
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoARM: tegra: t14x: flush complete outer cache
Seshendra Gadagottu [Thu, 13 Dec 2012 00:37:21 +0000]
ARM: tegra: t14x: flush complete outer cache

T14x has outer cache per cluster. So flush complete
outer cache before doing cluster switch and do the
complete outer cache initialization after cluster switch.

Change-Id: I8ca5bddcdb3755244accfa9062abdf1ecee7d7c1
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/172029
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

5 years agoARM: tegra14x: Cpuidle driver for t14x
Seshendra Gadagottu [Tue, 13 Nov 2012 23:10:12 +0000]
ARM: tegra14x: Cpuidle driver for t14x

Created new cpuidle driver for t14x. It is
derived from t11x and t30 cpuidle drivers.
This fixes cpu idle functionality on
dev-chips branch.

Bug 1168135

Change-Id: Ia446802cb84e130feead64bcde72ff33597e7985
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/172028
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

5 years agomedia: video: tegra: imx091 on Dolak
Prayas Mohanty [Sat, 1 Dec 2012 09:31:51 +0000]
media: video: tegra: imx091 on Dolak

* Make driver nvc compatible.
* Add sensor mode for FPGA.

Bug 1053557

Change-Id: I879ac5412022382546adbae0258ba8a8f004bccb
Signed-off-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-on: http://git-master/r/171887
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

5 years agosound: soc: codecs: add max98090 audio codec
Andy Park [Thu, 15 Nov 2012 22:21:52 +0000]
sound: soc: codecs: add max98090 audio codec

Add max98090 codec driver

Bug 1011167

Change-Id: I336bdd5e2ed1d669a1c27e4b895d1a53edcda862
Signed-off-by: Andy Park <andyp@nvidia.com>
(cherry picked from commit 90db09abb63c7ead897312ec11a6674f56b9f6e9)
Reviewed-on: http://git-master/r/171660
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Tested-by: Gaurav Sarode <gsarode@nvidia.com>

5 years agoUPSTREAM Revert 3.8 "ASoC: Add max98090 codec driver"
Dan Willemsen [Wed, 31 Jul 2013 02:41:52 +0000]
UPSTREAM Revert 3.8 "ASoC: Add max98090 codec driver"

This reverts commit 83f7cbc43b623d8498b2b542f0dfb9d9f67db2fd.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.9 "ASoC: Replace max98090 Device Driver"
Dan Willemsen [Wed, 31 Jul 2013 02:41:03 +0000]
UPSTREAM Revert 3.9 "ASoC: Replace max98090 Device Driver"

This reverts commit 7e3bb169ff20972b7c238a9fda108b94e7cb9df0.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.9 "ASoC: Replace max98090 Device Driver"
Dan Willemsen [Wed, 31 Jul 2013 02:40:45 +0000]
UPSTREAM Revert 3.9 "ASoC: Replace max98090 Device Driver"

This reverts commit 685e42154dcf3f6c0a52c115bd15e3d28ad8621b.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.9 "ASoC:: max98090: Remove executable bit"
Dan Willemsen [Wed, 31 Jul 2013 02:40:13 +0000]
UPSTREAM Revert 3.9 "ASoC:: max98090: Remove executable bit"

This reverts commit 4480764f57ba494e3f64003e13223c0b5ec6a2ca.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra11x: CPU1-3 start up fix
Chandler Zhang [Fri, 7 Dec 2012 05:32:08 +0000]
ARM: tegra11x: CPU1-3 start up fix

The first time when a CPU powers up in kernel, it has to be
done by directly toggling PMC register.

Remove the flowctrl_write_cpu_halt() call.

Bug 1191165

Change-Id: I22cabf0a10ae24af568ac317b241cefb8ba59fae
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/170970
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra: ceres: Enable MAX77660 PMIC support
Pradeep Goudagunta [Wed, 19 Dec 2012 10:53:15 +0000]
ARM: tegra: ceres: Enable MAX77660 PMIC support

Enable Max77660 MFD, regulator, gpio and rtc support.

Bug 1178631

Change-Id: Ib515b3e6fcb2e9d20eddb1c76c45688ba518b1cc
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/172712
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra: disable Cache_L2X0 for L4T
Kerwin Wan [Wed, 19 Dec 2012 02:47:42 +0000]
arm: tegra: disable Cache_L2X0 for L4T

Disable the Cache_L2X0 for L4T to fix build break on T11x

Bug 1199787

Change-Id: I2e35dd20988471de3e827ebd28ce2ae793c15c7f
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/172300
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agopower: Add max77660 charger driver
Pradeep Goudagunta [Tue, 4 Dec 2012 12:18:04 +0000]
power: Add max77660 charger driver

Adding charged driver support for MAX77660 PMIC.

Bug 1178638

Change-Id: Id649b38fec035d9d1dac9b3065964512ad95a91f
Signed-off-by: Chris Ye <chris.ye@maximintegrated.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/166158
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

5 years agoarm: configs: tegra: ceres: interposer support
Sachin Nikam [Thu, 6 Dec 2012 07:28:37 +0000]
arm: configs: tegra: ceres: interposer support

Adding MACH_CERES to t114 defconfig for interposer board support.

Bug 1165178

Change-Id: Ic08e1bc647be0ace3ded1026123bc1c6e4c781e8
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/168991
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

5 years agoARM: tegra14: enable PL310 L2 cache
Seshendra Gadagottu [Wed, 5 Dec 2012 06:15:09 +0000]
ARM: tegra14: enable PL310 L2 cache

Add the changes to enable PL310 L2 cache in
the kernel for T14X.
Also corrected legacy register programming to
access PL310 register interface.

bug 1189599

Change-Id: I9752893db4aeabcb96e0a8b8cd1a90829b50b12b
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/168621
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

5 years agoARM: tegra: iomap: Add PL310 map for t14x
Seshendra Gadagottu [Wed, 5 Dec 2012 03:55:52 +0000]
ARM: tegra: iomap: Add PL310 map for t14x

Bug 1189599

Change-Id: If83191ac5a6c63a6f049f163ecb1c7efedc4983a
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/168602
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agostaging: nvshm: fix kernel crash on nvshm restart
Martin Chabot [Mon, 3 Dec 2012 09:49:03 +0000]
staging: nvshm: fix kernel crash on nvshm restart

Bug 1050840
Bug 1166953

Signed-off-by: Martin Chabot <mchabot@nvidia.com>
Change-Id: I826d2751ad42ad42563d9d2b1450376ed1920897
Reviewed-on: http://git-master/r/168046
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Greg Heinrich <gheinrich@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agopower: Add max77660 fuel-gauge driver
Pradeep Goudagunta [Tue, 4 Dec 2012 12:13:12 +0000]
power: Add max77660 fuel-gauge driver

Adding Fuel gauge support for MAX77660 PMIC.

Bug 1178638

Change-Id: Id2a3fc4f227e3ecc804356b279d46092760be4dd
Signed-off-by: Chris Ye <chris.ye@maximintegrated.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/166159
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>