7 years agoarm: tegra: pluto: Fix panel cold boot failure
Animesh Kishore [Fri, 21 Sep 2012 04:38:21 +0000]
arm: tegra: pluto: Fix panel cold boot failure

Fixing broken panel display for cold boot.

Bug 1051891

Reviewed-on: http://git-master/r/134264
(cherry picked from commit 8b96e8936553e942e8b9f8f5fc2fde7acad251fb)

Change-Id: Iebe917c206a46281334affbdae0a1a8f56a83eef
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143132
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: architected timers: Fix function annotation
Bo Yan [Thu, 20 Sep 2012 18:33:10 +0000]
ARM: architected timers: Fix function annotation

change annotation of arch_timer_sched_clock_init to match its caller
setup_sched_clock

Reviewed-on: http://git-master/r/134150
(cherry picked from commit 2c5ef098bb6b51c194ef012ad67c620a1f32f97d)

Change-Id: I2ef91ba99248204752a83aad19981c4af1330bf1
Signed-off-by: Bo Yan <byan@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143131
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: pluto: correct set voltage
Pradeep Goudagunta [Fri, 21 Sep 2012 00:43:23 +0000]
ARM: tegra: pluto: correct set voltage

regulator set voltage takes uV as inputs not mV.

Reviewed-on: http://git-master/r/134234
(cherry picked from commit e62863e2807067214890687394ef8869bf0effa1)

Change-Id: Iaabff4146cb0ab5906dbe0a7c1c77e016b775318
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143130
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoasoc: tegra: Fix for no audio issue
Vijay Mali [Thu, 20 Sep 2012 21:39:07 +0000]
asoc: tegra: Fix for no audio issue

Reviewed-on: http://git-master/r/134171
(cherry picked from commit 31f7ac77f844976fe809a52828dfcf3e440cfb34)

Change-Id: I2a57ec87aae94deba4b4f9e4eddc54e14ecd8a7d
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143129
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: dsi: Disable syncpt use
Animesh Kishore [Thu, 20 Sep 2012 21:47:28 +0000]
video: tegra: dsi: Disable syncpt use

Use polling instead of syncpt.

Bug 1051903

Reviewed-on: http://git-master/r/134176
(cherry picked from commit 3c7671a1c7a8be7bdfe60e472f0757024400d538)

Change-Id: I2ba45170c804bb20de2da474aaa07040e213741a
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143128
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra11: clock: Round down CPU rate when run on pll
Alex Frid [Wed, 19 Sep 2012 20:36:21 +0000]
ARM: tegra11: clock: Round down CPU rate when run on pll

Maximum rate for CPU clock is determined When dfll is CPU clock
source. It cannot be achieved if CPU is running on pll. Round
down CPU rate request in the latter case, respectively, to avoid
dvfs max voltage violation errors.

Reviewed-on: http://git-master/r/133968
(cherry picked from commit 628231ca70f92a2f7a772a3e2669faa5ca09a179)

Change-Id: Ia827b07af7d5113f08f0575176e6de7db3a0f370
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143127
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: cluster switch for T11x
Bo Yan [Thu, 20 Sep 2012 01:19:37 +0000]
ARM: tegra: cluster switch for T11x

1. for secondary CPU, always flush L1 only, this is irrespective of
   Cortex A9 or Cortex A15

2. disable cache before flushing it when rail-gating CPU0

3. do not flush cache before entering ARM common code cpu_suspend,
   which by itself will flush cache.

Still, it's highly desirable to flush cache in __cpu_suspend_save,
since this will flush L2 irrespective of A9 or A15.

Reviewed-on: http://git-master/r/133945

Change-Id: I2c6eb20546b5fc8b5432dc73c2f97480cbf29ee8
Signed-off-by: Bo Yan <byan@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143126
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoarm: tegra: pluto: Fix panel display orientation
Animesh Kishore [Thu, 20 Sep 2012 18:12:25 +0000]
arm: tegra: pluto: Fix panel display orientation

Rotate default panel orientation by 180 degrees.

Reviewed-on: http://git-master/r/134123
(cherry picked from commit 927becf17d1f4994f7ec85aec6ba2c6e78afe070)

Change-Id: I8754ccd617a3778eb76e7e5053f6204299c0e931
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143125
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoarch: arm: config: Update MODS defconfig
Krishna Monian [Thu, 20 Sep 2012 01:49:33 +0000]
arch: arm: config: Update MODS defconfig

- Remove DC, FB, and GRHOST support
- Add ResiserFS, CIFS, AutoFS support
- Disable BT, IPv6, Wireless

Reviewed-on: http://git-master/r/133956
(cherry picked from commit 0178db73d8a5e217a851ace6255c11e1d49b790f)

Change-Id: Id40854485da2b367aa5903b07640bf31d40c5cf6
Signed-off-by: Krishna Monian <kmonian@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143124
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra11: dvfs: Integrate dfll mode data with dvfs table
Alex Frid [Wed, 19 Sep 2012 01:43:03 +0000]
ARM: tegra11: dvfs: Integrate dfll mode data with dvfs table

Since dfll tunning data is tightly coupled with the target clock
characterization (same, that produce dvfs table for the clock),
integrate dfll data with clock dvfs structure.

Reviewed-on: http://git-master/r/133755
(cherry picked from commit b2d2bb293a4742deb970253b213cde21bb92650e)

Change-Id: I278be9d11ccffd7641c7edb5cb309ef4e95c5957
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143123
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: T11x: core power off during LP0 suspend
Seshendra Gadagottu [Thu, 20 Sep 2012 06:37:36 +0000]
ARM: T11x: core power off during LP0 suspend

For VDD_CORE to be power off, external power gating
for the active cluster needs to be programmed.
For LP cluster, "FLOW_CTRL_CSR_ENABLE_EXT_NCPU"
needs to be set and for fast cluster,
"FLOW_CTRL_CSR_ENABLE_EXT_CRAIL" needs to be set.

Reviewed-on: http://git-master/r/133997
(cherry picked from commit 84a25f2379d871a70cd92e840d89dbc1a22ad0d3)

Change-Id: I42d7da35ee7c38d0b5a7fab55e1f1c47929f1a40
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143122
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoasoc: tegra: Enable DMIC regulator
Dara Ramesh [Sun, 16 Sep 2012 10:12:48 +0000]
asoc: tegra: Enable DMIC regulator

Reviewed-on: http://git-master/r/133077
(cherry picked from commit 08b49126403385d0d3b7a6643abf5964c3c8c107)

Change-Id: If727ac636e6679c9ee9aef9c281c8b62374c2a39
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143121
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoarm: tegra: USB: Regulator release
Suresh Mangipudi [Thu, 20 Sep 2012 04:18:44 +0000]
arm: tegra: USB: Regulator release

During the de-init of the HSIC regulator the regulator
is not freed properly.

Reviewed-on: http://git-master/r/133970
(cherry picked from commit f02498fd19da4dfb4f071220172d0df0f04763a4)

Change-Id: Ib1a52f9a8952e185541b214f2fceb804c52099cd
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143120
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agotouch: raydium: Add dalmore pinmux changes.
Laxman Dewangan [Thu, 20 Sep 2012 11:05:22 +0000]
touch: raydium: Add dalmore pinmux changes.

Reviewed-on: http://git-master/r/134065
(cherry picked from commit e780bfe95e5b5a760c3605abd5a1b70748781b17)

Change-Id: I0409c271de504457574cc2ddebff721fbd29f075
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143119
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agotouch: Raydium: Add Dalmore board file configs
Robert Collins [Thu, 20 Sep 2012 05:08:36 +0000]
touch: Raydium: Add Dalmore board file configs

Change pinmux for T114, enable touch controller
power, switch spi bus from spi1 to spi4

Bug 1035566

Reviewed-on: http://git-master/r/132475
(cherry picked from commit 0300d86eb19d63785965ec2a42dbe9e23e185a69)

Change-Id: I7733eb804f59d2a1d5f237e5fe2f9c4a960019df
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143118
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agotouch: raydium: Add Pluto pinmux definitions for touch.
Robert Collins [Thu, 20 Sep 2012 04:57:34 +0000]
touch: raydium: Add Pluto pinmux definitions for touch.

Reviewed-on: http://git-master/r/133986
(cherry picked from commit 087e7d7c4b621b71eed3b4988be99ae783ace8bd)

Change-Id: I70339b784daa486ef3a1c515cb4d2deac850869e
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143117
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agotouch: raydium: Pluto board file definition.
Robert Collins [Thu, 20 Sep 2012 04:54:44 +0000]
touch: raydium: Pluto board file definition.

Update Pluto board files for Wintek touch
sensor. Use SPI4 instead of SPI1.

Bug 1030747

Reviewed-on: http://git-master/r/133032

Change-Id: I2ae22d60a074373467d2a77c191b896b4ef0c879
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143116
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agotouch: Radyium: Move panel config structures to board files.
Robert Collins [Sun, 16 Sep 2012 18:10:45 +0000]
touch: Radyium: Move panel config structures to board files.

Reviewed-on: http://git-master/r/133110

Change-Id: I93343d2d67982fd05cb2c72b2d983c0f0cff5bf7
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143115
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoinput: touch: raydium: Update Raydium direct touch driver.
David Jung [Sat, 15 Sep 2012 02:31:11 +0000]
input: touch: raydium:  Update Raydium direct touch driver.

Update Raydium files to support 5 inch touch
sensor from Wintech.

Also adds 5-inch, 10-inch panel support.

Bug 1030747

Reviewed-on: http://git-master/r/133031
(cherry picked from commit 9033bee975273d0dfcc0d9cc8a8c7b97b2e77069)

Change-Id: I846b9d0faba31072113e030aa7102b34074c2585
Signed-off-by: David Jung <djung@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143114
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra11: clock: Increase clk_out2 maximum rate to 40.8MHz
Alex Frid [Tue, 18 Sep 2012 19:31:39 +0000]
ARM: tegra11: clock: Increase clk_out2 maximum rate to 40.8MHz

Reviewed-on: http://git-master/r/133622
(cherry picked from commit d054d22f3b1e2ea4472f9beb60be2ec8778d79e6)

Change-Id: I780812655965bfa7aeb3978766ae6de681ba6dd5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143113
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: pluto: Enable ext control for modem
Pradeep Goudagunta [Thu, 20 Sep 2012 01:26:47 +0000]
ARM: tegra: pluto: Enable ext control for modem

-Set voltage contrain for modem to 850mV.
-Enalble voltage control for modem.

Reviewed-on: http://git-master/r/133949
(cherry picked from commit acbcc47583d1cb798fd4fe5abe815355ab591b51)

Change-Id: I62354c3ca9fc6a09fee365c8ec888631402a97fd
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143112
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: T11x: set timer value for cpu power off
Bo Yan [Wed, 19 Sep 2012 22:26:02 +0000]
ARM: T11x: set timer value for cpu power off

This is needed to shut off VDD_CPU in any power state transition
which will lead to CPU rail-off.

These timer settings are not optimal. PMIC datasheet should be
consulted to come up with optimal settings that meet PMIC
requirement and minimize latency when switching off CPU rail.

For cluster switch, a minimum value '2' is used since '0' or '1'
is not a valid option and system will stay in cluster 1 for
at least 'cpu_off_timer', so there is no need to repeat waiting.

Reviewed-on: http://git-master/r/133903

Change-Id: I825c0039150346650db63003ffbea9e72992caf6
Signed-off-by: Bo Yan <byan@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143111
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoarm: tegra: dalmore: Fix coms regulator name
Mohan T [Wed, 19 Sep 2012 21:26:26 +0000]
arm: tegra: dalmore: Fix coms regulator name

Change comms regulator name in palmas smps

Reviewed-on: http://git-master/r/133887
(cherry picked from commit b04feb1ffe1e78cfe663f161a663b4c34f36e084)

Change-Id: I653910cd4537743df451f27a4a91313163084027
Signed-off-by: Mohan T <mohant@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143110
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoasoc: tegra: audio pinmux for CS42L73
Vijay Mali [Wed, 19 Sep 2012 06:22:42 +0000]
asoc: tegra: audio pinmux for CS42L73

Reviewed-on: http://git-master/r/133752

Change-Id: I408a6bd97df95b7f804fbe42c026586758ddfb70
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143109
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoarm: mm: cpa: Use config option to enable/disable cache flush by set/ways
Krishna Reddy [Tue, 18 Sep 2012 20:49:08 +0000]
arm: mm: cpa: Use config option to enable/disable cache flush by set/ways

Reviewed-on: http://git-master/r/133635
(cherry picked from commit 644a8fcb8be8f6a6a2f882d854974fce40e2c744)

Change-Id: I00d12c1a40a56d300396538080eefc68c6ccca9e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143108
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoasoc: tegra: pinmux, gpio for RT5640
Vijay Mali [Tue, 18 Sep 2012 11:34:14 +0000]
asoc: tegra: pinmux, gpio for RT5640

Reviewed-on: http://git-master/r/133495
(cherry picked from commit 81f4822d421e1cfb027b97920cb3221a47b60595)

Change-Id: Iee61d788f85ba3cadf4f861bcc18cdf7c50c944b
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143107
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: misc: pmureader driver
Seshendra Gadagottu [Mon, 17 Sep 2012 06:04:06 +0000]
ARM: tegra: misc: pmureader driver

Adding kernel module to acccess PMU counters from
the user space for CPU performance monitor.
Currently it is enabled for T114 only.

Reviewed-on: http://git-master/r/132953
(cherry picked from commit cdd30d1385c5bc16158e9ef6b835517b6c56cc75)

Change-Id: I27cf6ee2b262b20af34196fb3812413f52680404
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143106
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: dvfs: Fix CL-DVFS force output calculation
Alex Frid [Wed, 19 Sep 2012 02:04:33 +0000]
ARM: tegra11: dvfs: Fix CL-DVFS force output calculation

Reviewed-on: http://git-master/r/133754
(cherry picked from commit a3c0b2d102170cc77a74fd60583e99f161988ad9)

Change-Id: I561024a90bd45f25fb53e0c2590a877e0a5f789b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143105
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: dvfs: Set a floor for CL_DVFS safe voltage
Alex Frid [Tue, 18 Sep 2012 23:01:03 +0000]
ARM: tegra11: dvfs: Set a floor for CL_DVFS safe voltage

Set non-zer floor for CL_DVFS safe voltage.

Reviewed-on: http://git-master/r/133753
(cherry picked from commit af5ba3026ce0d4a6908e7006cab99f2edcabf920)

Change-Id: Id1c4001d866108b94cee596a8fbf4de5533e15ad
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143104
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: configs: Add cpuquiet for tegra11
Peter Boonstoppel [Wed, 19 Sep 2012 06:35:12 +0000]
ARM: tegra: configs: Add cpuquiet for tegra11

Compile cpuquiet for tegra11 builds. Cpuquiet will still be disabled
unless enabled from the per-board init.rc files.

Reviewed-on: http://git-master/r/133760

Change-Id: If7186e042c8489b64415bfe6ff203ff0209121c7
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143103
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

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

- Change CAM2_MCLK source to VI_SENSOR_CLK
- Set VI_SENSOR_CLK to 24 MHz
- Fix regulator error

Reviewed-on: http://git-master/r/133886
(cherry picked from commit ec5ed191fce35ebc0a7b46f4365dac7177eaff3b)

Change-Id: Ie98916cceee2c0acb89f9f15102e73edebc2b001
Signed-off-by: Frank Chen <frankc@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143102
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: cpuquiet: Add cpuquiet to Makefile for TEGRA_11x
Peter Boonstoppel [Wed, 19 Sep 2012 06:32:28 +0000]
ARM: tegra: cpuquiet: Add cpuquiet to Makefile for TEGRA_11x

Reviewed-on: http://git-master/r/133759
(cherry picked from commit 64f05683a2c946a211b4026f9ac972ec0398c59a)

Change-Id: I7ddbadbca0f97ec5bfa18b640ceeed8466dcbf16
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143101
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: keep clock always on for sdmmc3
naveenk [Wed, 19 Sep 2012 20:27:44 +0000]
ARM: tegra: keep clock always on for sdmmc3

do not dosable sdmmc3 clock to enable sd card
hotplug support

Reviewed-on: http://git-master/r/133875
(cherry picked from commit 001da1dc050d7ce641228bab3d67e5a17899ef21)

Change-Id: I8e12dd19bc7c2b4c620c056a97718ffc488616ab
Signed-off-by: naveenk <naveenk@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143100
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoDSI: WAR: changes to bringup dsi and backlight
Krishna Yarlagadda [Wed, 19 Sep 2012 18:47:02 +0000]
DSI: WAR: changes to bringup dsi and backlight

backlight and dsi turned on

Reviewed-on: http://git-master/r/133854
(cherry picked from commit 12577d21e351fbc5341d4846c46fb956dccd1614)

Change-Id: I477db5ae80327dbb2aa127a48f666a8b8fe28644
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143099
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: Dalmore: Fix kbc key assignment.
Graziano Misuraca [Wed, 19 Sep 2012 17:23:06 +0000]
ARM: Tegra: Dalmore: Fix kbc key assignment.

Swap keys KEY_CAMERA and KEY_2 in kbc struct.

Reviewed-on: http://git-master/r/133838
(cherry picked from commit f02f3d35aa86bd6c05a1f414cd234c0f83d902da)

Change-Id: Iec2b15d7e8c2acca64eb6fd4baa39b5aaa338609
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143098
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarch: arm: config: update bcmdhd kconfig variables
Nagarjuna Kristam [Mon, 17 Sep 2012 05:35:03 +0000]
arch: arm: config: update bcmdhd kconfig variables

1)Remove unwanted Kconfig varibles
2)update nvram and firmware path

Bug 982624

Reviewed-on: http://git-master/r/133174
(cherry picked from commit faac037422f9b3de650a65b502d5e1d6b3cea40c)

Change-Id: Ie4f0129daba1d49ed61cbe58c241a19a40c61d0e
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143097
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: dalmore: Enable coms regulators
Mohan T [Thu, 13 Sep 2012 14:16:07 +0000]
arm: tegra: dalmore: Enable coms regulators

Enable vdd_com_3v3 and vddio_com_1v8
regulators on wifi power on and disable
on wifi power off.

Bug 982624

Reviewed-on: http://git-master/r/132195

Change-Id: Ieaf2716ed9d549700f00adb12ed999722f8f107b
Signed-off-by: Mohan T <mohant@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143096
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: dalmore: add bluetooth regulators
Nagarjuna Kristam [Fri, 14 Sep 2012 05:51:44 +0000]
arm: tegra: dalmore: add bluetooth regulators

Register consumer regulators for bluetooth
Add "reg-userspace-consumer" platform data to enable BT regulators control
from user space

Bug 982624

Reviewed-on: http://git-master/r/132127
(cherry picked from commit 1c90ddd3bc78c5cd63e7ab598763cb68888fd145)

Change-Id: I7786a71a88b15e616c3679b424aaa9fd8f821d7b
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143095
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: pluto: pull up SPDIF_IN
Kerwin Wan [Wed, 19 Sep 2012 09:58:55 +0000]
arm: tegra: pluto: pull up SPDIF_IN

SPDIF_IN is configured as open drain in board-pluto-power.c.
So it's needed to be pulled up.

Reviewed-on: http://git-master/r/133793

Change-Id: I481b08fc1654239aeb6e8b954bdaa28f652f0565
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143094
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: dalmore: Fix panel corruption
Animesh Kishore [Wed, 19 Sep 2012 05:29:37 +0000]
arm: tegra: dalmore: Fix panel corruption

Fix flaky panasonic panel

Reviewed-on: http://git-master/r/133742
(cherry picked from commit fa20e072b9ddbe214055ec137a9eea17a006deef)

Change-Id: I8b87a491b2fbdd2063f07edd74c151a83dbb70bd
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143093
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: dsi: Panasonic panel bring-up
Kevin Huang [Wed, 19 Sep 2012 00:21:21 +0000]
video: tegra: dsi: Panasonic panel bring-up

Fix dsi host and panel related issues.

Reviewed-on: http://git-master/r/133414
(cherry picked from commit f5fdc4a5b18aa74a9499dfe41ce972be09ed7abb)

Change-Id: I7c0eeaa62a19c79c475a5c20562bb98cd89ac441
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143092
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarch: arm: configs: MODS dalmore defconfig
Krishna Monian [Tue, 18 Sep 2012 22:59:42 +0000]
arch: arm: configs: MODS dalmore defconfig

- First working version of dalmore defconfig for MODS
  (based of the android defconfig)

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

Change-Id: Ie56eec1f8e65fa5d266034b0ba502be441525d9e
Signed-off-by: Krishna Monian <kmonian@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143091
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: kbc: update T114 kbc configuration
aghuge [Wed, 19 Sep 2012 00:34:47 +0000]
ARM: tegra: kbc: update T114 kbc configuration

For both dalmore and pluto update KBC col
configuration to start from KBC_PIN_GPIO_11

Reviewed-on: http://git-master/r/133704
(cherry picked from commit 42882fe227222c8e02c38bc8682a6ea33d8f64fc)

Change-Id: I01561889a34b493e7b852193e72951c13853224b
Signed-off-by: aghuge <aghuge@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143090
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: dalmore: enable sleep for rails
Pradeep Goudagunta [Tue, 18 Sep 2012 23:33:17 +0000]
ARM: tegra: dalmore: enable sleep for rails

Enable sleep for core power rail.
Make ldo8 in tracking mode with core rail.

Reviewed-on: http://git-master/r/133686
(cherry picked from commit 428428cce70fe7521194f60f9c52f3cd5f74b9ed)

Change-Id: I10c015f5a0d0cb981cba85fbbe8cbf1c25527299
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143089
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: clock: Update PLLC2/3 default settings
Alex Frid [Mon, 17 Sep 2012 19:08:15 +0000]
ARM: tegra11: clock: Update PLLC2/3 default settings

Reviewed-on: http://git-master/r/133310
(cherry picked from commit 92e54439925c82646bb55f26ba273e5762305c5c)

Change-Id: Ic09f3d4604b3a0eb93ea5468b3cab661b34431b5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143088
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: pinmux: fix KBC pinmux configuration
aghuge [Tue, 18 Sep 2012 22:56:07 +0000]
ARM: tegra: pinmux: fix KBC pinmux configuration

Reviewed-on: http://git-master/r/133645
(cherry picked from commit 860f5363842574d11e8ebaaaeca32ea8d23b0dd4)

Change-Id: I3286184d4223ed35673376c253c56f9db5a89055
Signed-off-by: aghuge <aghuge@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143087
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarch: arm: tegra: Fix CONFIG_USB_SUPPORT guard
Krishna Monian [Mon, 17 Sep 2012 18:14:44 +0000]
arch: arm: tegra: Fix CONFIG_USB_SUPPORT guard

- Fix the CONFIG_USB_SUPPORT guards to allow building
  the kernel without USB support

Reviewed-on: http://git-master/r/133293
(cherry picked from commit 572490aa6b7a869bc58151e129a932c85cccb75e)

Change-Id: I24c2b4c64ae785ad12a4aa636c3051ed3b9e7008
Signed-off-by: Krishna Monian <kmonian@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143086
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: pluto: sensor: fix power down issue
Charlie Huang [Mon, 17 Sep 2012 01:16:22 +0000]
ARM: tegra: pluto: sensor: fix power down issue

Fixes the issue that the system will crash if the sensors are
powered on the 2nd time.

Reviewed-on: http://git-master/r/133134
(cherry picked from commit c9d0549bd928e25450d3abc30d26f84cbefafede)

Change-Id: Id02c770ddc2184f932e5507960c71b94633c14f9
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143085
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: USB: correct hsic regulators
Rakesh Bodla [Tue, 18 Sep 2012 16:26:50 +0000]
arm: tegra: USB: correct hsic regulators

Correcting the devices names for hsic
regulators for dalmore. Also fixing potential
kernel crash.

Reviewed-on: http://git-master/r/133585
(cherry picked from commit 2f5cdbe744e3bbc5f31fadcdbc282a2b909056ff)

Change-Id: I5b12d9a8d71f13637cecde633e293badc2930bf6
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143084
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: power gate update
Bitan Biswas [Tue, 18 Sep 2012 16:09:31 +0000]
arm: tegra: power gate update

Tegra11x VENC partition unpowergate case had incorrect null string check.
Fixed this.

Reviewed-on: http://git-master/r/133581
(cherry picked from commit b9a9ed80bf069b5c1bc3de2f4277537ac20ece63)

Change-Id: I6fad16b078cb6805bc8849718b2c35fc0da78193
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143083
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: USB: enable HSIC support
Suresh Mangipudi [Tue, 18 Sep 2012 05:44:40 +0000]
arm: tegra: USB: enable HSIC support

Enable the regulator for HSIC on pluto.
SMSC hub is plugged on USB instance 3.

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

Change-Id: I42bf995933228f276389e38b916e89173daf90f2
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143082
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: pinmux: I2C pinmux settings
aghuge [Tue, 18 Sep 2012 13:41:52 +0000]
ARM: tegra: pinmux: I2C pinmux settings

Reviewed-on: http://git-master/r/133549
(cherry picked from commit bcae9ebe27a8c6d3addb83a1981aa81d8bf53cf3)

Change-Id: I2e826e19e02e8766c102afe9dba3b597da46323d
Signed-off-by: aghuge <aghuge@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143081
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: pluto: correct wake_cnt value for kbc
Johnny Qiu [Tue, 18 Sep 2012 12:00:00 +0000]
arm: tegra: pluto: correct wake_cnt value for kbc

Reviewed-on: http://git-master/r/133509
(cherry picked from commit 1430d9d843cc4379b0cdff1603ddc66531708b73)

Change-Id: I4693dc7714f38b37075eac1e4ddf15139bbbc741
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143080
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agommc: tegra: Disable Auto Calibration for T11x
Pavan Kunapuli [Tue, 18 Sep 2012 07:45:35 +0000]
mmc: tegra: Disable Auto Calibration for T11x

Auto Calibration is not working on T11x platforms.
Enable it only for T30 based platforms.

Reviewed-on: http://git-master/r/133451
(cherry picked from commit 36fc5f94838ddfec55761b317b8d5a5bf39fabcd)

Change-Id: Ibbea2e872e3a2e3f2cb5a4eb85014021eb1b7f46
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143079
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: Enable SDMMC DPD support only for T30
Pavan Kunapuli [Mon, 17 Sep 2012 15:42:52 +0000]
ARM: Tegra: Enable SDMMC DPD support only for T30

IO DPD mode is not working on T11x platforms and is
resulting in a spew of error messages. Enable the
DPD support only for T30 platforms.

Reviewed-on: http://git-master/r/133269
(cherry picked from commit 46044a4ca51ae4a93cd24beec980db02b7a1e839)

Change-Id: I274a04ed2cf2198dba8e788cf9a792110d3c774b
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143078
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: dalmore/pluto: SDMMC3 drive strengths
Pavan Kunapuli [Tue, 18 Sep 2012 07:26:46 +0000]
ARM: tegra: dalmore/pluto: SDMMC3 drive strengths

Adding drive strength settings for SDMMC3 for
pluto and dalmore platforms.

Reviewed-on: http://git-master/r/133447
(cherry picked from commit 5a36e5f99b7c8c54bb6a8e6404250f0f0b740335)

Change-Id: Icd73620a8f12213155fdfe45fd4cd97ec6968da6
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143077
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: HDMI TMDS and PLL setup
Jon Mayo [Tue, 18 Sep 2012 04:44:52 +0000]
ARM: tegra11: HDMI TMDS and PLL setup

Use new TMDS and PLL_D2 settings for proper 1080p HDMI operation.

Reviewed-on: http://git-master/r/133418
(cherry picked from commit 80a1b76d4fff5b6a56234edf505c98fd48c7f991)

Change-Id: I912ae6463582374add95fb809fb122c675c37ed6
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143076
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: clock: Provide WAR for MSENC clock propagation
Alex Frid [Mon, 17 Sep 2012 23:59:17 +0000]
ARM: tegra11: clock: Provide WAR for MSENC clock propagation

Bug 1005168

Reviewed-on: http://git-master/r/133366
(cherry picked from commit 7671be9a888a62f7db9d87005d3f644302fc667e)

Change-Id: I7894cadf3a02d5ada9f953a163c1bd8b66df1312
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143075
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agosdhci: tegra: fix null pointer exception
naveenk [Tue, 18 Sep 2012 00:36:24 +0000]
sdhci: tegra: fix null pointer exception

devm is used to allocate memory for tegra_host
so kfree should not be used.

Reviewed-on: http://git-master/r/133375
(cherry picked from commit 732d041f9041a399383ecf4dea39abed82ad3e0b)

Change-Id: Ic876e6369feb00b4d8a83215ff149a7c91e23aa4
Signed-off-by: naveenk <naveenk@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143074
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: Disable voltage scaling
Alex Frid [Mon, 17 Sep 2012 20:47:45 +0000]
ARM: tegra11: Disable voltage scaling

Reviewed-on: http://git-master/r/133329
(cherry picked from commit 3bee6268faf745ea76348e6651bd126b8b41fbc5)

Change-Id: I3653e8420bbfcf4fb2d59bca7faae6ad497ab8a3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143073
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: pluto: fix uartd pinmux
Pradeep Goudagunta [Mon, 17 Sep 2012 21:39:04 +0000]
ARM: tegra: pluto: fix uartd pinmux

UARTD comes from GMI lines for pluto.

Reviewed-on: http://git-master/r/133338
(cherry picked from commit 3342c87cba0c091d15729d91897fcba0f73fa1ce)

Change-Id: Ic6f3a90e1d15613e4c694796f8e8f44bb407272d
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143072
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: clock: Fix function init annotation mismatch
Alex Frid [Mon, 17 Sep 2012 07:03:11 +0000]
ARM: tegra11: clock: Fix function init annotation mismatch

Reviewed-on: http://git-master/r/133277
(cherry picked from commit ea290ea58b9f33cf8e89fc91209f5afc27a6ada8)

Change-Id: I37a0db971d0737858701aca05c63ded2f6d57414
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143071
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: dvfs: Enable CL-DVFS frequency monitoring.
Alex Frid [Mon, 17 Sep 2012 15:23:32 +0000]
ARM: tegra: dvfs: Enable CL-DVFS frequency monitoring.

Reviewed-on: http://git-master/r/133278
(cherry picked from commit 94be02a69da6b9fe703e2ebf2cc7c220c2531c3f)

Change-Id: Ia263473aa888d8f72477b49fef898ea1c2fdb5ec
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143070
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: pluto: Add SDMMC3_CLK_LB pinmux
Pavan Kunapuli [Mon, 17 Sep 2012 19:27:18 +0000]
ARM: tegra: pluto: Add SDMMC3_CLK_LB pinmux

Reviewed-on: http://git-master/r/133317
(cherry picked from commit 09ce7b8d8df283b0568c398dadcaf091e3c0a37f)

Change-Id: Id4c49015707db0a92405d87752bb52ee1d076745
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143069
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoinclude: linux: Fix MODS kernel build break
Krishna Monian [Thu, 6 Sep 2012 20:25:48 +0000]
include: linux: Fix MODS kernel build break

- Include errno.h to fix MODS build break caused by use of ENOSYS

Reviewed-on: http://git-master/r/133048
(cherry picked from commit d4915618687d0042027b43c794a5581ae748e3d3)

Change-Id: I4ec4d92ad73e0eb33685bf1ae59f5860390a08e3
Signed-off-by: Krishna Monian <kmonian@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143068
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: pluto: add RTCK pinmux
Pradeep Goudagunta [Mon, 17 Sep 2012 19:23:45 +0000]
ARM: tegra: pluto: add RTCK pinmux

Reviewed-on: http://git-master/r/133315
(cherry picked from commit de0bec7edaa6af64c26615d440a7ab5814729a75)

Change-Id: Iad7cb29151354ac19720c65cc70607fa6bf7d60b
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143067
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: clocks: T11x MIPI CAL
Bitan Biswas [Mon, 3 Sep 2012 14:35:15 +0000]
arm: tegra: clocks: T11x MIPI CAL

Clock table entry for MIPI CAL is added for T11x

bug 1032690

Reviewed-on: http://git-master/r/132793
(cherry picked from commit 274f8dd01be3352a89d4cd4a25c78bd23eaa874f)

Change-Id: I61502e544965c7edf6664fe46a9052fa9219262e
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143066
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: power detect update
Bitan Biswas [Mon, 17 Sep 2012 17:45:09 +0000]
arm: tegra: power detect update

- Power detect hv regulator entry added for dalmore and pluto
- mem_comp no iopower entry removed from T114 power detect table as
  software cannot turn these off

Reviewed-on: http://git-master/r/133285
(cherry picked from commit bab3fda7e504e302db5cfbddc131b48c84a3c4f8)

Change-Id: Ifea4329cf4035d67b1f77897659abfe48b948678
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143065
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: dalmore/pluto: update SE platform dev name
Mallikarjun Kasoju [Sun, 16 Sep 2012 20:47:45 +0000]
ARM: tegra: dalmore/pluto: update SE platform dev name

Updated SE platform device name for t114

Reviewed-on: http://git-master/r/133119
(cherry picked from commit dcb00555cdfb6696bb024bf782a65e50965d0357)

Change-Id: Id7e5b30e8bf67f9446a3b42f4d7b686dabb874a1
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143064
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: disa unpowergate update
Bitan Biswas [Mon, 17 Sep 2012 16:03:29 +0000]
arm: tegra: disa unpowergate update

DISA partition unpowergate only needs MIPI-CAL calibration

Reviewed-on: http://git-master/r/133279
(cherry picked from commit acd6d78f9bf50056052f8d636fb8ee2b62c228e6)

Change-Id: Ibfa6e70b92bf7ce70c79cfa670bf39c574163b30
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143063
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: config: disable USB boost frequency
Krishna Yarlagadda [Mon, 17 Sep 2012 13:33:04 +0000]
ARM: tegra: config: disable USB boost frequency

disable cpu boost frequency for USB device transfers

Reviewed-on: http://git-master/r/133252
(cherry picked from commit 3cb315c9d83235af2ebaa51ae939176f30f38522)

Change-Id: I3e494180cb3af50a73cae1c0b2524e252242ca43
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143062
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoHACK: arm: mm: Disable Freeing init memory.
Krishna Reddy [Mon, 17 Sep 2012 05:27:02 +0000]
HACK: arm: mm: Disable Freeing init memory.

Reviewed-on: http://git-master/r/133170
(cherry picked from commit 44f72b181421900ae61eb165477ba104a359f9e8)

Change-Id: I366109e0991cf10cc4ff9fc8bc4140c67cfda5bb
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143061
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: dalmore: Add pinmux configuration for SDMMC3_CLK_LB
Laxman Dewangan [Sun, 16 Sep 2012 22:04:52 +0000]
ARM: tegra: dalmore: Add pinmux configuration for SDMMC3_CLK_LB

Reviewed-on: http://git-master/r/133130
(cherry picked from commit 3941e17052cc0c9c7a636403bdaf2a4adfcdddff)

Change-Id: I83001b0fce3e4ce280e85606f87050db2211715b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143060
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: Add pinmux entry for SDMMC3_CLK_LB
Laxman Dewangan [Sun, 16 Sep 2012 22:03:54 +0000]
ARM: tegra11: Add pinmux entry for SDMMC3_CLK_LB

Reviewed-on: http://git-master/r/133129
(cherry picked from commit 835094fa0a86e11f668e8ba0ea6740b80e9377f6)

Change-Id: I0b33afce67dd5c5eab091421cc3d7fc2674caa9a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143059
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: pinmux: do not print if pinmux name is not there
Mallikarjun Kasoju [Sun, 16 Sep 2012 20:05:29 +0000]
ARM: tegra: pinmux: do not print if pinmux name is not there

Do not dump the pinmux details through debugfs if
pinmux group name is NULL.

Reviewed-on: http://git-master/r/133116
(cherry picked from commit 1298c4253fc23d52d31de32e420e3c10694755a4)

Change-Id: Iac9e8523837a2fd54937e1471b07116391f31f25
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143058
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: clock: Keep pllu and it secondary dividers enabled
Alex Frid [Sun, 16 Sep 2012 17:06:21 +0000]
ARM: tegra: clock: Keep pllu and it secondary dividers enabled

Reviewed-on: http://git-master/r/133104
(cherry picked from commit 5a843bd436c2ddec8a2f12d0d76b2377c9e36768)

Change-Id: Idabb7bc116b9c4684486d401d6ba6303d9feebd2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143057
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: dalmore: Disable tristate for RTCK
Krishna Reddy [Sun, 16 Sep 2012 14:10:06 +0000]
arm: tegra: dalmore: Disable tristate for RTCK

Enabling tristate would disconnect debugger from target board.

Reviewed-on: http://git-master/r/133095
(cherry picked from commit 67680a8000cea7a28ffee5a8bec19161f9a6a7a0)

Change-Id: I6d12eb7231b6a8b280dedcbfae3b675c55840583
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143056
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: clock: Keep cl-dvfs clocks always enabled
Alex Frid [Sun, 16 Sep 2012 16:33:39 +0000]
ARM: tegra11: clock: Keep cl-dvfs clocks always enabled

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

Change-Id: Ibac32669b62d03b6f5e34748373be04a1cc93273
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143055
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: defconfig: enable tps65090, max77663
Pradeep Goudagunta [Sun, 16 Sep 2012 14:42:29 +0000]
ARM: tegra11: defconfig: enable tps65090, max77663

-Enable tps65090 mfd and regulator.
-Enable max77663 gpio functionality.

(cherry picked from commit fcb73adac0f49e2106c2a9dcf6e2066c04da2835)
Reviewed-on: http://git-master/r/133097

Change-Id: Ief257cae324476f5dd57836697ee5a086ae96415
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143054
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: clock: Add support for PLLE
Alex Frid [Sat, 15 Sep 2012 00:27:43 +0000]
ARM: tegra11: clock: Add support for PLLE

Reviewed-on: http://git-master/r/132940
(cherry picked from commit 9592caf7cfba60c02fd6dcd07b4c02946c4ee3f5)

Change-Id: I74f6ad26cbbc212e1e0194dae4f85252447cc845
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143053
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: dvfs: Update XUSB clocks dvfs table
Alex Frid [Sat, 15 Sep 2012 03:49:01 +0000]
ARM: tegra11: dvfs: Update XUSB clocks dvfs table

Reviewed-on: http://git-master/r/132949
(cherry picked from commit 711a3ff049aea1081de17117fe095646454e1f2f)

Change-Id: I03517aa9f462931503f70b93a1137abc7f03c443
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143052
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: config: Enable palmas rtc
Mallikarjun Kasoju [Sat, 15 Sep 2012 19:10:11 +0000]
arm: tegra: config: Enable palmas rtc

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

Change-Id: I4536f7d7a9f09534f0dbd181fea8094004948bbe
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143051
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: config: Enable palmas rtc
Mallikarjun Kasoju [Sat, 15 Sep 2012 17:20:40 +0000]
arm: tegra: config: Enable palmas rtc

Reviewed-on: http://git-master/r/133018
(cherry picked from commit eb72fed8f26cd5db76227db93a99b74448926e2a)

Change-Id: I26c56a198c08db169265945deb52b1703f6627ab
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143050
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agortc: fix crash in rtc driver during suspend
Mallikarjun Kasoju [Sat, 15 Sep 2012 12:37:25 +0000]
rtc: fix crash in rtc driver during  suspend

palmas rtc pointer is not assigned as child to palmas
which is causing kernel panic during suspend.

Reviewed-on: http://git-master/r/133000
(cherry picked from commit 94d02a6e4ffb1b7b616caa9e54310714ac6ec127)

Change-Id: I648913ff89d1b478f11638a9a3c7982491869683
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143049
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: config: enable palmas PMIC
Mallikarjun Kasoju [Sat, 15 Sep 2012 16:27:45 +0000]
ARM: tegra: config: enable palmas PMIC

-Enable palmas mfd
-Enable palamas regulator
-Enable palamas gpio

Reviewed-on: http://git-master/r/133013
(cherry picked from commit 3aa7c5c10b18313a74ab88f25821d7ac5dcb0783)

Change-Id: I73dafac20d1d2775031e9c03c7c2892cb752bb30
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143048
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: CS42L73: Enable driver for CS42L73
Rahul Mittal [Sat, 15 Sep 2012 12:26:04 +0000]
ARM: Tegra: CS42L73: Enable driver for CS42L73

Add ALSA machine driver for CS42L73 codec.
Add audio devices and platform data.

Bug 1022923

Reviewed-on: http://git-master/r/132998

Change-Id: I85e536b20ae727ccaa884d1beca7265714667ec1
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143047
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoaudio: a2220 voice processor driver
Dara Ramesh [Fri, 14 Sep 2012 19:34:26 +0000]
audio: a2220 voice processor driver

Loaded default firmware.
Configure PortC to PortA in bypass.

Bug 1022923

Reviewed-on: http://git-master/r/132740

Change-Id: Ic336fce444fe65b26b88b66f61f448a94f77825e
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143046
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: dalmore: add onkey support
Laxman Dewangan [Sat, 15 Sep 2012 13:23:36 +0000]
ARM: tegra: dalmore: add onkey support

Add onkey support through PMIC onkey for E1612.

Reviewed-on: http://git-master/r/133004
(cherry picked from commit a8f8516ceb204e6203eb306cba8a3529575a1ea8)

Change-Id: I0067b8b46a73cac1cf8121bd36db14d55c140860
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143045
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomfd: tps65090: retry i2c communication if fails
Laxman Dewangan [Sat, 15 Sep 2012 11:12:48 +0000]
mfd: tps65090: retry i2c communication if fails

TPS65090 is having hw issue that sometimes during initialization
it does not respond. The warkaround suggested as it need to
retry i2c communication in case of such error. In 2nd try, the
i2c communication can pass.
Adding WAR as above.

Reviewed-on: http://git-master/r/132991
(cherry picked from commit 969658d9c841f8c83e2e03367c2696ff14695620)

Change-Id: I857539083f73a59866815850f0d7aba39aac04d5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143044
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

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

Add sensor board support on dalmore for front
sensor ov9772.

Bug 1011174

Reviewed-on: http://git-master/r/132968

Change-Id: Iefe6c6376381906eeffcf02d3ff37e4afed97cc4
Signed-off-by: Yuvraj Pasi <ypasi@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143043
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: Dalmore: Correct gpio numbers for VBUS control
Laxman Dewangan [Sat, 15 Sep 2012 09:13:01 +0000]
ARM: tegra: Dalmore: Correct gpio numbers for VBUS control

The USB VBUS signals are as per following in E1612:
USB_VBUS1:
netname: USB_VBUS_EN0
T114: it is connetced to USB_VBUS_EN0, GPIO is PN4.
T30, this pin does not exist and so mapped to KCB_ROW3.
so for T30 will use GPIO_PR3 here.

USB_VBUS3:
net name: USB_VBUS_EN1: SPDIF_IN(T114)
T114: SPDIF_IN
T30: SPDIF_IN
So here is no issue as GPIO_PK6 is used

Make change to reflect this.

Reviewed-on: http://git-master/r/132683
(cherry picked from commit 87186d67a125ad90a90ed196e3acfd53feea4ff3)

Change-Id: If6fc3628416d8b36bd29e6fedafd142e0609e0cc
signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143042
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: clock: Update EMC clock change procedure
Alex Frid [Thu, 13 Sep 2012 22:53:21 +0000]
ARM: tegra11: clock: Update EMC clock change procedure

Added new fields to EMC timing table:
- registers that are updated before/after clock change if EMC
rate is decreased/increased, respectively
- trimmers that are set differently for EMC channel 0 and 1
- numbers of registers specified for each rate node

Updated nomenclature of individually controlled registers.

Updated clock change procedure accordingly.

Reviewed-on: http://git-master/r/132821
(cherry picked from commit 33c9a8f102baae511308c236277cd1cf90a78549)

Change-Id: I1b8ad8a8b22edfce59590245bb98938f62937797
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143041
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra11: clock: Implement EMC clock change procedure
Alex Frid [Mon, 8 Oct 2012 06:02:22 +0000]
ARM: tegra11: clock: Implement EMC clock change procedure

Initial implementation of EMC clock change procedure.

Reviewed-on: http://git-master/r/132381
(cherry picked from commit ac20941608cd00a7c57324684d1ecdf91c6bb365)

Change-Id: I0d394aafe915ce3431ef37803665f75a94f4122b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143040
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoconfig: Do not use delayed firmware load for bcmdhd
Mursalin Akon [Fri, 5 Oct 2012 16:18:53 +0000]
config: Do not use delayed firmware load for bcmdhd

Android loads the bcmdhd firmware using a private
command. In generic Linux, there is no tool to use
such private features. So, disable delayed firmware
loading.

Bug 1029792

Change-Id: I6b15a3d76efa384b8ad9d7cf40caf615b6be76f8
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/142000
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

7 years agoconfig: enable RFKILL_GPIO for L4T build
Mursalin Akon [Wed, 3 Oct 2012 21:15:57 +0000]
config: enable RFKILL_GPIO for L4T build

RFKILL_GPIO is used to power up/down
bluetooth chip. Enable RFKILL_GPIO
for L4T build.

Bug 1033671

Change-Id: I3a02a5bf5e15a72ae20b00fb434898db02fbc526
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/141326
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

7 years agoarm: tegra: iommu: fix coverity issue
Sri Krishna chowdary [Mon, 8 Oct 2012 10:25:12 +0000]
arm: tegra: iommu: fix coverity issue

smmu->regs cant be NULL when smmu is not NULL

Bug 1046331

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

7 years agovideo: tegra: host: Use T114 power profile
Arto Merilainen [Tue, 2 Oct 2012 12:55:23 +0000]
video: tegra: host: Use T114 power profile

Change-Id: I24300a2cc4744465d21d270cd2627b6970da4295
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/140885
(cherry picked from commit 7032714aa48e7c179763c7087baca1c88f364a0a)
Reviewed-on: http://git-master/r/142304
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: host: Remove irq_requested flags
Arto Merilainen [Thu, 4 Oct 2012 12:19:14 +0000]
video: tegra: host: Remove irq_requested flags

This patch removes host_general_irq_requested and irq_requested
flags from interrupt handling code.

Change-Id: Idb206bf6844e471a1189791d70c438ab68a3674e
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/141583
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: mc: set extra snap value for VI
Krishna Reddy [Fri, 5 Oct 2012 21:05:56 +0000]
arm: tegra: mc: set extra snap value for VI

This is necessary to avoid VI starving out during
high bandwidth use cases.

Bug 1059264

Change-Id: I4ed43f13b5a9907d98ae2ddf842a66b5dc8384d6
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/142076
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shiva Dubey <sdubey@nvidia.com>
Reviewed-by: Zhaoyi Wei <zwei@nvidia.com>

7 years agoalsa: hda: update max channel info from eld buffer
Sayak Ghosh Choudhury [Fri, 5 Oct 2012 15:54:24 +0000]
alsa: hda: update max channel info from eld buffer

the max pcm channel info was not coming proper and was not matching
eld buffer information. This fix is made to solve that issue.

Bug 1046366

Change-Id: I8f3abe06cca5a3d7047c46df9e35cb635ceee5d9
Signed-off-by: Sayak Ghosh Choudhury <sayakc@nvidia.com>
Reviewed-on: http://git-master/r/141995
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nikesh Oswal <noswal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>