7 years agoarm: tegra: fix ventana build break
Jin Qian [Sat, 12 Mar 2011 04:37:35 +0000]
arm: tegra: fix ventana build break

Fix build break on ventana due to improper use
of kernel config paramters.

Original-Change-Id: I7ec13091cf67fa5cb25b39c92eb33756263506c4
Reviewed-on: http://git-master/r/22705
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Id942dc5dc79e0edf5dc27d418083f340ae40edb8

Rebase-Id: R789dea06de4b014643eff9b43343907e9dadcdda

7 years agoARM: tegra: dvfs: Add Tegra3 EMC and CPU rates dependency
Alex Frid [Thu, 10 Mar 2011 02:58:01 +0000]
ARM: tegra: dvfs: Add Tegra3 EMC and CPU rates dependency

Original-Change-Id: I28155e59fd6cb36ccd63d8d17ed01b70b9209f97
Original-Change-Id: Ic4ebe6007ab9ee308039ad86c0930f85d116fdd5
Reviewed-on: http://git-master/r/22531
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I4e5e939921d6d82aa8687545399a867901655069

Rebase-Id: R71c8b69183d12414112d88d60fe54a7b85a6d3de

7 years agoARM: tegra: dvfs: Add emc dfs statistic
Alex Frid [Tue, 8 Mar 2011 18:35:31 +0000]
ARM: tegra: dvfs: Add emc dfs statistic

Original-Change-Id: I191ce07b461c9283d61000ca81746b282502f786
Reviewed-on: http://git-master/r/22530
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I81d6caa3c8f6a0c267d171f38156657ef8c52688

Rebase-Id: R9d9ce785a3e65a0851b3f70159395ed6753bdf87

7 years ago[arm:tegra] Adding more debug printouts
Hiro Sugawara [Tue, 15 Feb 2011 02:16:08 +0000]
[arm:tegra] Adding more debug printouts

Original-Change-Id: I291b01285f88d6bcbc74563c8667b0f17fcf8a6b
Reviewed-on: http://git-master/r/19519
Tested-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I7010bbb2b06fa2c9317c76b111c511199a4c9686

Rebase-Id: Rbeb18705f6cdff98f6dea3fe2c8c25828b2254f1

7 years agoarm: tegra: clock: Clock support for dsi 2nd instance
ankishore [Fri, 11 Mar 2011 11:58:15 +0000]
arm: tegra: clock: Clock support for dsi 2nd instance

Enabling clock to dsi 2nd instance pad control

Original-Change-Id: I303d9c77bdd0586dfdf8c47924cd6b1821d628f7
Reviewed-on: http://git-master/r/22606
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I3f75da73fa80c74e3cde40903a720bab1fb5a92d

Rebase-Id: R77167a2c816d078f779203f4d6cc0dfd3bae7e9f

7 years agoarm: tegra: devices: Adding device details for spi slave
Laxman Dewangan [Fri, 11 Mar 2011 05:18:49 +0000]
arm: tegra: devices: Adding device details for spi slave

Adding device details for the spi slave driver. Also adding clock
details for these drivers.

Original-Change-Id: I38a34c289e296152339dd23858dc19bfb95db354
Reviewed-on: http://git-master/r/22411
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Original-Change-Id: Id60caffa97965ac424083353388a0e6dfd963779

Rebase-Id: R442b1ac8bacbd15325abf7d8dc96699f75cd5fda

7 years agoarm: tegra: clock: Clock support for all dsi instances
ankishore [Wed, 9 Mar 2011 15:29:02 +0000]
arm: tegra: clock: Clock support for all dsi instances

Making clock entries and adding resources for all dsi instances

Original-Change-Id: I2f5552f9a87d410360c15598340f44710798725b
Reviewed-on: http://git-master/r/22233
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: Ia9a70ea207510d09cf6263b0bed2c5465d8b2231

Rebase-Id: R308216681eeef3bda0d3fc0d6ec7646786153219

7 years agoarm: tegra: update clock settings for some modules
Bo Yan [Wed, 2 Mar 2011 19:56:27 +0000]
arm: tegra: update clock settings for some modules

Original-Change-Id: If2d5e59817fa97e07209b800716f44827a33d87c
Reviewed-on: http://git-master/r/21417
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I1adf32978cc8cc3ee4ce08c3d408b2a21ee9e9d6

Rebase-Id: Rcbb7bae6fd1cd7b3097398390b7ea9a4df26d56d

7 years agoARM: tegra: dvfs: Add Tegra3 EMC scaling mechanism
Alex Frid [Sun, 6 Mar 2011 04:59:22 +0000]
ARM: tegra: dvfs: Add Tegra3 EMC scaling mechanism

Original-Change-Id: I23954a8d005fae93866666fff0e56edb23a49d46
Reviewed-on: http://git-master/r/21940
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I31c3910d38f9999ddbf3414e042e1972d9a86c5a

Rebase-Id: Rd6ca05872b34fa23bef682b4185fb4f354632c3a

7 years agoARM: tegra: clock: Add detach shared bus control
Alex Frid [Sun, 6 Mar 2011 04:00:52 +0000]
ARM: tegra: clock: Add detach shared bus control

Original-Change-Id: I0ce1944e616e77132b5741983298068ae018509d
Reviewed-on: http://git-master/r/21939
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I4de2a5a4bb14a822fd2f5d1c86989538ee365317

Rebase-Id: R8de5fad83dde8effd5362a35967d22e0941c79c2

7 years agoarm: tegra: Merge changes from main branch
Vinod G [Thu, 3 Mar 2011 22:57:08 +0000]
arm: tegra: Merge changes from main branch

Changes specific to separate the codecs based on board are
integrated from rel-2010-11 branch

Original-Change-Id: I9fe2e05d5347f02cd3047f453d03437b735e2c4b
Reviewed-on: http://git-master/r/21562
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Tested-by: Scott Peterson <speterson@nvidia.com>
Original-Change-Id: I06473d906c1043a8fcc511cd66cfb57e311afdae

Rebase-Id: R35499b0a4c1a947e119383b53e9843f23c18cf88

7 years agoARM: tegra: clock: Add PLL out-of-table support above 1GHz
Alex Frid [Sun, 27 Feb 2011 05:57:39 +0000]
ARM: tegra: clock: Add PLL out-of-table support above 1GHz

Original-Change-Id: Id1bdb7a1cf39b9c99ab859883b51cea9c091c33e
Reviewed-on: http://git-master/r/21031
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I807e61959340ebbadb797ee5c22652ed1b5bb20c

Rebase-Id: R7dc93ec59e70382941ad19de3d5f6eac7194bdb8

7 years ago[arm:tegra] fix deadlock inside smmu_setup_regs
Jin Qian [Mon, 28 Feb 2011 20:43:53 +0000]
[arm:tegra] fix deadlock inside smmu_setup_regs

Original-Change-Id: I6862ff83d67145971304716ee418af48d433311f
Reviewed-on: http://git-master/r/21147
Reviewed-by: Hiro Sugawara <hsugawara@nvidia.com>
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Icc9e651d6394ca933983a5df56f5cafe21299d23

Rebase-Id: R04ca6cc6abdbfa6a0de8c75d7028a5ad7f834da5

7 years agoARM: tegra: timer: Restructure timer controllers usage.
vdumpa [Thu, 24 Feb 2011 01:57:49 +0000]
ARM: tegra: timer: Restructure timer controllers usage.

Restructure timer controller usage in order to add Lp2 wake timers
for all cpu's.

Bug 790458

Original-Change-Id: Ie71eb9fb8c1bee0bd059d40b1761718931c9bfe0
Reviewed-on: http://git-master/r/20692
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I16ccea6db75ec4fd0d7da264c37b311113e59fd7

Rebase-Id: Rf0292ae426d874ac8c7cd0fa988ba7314c5256a2

7 years agoarm: tegra: Update AHCI/SATA driver support
Yen Lin [Tue, 8 Feb 2011 04:00:31 +0000]
arm: tegra: Update AHCI/SATA driver support

- Added SATA pad pll and plle initialization
- Removed usage of driver's platform data
- Implemented placeholder for SATA power-gating/ungating

Original-Change-Id: I6cd7f5fca95320aa5f429edbd4de5e28fd4c0ac7
Reviewed-on: http://git-master/r/18650
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I5cea5d8ad38b85a01287e26ded759bb8c3988530

Rebase-Id: Rc29cfb95ee43f09c3ae121356271a2d327f7d5b8

7 years agotegra:watchdog: Change timer src to timer10 for watchdog.
vdumpa [Thu, 24 Feb 2011 00:10:27 +0000]
tegra:watchdog: Change timer src to timer10 for watchdog.

Fix wdt resource definition issue either.
Bug 790458

Original-Change-Id: I7c80d6c243c42a0e632603dfcc255b70995358b2
Reviewed-on: http://git-master/r/20646
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I9897fb6614d75508bd0ffd6e866acf27a24a0cb5

Rebase-Id: Re3da893171091a337f9e6536641bb2374036b013

7 years agotegra:watchdog: Use new watchdog controller.
vdumpa [Wed, 16 Feb 2011 08:01:24 +0000]
tegra:watchdog: Use new watchdog controller.

Use new watch dog controller for CONFIG_ARCH_TEGRA_3x_SOC.
Bug 790458

Original-Change-Id: I43975a2794f44f612a5f16674cd674aeebe4e6be
Reviewed-on: http://git-master/r/19715
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Ic8c9907998a2ab1777ea2b00f1acceb6d66c10e5

Rebase-Id: Rc7878358e81b0c5cda6acf5bb30b759e26f674a7

7 years agoARM: tegra: cpu: Auto-hotplug stats control
Alex Frid [Sun, 20 Feb 2011 03:00:39 +0000]
ARM: tegra: cpu: Auto-hotplug stats control

Do not update auto-hotplug statistic when auto-hotplug is disabled;
initialize and restart updating after it is enabled.

Original-Change-Id: I3a202ab3f0d3d194207e1e881248edac1f820802
Reviewed-on: http://git-master/r/20229
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Iabc61ecd866b421d7cd819d420051ada83c97b87

Rebase-Id: Rc8e222d920642c2c61587290c8542c69538354a8

7 years agoarm: tegra: Adding device entry for SPI5 and SPI6
Laxman Dewangan [Mon, 21 Feb 2011 14:43:49 +0000]
arm: tegra: Adding device entry for SPI5 and SPI6

Adding device entries for SPI5 and SPI6 for TEGRA3 ARCH.

Original-Change-Id: Ie9d6a1e0cb9488bf07327c403edb78626137688b
Reviewed-on: http://git-master/r/20309
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>
Original-Change-Id: I7706a2b32177aaa4b4ca53d4f089cb3218f51ba3

Rebase-Id: Ra0f5901afa740929c904d681f89582d04ff230c1

7 years agoARM: tegra: cardhu:Use PLL_C for sdmmc1
Pavan Kunapuli [Fri, 18 Feb 2011 13:01:54 +0000]
ARM: tegra: cardhu:Use PLL_C for sdmmc1

PLL_C can generate 208 MHz clock for SDMMC1.
SD 3.0 cards can work at 208 MHz. Increase sdmmc1
frequency to 208 MHz.

Bug 661035

Original-Change-Id: I7afa110de4d77183c959a53b1fab31fdec37e193
Reviewed-on: http://git-master/r/20045
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I46dbac5135c5419a93d05285aa46acaf2601efc2

Rebase-Id: Rea710dad873e46a9d92f847d01cb09ccb8eb503b

7 years agoARM: tegra: clock: Add Tegra3 SE clock
Alex Frid [Sat, 12 Feb 2011 03:47:59 +0000]
ARM: tegra: clock: Add Tegra3 SE clock

Original-Change-Id: I6bad88f69d563ece381fc48c268ae8a8fcd1a3ee
Reviewed-on: http://git-master/r/19349
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I8755b0caaeaa26cf46abc217e90470aa9964fc96

Rebase-Id: R7036c5b0e298e9234e6082c7dcc9bf90a1a31561

7 years agoARM: tegra: cpu: Update auto-hotplug policy
Alex Frid [Sun, 13 Feb 2011 01:20:43 +0000]
ARM: tegra: cpu: Update auto-hotplug policy

Do not switch to G cluster if cpufreq spikes above LP frequency limit
for a short time - currently set threshold to 100ms. Fixed timing
update for LP cluster statistic.

Original-Change-Id: Id4f00fd5c39d7fe2aa931da30cf607a5144dc3ab
Reviewed-on: http://git-master/r/19381
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Ief6d391a5806d6cba20b6b5b407acb9846725260

Rebase-Id: Ref560d34203900e32b63d5b6104cb0fb105e4c63

7 years agoARM: tegra: Update secondary CPU power up procedure
Alex Frid [Sat, 12 Feb 2011 02:17:28 +0000]
ARM: tegra: Update secondary CPU power up procedure

- Wait for power up status confirmation after secondary CPU was
un-gated by flow controller (instead of directly UN-gating CPU
again if the 1st status check failed).
- Enable CPU clock only after power up is confirmed.
- Insert propagation delays before and after removing clamps.

Original-Change-Id: I81cd1479bdb49163eeb9a369fc165cede49eb71a
Reviewed-on: http://git-master/r/19372
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I061738a5c5f46299cccfcb264d9b5bd838694305

Rebase-Id: R8f3d1364c016aaf4d9856add97612dc7ac77aa6e

7 years agoarm: tegra: Fix compiler errors for non-SMP configurations
Scott Williams [Sat, 12 Feb 2011 01:21:05 +0000]
arm: tegra: Fix compiler errors for non-SMP configurations

Original-Change-Id: I7bbf5e25aa041900542e33cc5904ddcc3a945aab
Reviewed-on: http://git-master/r/19323
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ie18283ad5184b4c820c3a23b1ec8e970ad61467a

Rebase-Id: R35aca4c25a396c272d2312b02531db4a8a858cf5

7 years agoarm: tegra: Fix initial boot to LP cluster
Scott Williams [Fri, 11 Feb 2011 22:37:19 +0000]
arm: tegra: Fix initial boot to LP cluster

Forbid cluster switch to G cluster if the G cluster doesn't exist.

Bug 791057

Original-Change-Id: I215de2581edf5fb3c1feaa00d1c6e0b52b15dc23
Reviewed-on: http://git-master/r/19302
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Id0a7e5ad62df4d1638518fe00715aac60e4efea9

Rebase-Id: Re39a0fedb7bb0e2518cfd56d46c6565d4a6c2ef4

7 years agoARM: tegra: cpu: Add Tegra3 auto-hotplug statistic
Alex Frid [Wed, 9 Feb 2011 05:49:07 +0000]
ARM: tegra: cpu: Add Tegra3 auto-hotplug statistic

Add auto-hotplug statistic to track number of transitions and on-line
time for each CPU/cluster.

Original-Change-Id: Iefaf4f69068401eb7a9d4abbf725df4e21d35db9
Reviewed-on: http://git-master/r/19168
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I62209733054dddbc18741b7fca0c481c90f3aba7

Rebase-Id: R3ef66d1e09da307a7aac93082692d8ee27075299

7 years ago[arm:tegra] Change address printout from decimal to hex.
Hiro Sugawara [Fri, 11 Feb 2011 22:42:50 +0000]
[arm:tegra] Change address printout from decimal to hex.

We are more comfortable with hex memory addresses than decimal.

Original-Change-Id: I30b287cf494dd062d20b1d316e0c058700bbaaee
Reviewed-on: http://git-master/r/19299
Tested-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Iea856d89c4a6c47614e7cea8e31eb7c2f5719224

Rebase-Id: R4aea899c824c24d009434f25c152997277d1246f

7 years ago[arm:tegra] Adding more sysfs entries for SMMU debugging
Hiro Sugawara [Sat, 29 Jan 2011 05:16:11 +0000]
[arm:tegra] Adding more sysfs entries for SMMU debugging

Original-Change-Id: I3c3fbb510e70dd98ec4bc2e89c2e4f544fef6078
Reviewed-on: http://git-master/r/17558
Tested-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I84c64f33dc61e382b2e68bffa31a479277a4294a

Rebase-Id: R77c705796435c92574405bb23b9942b6313813db

7 years agoarm: tegra: clock: clock entry for i2c-tegra-slave devices.
Laxman Dewangan [Thu, 10 Feb 2011 18:41:45 +0000]
arm: tegra: clock: clock entry for i2c-tegra-slave devices.

Adding clock entry for i2c-tegra-slave devices so that i2c slave
driver can get proper clock structure to control the clocks.

Original-Change-Id: I3c5d30444e1948cdff71e32f827cb3838573294a
Reviewed-on: http://git-master/r/19096
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I38f15a607b8d9c2de7c77e4c9971b7f23c6bf520

Rebase-Id: R0c622831c981943b3e5d33a602396dd4292e7aad

7 years agoarm: tegra: Reserve SMMU I/O window address space
Scott Williams [Thu, 10 Feb 2011 22:35:32 +0000]
arm: tegra: Reserve SMMU I/O window address space

Bug 790951
Bug 791114

Original-Change-Id: I50ac8b20c1a1cd2ed5c135f940ec1791fb3dc6c0
Reviewed-on: http://git-master/r/19145
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I3406c6cc5b0733b91965983028dc5935f2ad62f8

Rebase-Id: R5dff98dee46a0789c3c4e90008a34161c81eb7b3

7 years agoARM: tegra: clock: Add Tegra3 PCIE clocks
Alex Frid [Thu, 10 Feb 2011 02:40:23 +0000]
ARM: tegra: clock: Add Tegra3 PCIE clocks

Original-Change-Id: Ief1f80913e1d103aedfa600bc23d1050d09c228f
Reviewed-on: http://git-master/r/18991
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I4362da1226e2970d3598cb5149208fd8c415fe62

Rebase-Id: R5cb863fc4ff1fbcbd2259da753ac213240cb68c2

7 years agoarm: tegra: Save CPU_SOFTRST_CTRL reg on suspend
Scott Williams [Wed, 9 Feb 2011 22:05:31 +0000]
arm: tegra: Save CPU_SOFTRST_CTRL reg on suspend

Tegra3 CPU_SOFTRST_CTRL needs to be saved/restored on suspend/resume.

Original-Change-Id: I9aa5953174ed111d8b14c1a69b71eb2f20b873cf
Reviewed-on: http://git-master/r/18985
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: If8e12e99f6029b1fefd80bb61b183f196a244060

Rebase-Id: R4dd5063edb420571f2d38c80113dbec6397d40fb

7 years agoARM: tegra: Add auto-hotplug support for Tegra3
Alex Frid [Sat, 5 Feb 2011 09:11:13 +0000]
ARM: tegra: Add auto-hotplug support for Tegra3

Initial implementation of Tegra3 quad core CPU management. Add closed
control loop on top of cpufreq DFS. Target frequency range is bounded
by Fmax(Vnominal) for low power cluster - currently set to 456MHz, and
Fmax(Vminimum) for high power cluster - currently set to 356MHz.

When CPU frequency is scaled below the target range, slave high power
CPUs are gradually brought down and eventually CPU is switched to the
low power cluster.

When CPU frequency is scaled above the target range, CPU is switched
to the high power cluster and slave high power CPUs are gradually
brought up.

The auto hotplug support is disabled on boot. It can be explicitly
enabled via sysfs interface.

Original-Change-Id: Ie0e5cf1f334d9c53932db05950cfcf5addd271d7
Reviewed-on: http://git-master/r/18500
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I86152069aa2bed73e0148a4bcab897811e1a5827

Rebase-Id: R9cf5f5f8868c659db526cb49ddf276a79d93ef1a

7 years agoarm: tegra: atag: Board information through ATAG_SERIAL
Laxman Dewangan [Sat, 5 Feb 2011 10:56:42 +0000]
arm: tegra: atag: Board information through ATAG_SERIAL

Fastboot passes the information of board info through ATAG_SERIAL.
Using this tag information to extract board info.

Original-Change-Id: I359044236756464ee3b8084878b2fd8969956fe7
Reviewed-on: http://git-master/r/18485
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I92fe8ba752606bd52039bea4c4447f24c9e56c6a

Rebase-Id: R3c2d0c6913e9f7994048eed69a7172a399acf876

7 years agoARM: tegra: Shorten cluster switch timing reports
Alex Frid [Sat, 5 Feb 2011 05:41:50 +0000]
ARM: tegra: Shorten cluster switch timing reports

Original-Change-Id: I9e0744eb937223062e0582900fd0fb33a3ae1707
Reviewed-on: http://git-master/r/18468
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I40995652cb88c643b2e8ce5e7af707bbe7d9bfed

Rebase-Id: R13c5ece418546c7945a03edae120d366685cdae2

7 years agoARM: tegra: clock: Raise Tegra3 VDE frequency
Alex Frid [Fri, 4 Feb 2011 20:04:14 +0000]
ARM: tegra: clock: Raise Tegra3 VDE frequency

Original-Change-Id: I15d6ee8b8733e2cacc2ae720e860ff3d33e2cadb
Reviewed-on: http://git-master/r/18366
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Mohan Nimaje <mnimaje@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I97c80f8ac52fca629dca99d285cbdc453a9462d4

Rebase-Id: R2a289b2001e69cbf1a531b1416f07c1dfc854c36

7 years agoarm: tegra: Add run-time cluster switch debug control
Scott Williams [Tue, 1 Feb 2011 20:52:39 +0000]
arm: tegra: Add run-time cluster switch debug control

Allow run-time control of cluster switch debug messages
so they can be enabled for debuggability and disabled for
performance measurement.

Original-Change-Id: Id2bd85d6a9d3a57430a20d93b51ce5b59fe53c71
Reviewed-on: http://git-master/r/17927
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ia57424eee01276d82af7aab37d2f3d0525acc379

Rebase-Id: Rb7054dcdd910d9f1b82edb485856e868a47c5034

7 years agoarm: tegra: printing board sku correctly
Laxman Dewangan [Thu, 3 Feb 2011 14:12:15 +0000]
arm: tegra: printing board sku correctly

Printing board SKU correctly during boot.

Original-Change-Id: Ib1071ac640bf32db41cb0b8442cbd14bbe97980c
Reviewed-on: http://git-master/r/18197
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I07741921f7cf46fbcd268ca97412ba5af78ecdd4

Rebase-Id: R6fc5a6a88e9bb75502631d427393c9386b974934

7 years agoarm tegra:Using pll_p clk source for sdmmc instances.
Pavan Kunapuli [Thu, 3 Feb 2011 07:20:22 +0000]
arm tegra:Using pll_p clk source for sdmmc instances.

Using pll_p clk source for all sdmmc instances.
Disabling clocks left over by the bootloader.

Original-Change-Id: I245347b016618c39a4ceb2323f659b09261eaf7d
Reviewed-on: http://git-master/r/17847
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I0790f6f67c944a9ca42be9d6b9398d8093b4beef

Rebase-Id: Reb04f18203438d4d42e6f066d4c5216b692aabc2

7 years agoARM: tegra: cpufreq: Add Tegra3 cpufreq table
Alex Frid [Wed, 2 Feb 2011 04:46:21 +0000]
ARM: tegra: cpufreq: Add Tegra3 cpufreq table

Add Tegra3 cpufreq table and table selection interface. CPU scaling
is still disabled.

Original-Change-Id: I5a446cabe27dd89a67fdbeedf1118b71578088c3
Reviewed-on: http://git-master/r/17985
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I6d8856741c02d40ea8b0493545cbceffb63320b1

Rebase-Id: Rabdcadb41c3fb75d994383eaf9ce413080126073

7 years agoarm: tegra: Instrument cluster switch transitions
Scott Williams [Tue, 1 Feb 2011 03:56:16 +0000]
arm: tegra: Instrument cluster switch transitions

Original-Change-Id: I1526de69a1224f42ce3ff11ba1b6fa949c2f13a5
Reviewed-on: http://git-master/r/17787
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I43caec7348d970dc076f27cc2bb4b6ded234a38c

Rebase-Id: Ra122021184a1c12cc85e08cd3d7abe41345db058

7 years agoarm: tegra: Fix spdif driver issues for T30.
Vinod G [Tue, 1 Feb 2011 22:51:16 +0000]
arm: tegra: Fix spdif driver issues for T30.

Bug Id 786814
Bug Id 787110

Spdif is exposed as a device. Apbif channel 3 is fixed for spdif now.

Original-Change-Id: I1410fac521c7880f088e3274d3d660e20dd78223
Original-Change-Id: I63a59834c130207655544abf35424eb6ea4943be
Original-Change-Id: Ib96cd03bf30a537aaac9e11eeb9f0178c4218672
Reviewed-on: http://git-master/r/17944
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I2ab35521f4616eaec3c98e8c50e5f9b9f2f0ba93

Rebase-Id: R85fba25008a7a39b7f568726d9402cafbf97b6ef

7 years agoARM: tegra: clock: Raise Tegra3 AVP frequency
Alex Frid [Mon, 31 Jan 2011 18:07:57 +0000]
ARM: tegra: clock: Raise Tegra3 AVP frequency

Increased initialization frequency for AVP/SCLK clock to maximum for
Tegra3 platforms.

Original-Change-Id: I6cc8c47c0e830af740e1a9323004513729d4e7ab
Reviewed-on: http://git-master/r/17712
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ica65140e11770749cbce9a380feb0a46f192ed92

Rebase-Id: Rdcc6b03e8d1a2ad387f85166b6ca7cc6ee92d827

7 years agoARM: tegra: clock: Add DCCON support for Tegra3 PLLM
Alex Frid [Tue, 1 Feb 2011 04:52:05 +0000]
ARM: tegra: clock: Add DCCON support for Tegra3 PLLM

Original-Change-Id: Ic66ca456e1eef6b3775ca79c23220d1fc436cd76
Reviewed-on: http://git-master/r/17834
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ibd8b119d13d748f186f66947822f6f1b9898f351

Rebase-Id: R33df5ccfd13f0a6b645c7be99fc89e0c8894c5a5

7 years agoARM: tegra: clock: Add Tegra3 DSIB mux support
Alex Frid [Tue, 1 Feb 2011 02:53:45 +0000]
ARM: tegra: clock: Add Tegra3 DSIB mux support

Original-Change-Id: Ifd463670e828adb8429b5408c9c0f0957706d717
Reviewed-on: http://git-master/r/17820
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I82837a72c05cfe70ead2f222933a0ed05defdbad

Rebase-Id: R5ac60fd8055e8f06f82094e0e83dc90706fa389c

7 years agoarm: config: tegra: cardhu: config for Verbier E1187
Laxman Dewangan [Mon, 31 Jan 2011 09:29:07 +0000]
arm: config: tegra: cardhu: config for Verbier E1187

Adding config variables for the Verbier E1187 configuration.
By default cardhu will be build for E1198.
The cardhu can be build for E1187 by saying config variable
CONFIG_TEGRA_VERBIER_E1187 to yes.

Original-Change-Id: I635ac29c418be6d8f59f681c8755b682d02e60f1
Reviewed-on: http://git-master/r/17663
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>
Original-Change-Id: Ia930e4319305923c6d4c2cf32eb6a286132f0ab9

Rebase-Id: Ra438a70ee6694e52889c9f4b51826920f53a11f8

7 years agoARM: tegra: clock: Increased Tegar3 maximum limits
Alex Frid [Sun, 30 Jan 2011 10:12:39 +0000]
ARM: tegra: clock: Increased Tegar3 maximum limits

Increased Tegar3 maximum limits for AVP, MPE, NAND, NOR,
and SDMMC clocks.

Original-Change-Id: I40dc3bb7819103bca527b37b7bcb75656eb384dc
Reviewed-on: http://git-master/r/17617
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ifde905c87d3fd468f405f37ef9302a4872da7f6e

Rebase-Id: R4a42d19b352a1b425f47ec6d5a8d45fc19384bf5

7 years agoARM: tegra: clock: Allow any clock to be a shared clock
Jin Qian [Sat, 18 Dec 2010 01:48:59 +0000]
ARM: tegra: clock: Allow any clock to be a shared clock

Signed-off-by: Colin Cross <ccross@android.com>
(cherry picked from commit fb127f4e4590fac7674d1eadae1c06e7ca0132e2)

Original-Change-Id: I702957b20bd26e0bede675e119bedd3312d9eec6
Reviewed-on: http://git-master/r/13696
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Iff0642ac6bc02a3d4710ddf524c46781549a7839

Rebase-Id: Re2c02361bb2b3d96988fbe464150d0ffbffde2a4

7 years agoARM: tegra: clock: Add Tegra3 external output clocks
Alex Frid [Sun, 30 Jan 2011 01:47:47 +0000]
ARM: tegra: clock: Add Tegra3 external output clocks

Original-Change-Id: I2437268b2916d11b1ea9564a06333d8e037a5bc1
Reviewed-on: http://git-master/r/17610
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I49d5248d120233d175a090c27250a32c43ace140

Rebase-Id: R44bdc53347754c7f7e7087883910a779a63410b7

7 years agoARM: tegra: clock: Removed dummy Tegra3 cdev1/2 clocks
Alex Frid [Sun, 30 Jan 2011 02:14:43 +0000]
ARM: tegra: clock: Removed dummy Tegra3 cdev1/2 clocks

Original-Change-Id: I6e6316b9817c5c9f53733745cf3e741ed24d04e8
Reviewed-on: http://git-master/r/17609
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Idbd91768c5d8ac24f0a5aabcdac1eecb635c2d7c

Rebase-Id: Ra5cacc275bc15d6716992827a19a9a4f3614004b

7 years agoARM: tegra: clock: Add Tegra3 main clock dividers
Alex Frid [Sun, 30 Jan 2011 02:01:55 +0000]
ARM: tegra: clock: Add Tegra3 main clock dividers

Original-Change-Id: I4d2b527bc5ef457f7c873aff4a974d248e1aa21e
Reviewed-on: http://git-master/r/17608
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Icc875c8e12e6ed654c8adb175cdf2b55bae7621e

Rebase-Id: Re6fbc035585fe8456babb22a74c42c6f5a8d3d65

7 years agoARM: tegra: clock: Re-factor peripheral mux support
Alex Frid [Sat, 29 Jan 2011 04:36:54 +0000]
ARM: tegra: clock: Re-factor peripheral mux support

Original-Change-Id: I8201a2439cdbddb78eee73f067cac1d23d3dc5b5
Reviewed-on: http://git-master/r/17607
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I00dc6ed228b8686da0a6015cea0f91b6e288c62f

Rebase-Id: R51277a00c32c56c1df05538ab80609c5e629d269

7 years agoarm: tegra: pinmux: Supporting LOCK/OD/IORESET pin configuration.
Laxman Dewangan [Fri, 28 Jan 2011 23:51:53 +0000]
arm: tegra: pinmux: Supporting LOCK/OD/IORESET pin configuration.

Supporting the LOCK, OpenDrain (OD), IO_RESET configuration on pinmux register
through pinmux apis.

Original-Change-Id: I2459723c5fbcadd925331696c9469f64d2ba3b20
Reviewed-on: http://git-master/r/17532
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Tested-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: Ibd06c9a650ffbacf51530514e58bd52d1f60b4f2

Rebase-Id: R8e593a0b1e27db641d2e0c7b57a2946d97819f25

7 years agosdhci-tegra:Enabling LVL2_CLK_OVR for sdmmc1
Pavan Kunapuli [Sat, 29 Jan 2011 03:17:33 +0000]
sdhci-tegra:Enabling LVL2_CLK_OVR for sdmmc1

Enabling LVL2 CLK OVR bit for sdmmc1.
Disabling cd and wp gpios for sdmmc1.
Enabling vddio_sdmmc1 using regulator and
setting the voltage to 3.3V.
Using clk_m for sdmmc1.

Original-Change-Id: Id38e2357c5cafe103b7607ef5adb4e7e9bc228d4
Reviewed-on: http://git-master/r/17212
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I89e4ab5b4cc501cf02eb800bc3acb49b0dba2519

Rebase-Id: Rac6dfd5664a284867f0404c0a5d65fc23411b98a

7 years agoARM: tegra: clock: Increased Tegra3 VDE clock limit
Alex Frid [Sat, 29 Jan 2011 01:44:18 +0000]
ARM: tegra: clock: Increased Tegra3 VDE clock limit

Original-Change-Id: I2ce2aed8d456a0abe962ffa6bbde9e324158c15e
Reviewed-on: http://git-master/r/17543
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I32a42280efaedbcde767f284ced82147a3bdb095

Rebase-Id: R0b2eaa6fbed36dd81e602a2b3f680d961fd25173

7 years agoARM: tegra: clock: Add Tegra3 APBIF clock
Alex Frid [Fri, 28 Jan 2011 23:38:08 +0000]
ARM: tegra: clock: Add Tegra3 APBIF clock

Original-Change-Id: Ie59be73aa3ff3269ff0508009ecccd6a33876dde
Reviewed-on: http://git-master/r/17531
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Ifc0fc25c7345bb805ba65ba0c2c79022bb936841

Rebase-Id: Rbe1763ff1fb17b75ede57f9c104dc0f88067904b

7 years agoARM: tegra: clock: Re-factor Tegra3 audio sync clocks
Alex Frid [Fri, 28 Jan 2011 08:32:01 +0000]
ARM: tegra: clock: Re-factor Tegra3 audio sync clocks

Move audio sync clock sources to the root of clock tree. This removes
possible circular dependencies in the clock graph, and let the sync
clock owner to set input rate directly.

Original-Change-Id: I2b07f00575096b4b474f3c7d5e8fa66394cc16f6
Reviewed-on: http://git-master/r/17530
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I70e2b75086d5aed32aa3d3ac5603faeeb63a676b

Rebase-Id: Rda339dc7f5a30d6e82177430a10daddbe2529cb0

7 years agotegra:arm: Set inner-WBWA/outer-WBNWA cacheability attributes
vdumpa [Wed, 17 Nov 2010 23:57:13 +0000]
tegra:arm: Set inner-WBWA/outer-WBNWA cacheability attributes

Change the cacheability attributes in the normal memory remap
register (NMRR) to inner write-back write-allocate/outer write-back
no-write-allocate to improve L2 cache performance.

Bug 728231
Bug 751146

Original-Change-Id: I992dd20b3cec3b0141ae114d5ae278122be0212d
Reviewed-on: http://git-master/r/11077
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-on: http://git-master/r/17475
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I0de3100975c592fe4a18780c2b0eb2c5d12258d7

Rebase-Id: R430708cbf798ff30f5a5394a5235942e95bda2d4

7 years agoARM: tegra: clock Increased 3D/2D Tegra3 clock limits
Alex Frid [Fri, 28 Jan 2011 02:12:54 +0000]
ARM: tegra: clock Increased 3D/2D Tegra3 clock limits

Original-Change-Id: Ic930ffaf2d441466bc03be0b8f97582dc750f3d7
Reviewed-on: http://git-master/r/17372
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Tested-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I9cebd7e83cdc28be5c4f7c458e71f5376b6eb84a

Rebase-Id: R5bf9f4fc77fee2b2ac5d490d606ac13c6f24c620

7 years agoarm: tegra: sdhci: Do not disable sdmmc4 clock
Pavan Kunapuli [Wed, 26 Jan 2011 19:14:53 +0000]
arm: tegra: sdhci: Do not disable sdmmc4 clock

Do not switch off sdmmc4 clock. Also, removed ddr
mode temporarily from linux mmc driver.
Programming tap_delays and internal clock.

Original-Change-Id: I830bf5e94ccd47e154c5ef9909e8bff1ff7754c0
Reviewed-on: http://git-master/r/17070
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ic1cff8dd85229fe903206f1dc9a967d600ba88c1

Rebase-Id: R9c15db46ec7f4073c03301dbc77ee5cb2f7800bd

7 years agoARM: tegra: nvhost: Add the 2nd 3D clock control
Alex Frid [Thu, 27 Jan 2011 02:45:21 +0000]
ARM: tegra: nvhost: Add the 2nd 3D clock control

Original-Change-Id: Icfc816638b6010b46b2e587827322ef41a7e08d6
Reviewed-on: http://git-master/r/17141
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I7b792509dd5c99f86bb4a85ba5b092a80022ed78

Rebase-Id: R8b13aab912ee8c9602ab409660e8cd9a9fb7a783

7 years agoarm: tegra: Do not write read-only bits
Scott Williams [Thu, 20 Jan 2011 23:17:19 +0000]
arm: tegra: Do not write read-only bits

AXI_FLUSH_DONE (bit 31) of CLK_RESET_CLK_MASK_ARM is a read-only
status bit. Do not write it.

Reviewed-on: http://git-master/r/16456
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
(cherry picked from commit 34add7dc2e7398763fe36db7f4e79657cdd6e95e)

Original-Change-Id: Ia480e1b3113f7690ce6431f337b0c9354566d2ef
Reviewed-on: http://git-master/r/16936
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ic3ae3fa92e563f27a7b0bf5fe1d4c14a9d953ed6

Rebase-Id: R2405ee8d5543270fc4e103a8c53d9b6c6e1809aa

7 years agoARM: tegra: clock: Prevent parent over-clocking
Alex Frid [Tue, 25 Jan 2011 06:12:28 +0000]
ARM: tegra: clock: Prevent parent over-clocking

Pre-set clock rate when changing parent to avoid parent over-clocking
during clock initialization from common/board specific tables. Drivers
however, may still hit over-clocking error.

Original-Change-Id: Ib101d85e90ab4c1194ac98680c930eebd8c56b76
Reviewed-on: http://git-master/r/16877
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I307e7eb507d885c381087812d262d56338aab861

Rebase-Id: R1c5fae8b3b048b31b2ed775a602ea33afb5c732e

7 years agoARM: tegra: clock: Add check for parent over-clocking
Alex Frid [Tue, 25 Jan 2011 04:33:16 +0000]
ARM: tegra: clock: Add check for parent over-clocking

Fail clk_set_parent() interface if switching the clock parent will set
the rate above maximum limit.

Original-Change-Id: I47c0798dafe5f8f497dcacfcd23f6957244cdb0a
Reviewed-on: http://git-master/r/16876
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ie5fef027411096a465ae5aa84fe84a08a769a613

Rebase-Id: Rce314c75bbd31c8fc579e7bd22a00777dc6e94dc

7 years agoARM: tegra: clock: Fixed HDA clock divider type
Alex Frid [Mon, 24 Jan 2011 21:00:33 +0000]
ARM: tegra: clock: Fixed HDA clock divider type

Fixed HDA clock divider type accidentally changed by commit
6cef984455dfe49e1dda12b2a191ef3308a9cdcb

Original-Change-Id: Iceb4c1188808ec6cd2f41b6d39dd18356f1ed24d
Reviewed-on: http://git-master/r/16806
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I80710f1d21d1b65f7837ec601d3b70962417b2a9

Rebase-Id: R447fb8b04f4ff1ef39b00a7d1eff7350eef759e8

7 years agoARM: tegra: clock: Add Tegra3 PLLE support
Alex Frid [Sun, 23 Jan 2011 02:40:45 +0000]
ARM: tegra: clock: Add Tegra3 PLLE support

Original-Change-Id: Iba29ff515fd850cd0f736d5ef693877e85fb0c5c
Reviewed-on: http://git-master/r/16660
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yen Lin <yelin@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I8d6efae37847fcbda12290b6cd5d61e6a61c2777

Rebase-Id: R9a7e6567990346882ad742c43b8ab8f41cfda9d0

7 years agoARM: tegra: Add Tegra3 speedo stubs
Alex Frid [Sun, 23 Jan 2011 04:07:49 +0000]
ARM: tegra: Add Tegra3 speedo stubs

Original-Change-Id: I05b9b8014062a28a69407c08fc630a280214315e
Reviewed-on: http://git-master/r/16661
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I190f04798473bf4452d00561cae96e45085c3dc0

Rebase-Id: Rad0832a8d7afd74adeaaaf0faaad40e0ac0a8f1d

7 years agoARM: tegra: clock: Propagate errors in debugfs
Alex Frid [Sun, 23 Jan 2011 03:08:54 +0000]
ARM: tegra: clock: Propagate errors in debugfs

Original-Change-Id: I7d7f4f49cc1e41707032467197d53967d3ecaf06
Reviewed-on: http://git-master/r/16659
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I9e04b2833ef12466664cf6f6c2666d440600db08

Rebase-Id: Rd3ba800e548a5ccf6a756d5523a0fc240819dc64

7 years agoARM: tegra: clock: Add clock state debugfs control
Alex Frid [Sun, 23 Jan 2011 01:05:01 +0000]
ARM: tegra: clock: Add clock state debugfs control

Original-Change-Id: I2a16c36c8ee414a1f046eda2f3bdb9c1d71caf8b
Reviewed-on: http://git-master/r/16657
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Icc4b526f44697bd788d83434f6e9a62de005b09c

Rebase-Id: R34e12f5fbafa93a8f01cd00d83a33b356d0782ec

7 years ago[arm:tegra] Adding MC_DECERR interrupt handler
Hiro Sugawara [Wed, 19 Jan 2011 21:57:30 +0000]
[arm:tegra] Adding MC_DECERR interrupt handler

Adding MC_DECERR interrupt handler ported from Froyo.
This addition will not gracefully terminate a failing DMA transfer.
The handler does noting but simply reporting the error status with prink,
and the clinet software will likely hang forever waiting for a non-
completing DMA transfer. But it is still useful for debugging.

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

Original-Change-Id: I7b19c70d8cbb62be9ab3f955bf19c707c1e5045d
Reviewed-on: http://git-master/r/16590
Tested-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ibdcfe63d56d22e39d8c5398ff50eb663bd0d82f3

Rebase-Id: R5a24a2ae2ab4585c3d48c76761beef815a665649

7 years agoarm: tegra: Add SATA support
Yen Lin [Thu, 13 Jan 2011 20:37:10 +0000]
arm: tegra: Add SATA support

Original-Change-Id: I18c63f1c69e155ddc1cec1718af9684d861815b7
Reviewed-on: http://git-master/r/15863
Tested-by: Yen Lin <yelin@nvidia.com>
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/16485
Original-Change-Id: I6afa5a097b4fc7d6c45614107118458da0d9d888

Rebase-Id: R18ae88707c208faafc26de033e9f34a7466fa608

7 years agoARM: tegra: clock: Fixed Tegra3 audio pll and board setting
Alex Frid [Wed, 19 Jan 2011 05:40:48 +0000]
ARM: tegra: clock: Fixed Tegra3 audio pll and board setting

Original-Change-Id: I3fd6622c4f4ff43b8ab03d552dd488a51d2cfdf4
Reviewed-on: http://git-master/r/16209
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I1279516ce261882d9e390cb6adbdb9bcffac0f94

Rebase-Id: R99acf534b4011b4272084369c9fb39816b44218e

7 years agoARM: tegra: clock: Update Tegra3 round rate operations
Alex Frid [Wed, 19 Jan 2011 05:06:00 +0000]
ARM: tegra: clock: Update Tegra3 round rate operations

(port changes by Colin Cross from Tegra2 clock framework)

Original-Change-Id: I6f268c82fe1011ecfad86a87e617f50260083f2a
Reviewed-on: http://git-master/r/16208
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I87bdaf070dcf354d76dd8da8dcde647c3be4ed62

Rebase-Id: Rc0dd9ca4bc57204acc34c8e40e6b089a4fb17fa4

7 years agoARM: tegra: Add Tegra3 kfuse clock
Alex Frid [Wed, 19 Jan 2011 04:29:04 +0000]
ARM: tegra: Add Tegra3 kfuse clock

Original-Change-Id: I4969fe983dba767bfcff11d6dfc9187c3545568a
Reviewed-on: http://git-master/r/16207
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I79e6b93cb9c57e1aa5033ab1e4bc487f144bd982

Rebase-Id: R55181d87299e4cb2b652779ea84ed66db274dbe7

7 years agoarm: tegra: Enable Tegra3 APB DMA channels 16-31
Scott Williams [Sat, 15 Jan 2011 00:19:23 +0000]
arm: tegra: Enable Tegra3 APB DMA channels 16-31

Original-Change-Id: Ia098e22789f4817e14ac34de01f8d990b4b4d29b
Reviewed-on: http://git-master/r/15975
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: If9677ac2190d8d2266ee40d011f5841e97838522

Rebase-Id: R2a64c748b9d73d8c833ef09aa3c7d19b7eee532b

7 years agoarm: tegra: Enable Tegra3 cluster control
Scott Williams [Fri, 7 Jan 2011 18:48:48 +0000]
arm: tegra: Enable Tegra3 cluster control

Original-Change-Id: I162c061f8a1851394d6390bc1234910cdf0972b3
Reviewed-on: http://git-master/r/15269
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I0dc20ab81db7456c0faf3a81984f2821e7d565ae

Rebase-Id: R880097280de4f9691f689ab8ab25f08020e98e23

7 years agoarm: tegra: Fix reserved memory area reporting
Scott Williams [Thu, 13 Jan 2011 22:30:20 +0000]
arm: tegra: Fix reserved memory area reporting

Also fixes:
 - possible unitialized global variable usage.
 - corruption of the LP0 code segment if there is no bootloader framebuffer.

Original-Change-Id: Ic163be339dad8b9bb3c3ffe509ccfd8ea33c8299
Reviewed-on: http://git-master/r/15875
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ibc6838c412caf0e2f452a4737ec36ad67434f636

Rebase-Id: R957b8e03b5c3f1db1eabb880589357d49c65a49a

7 years agoMerge remote branch 'git-master/android-tegra-2.6.36' into 0112-1120
Dan Willemsen [Sat, 26 Mar 2011 01:49:07 +0000]
Merge remote branch 'git-master/android-tegra-2.6.36' into 0112-1120

Conflicts:
Makefile
arch/arm/configs/tegra_defconfig
arch/arm/configs/tegra_whistler_android_defconfig
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/board-ventana-sensors.c
arch/arm/mach-tegra/board-ventana.c
arch/arm/mach-tegra/board-whistler-panel.c
arch/arm/mach-tegra/board-whistler-pinmux.c
arch/arm/mach-tegra/board-whistler-power.c
arch/arm/mach-tegra/board-whistler-sensors.c
arch/arm/mach-tegra/board-whistler.c
arch/arm/mach-tegra/board-whistler.h
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/cpu-tegra.c
arch/arm/mach-tegra/devices.c
arch/arm/mach-tegra/devices.h
arch/arm/mach-tegra/dma.c
arch/arm/mach-tegra/fuse.c
arch/arm/mach-tegra/fuse.h
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/include/mach/clk.h
arch/arm/mach-tegra/include/mach/iomap.h
arch/arm/mach-tegra/include/mach/system.h
arch/arm/mach-tegra/irq.c
arch/arm/mach-tegra/spi_tegra_slave.c
arch/arm/mach-tegra/suspend.c
arch/arm/mach-tegra/tegra2_dvfs.c
arch/arm/mach-tegra/tegra2_emc.c
arch/arm/mach-tegra/tegra2_emc.h
arch/arm/tools/mach-types
arch/x86/kvm/svm.c
drivers/cpufreq/cpufreq_interactive.c
drivers/crypto/tegra-aes.c
drivers/gpio/cs5535-gpio.c
drivers/hwmon/nct1008.c
drivers/misc/Makefile
drivers/net/wireless/p54/p54usb.c
drivers/regulator/max8907c-regulator.c
drivers/rtc/rtc-tegra.c
drivers/usb/gadget/fsl_udc_core.c
drivers/usb/host/ehci-tegra.c
drivers/usb/host/xhci-mem.c
drivers/usb/otg/tegra-otg.c
drivers/usb/serial/ftdi_sio.c
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/hdmi.c
drivers/video/tegra/dc/hdmi.h
drivers/video/tegra/host/dev.c
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/nvhost_intr.c
include/linux/nct1008.h
net/econet/af_econet.c
sound/soc/tegra/Kconfig
sound/soc/tegra/tegra_i2s.c
sound/soc/tegra/tegra_pcm.c
sound/soc/tegra/tegra_soc.c
sound/soc/tegra/tegra_soc.h

Original-Change-Id: I5b39fd8ea2284828e9cb3b5ce4330728e20b1662
Reviewed-on: http://git-master/r/15736
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I71ecd7c4426e7e82500f12d57b85a6bcc417065c

Rebase-Id: Rc18bd03bdd6ef4cf0a5ae6f7dc863729deb2eb27

7 years ago[nvrm SMMU] Adding more precice SMMU cache control
Hiro Sugawara [Tue, 11 Jan 2011 19:50:43 +0000]
[nvrm SMMU] Adding more precice SMMU cache control

More precice contol of SMMU's PTC and TLB caches to eradicate
page access faults.
Refer to change 11647.

Original-Change-Id: I5b8a4bdb313dd606b0217b2ba202c544e5e179c5
Reviewed-on: http://git-master/r/15548
Tested-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ib8d164c2e8fcef901188cba5c793eb0986b4e2b6

Rebase-Id: R6fe08bce725ae8138d2278f592d6ab7930daf563

7 years ago[arm/tegra] Enable audio device in T30
Vinod G [Fri, 14 Jan 2011 03:57:20 +0000]
[arm/tegra] Enable audio device in T30

audio device is enabled in the device file

Original-Change-Id: Id19526c0be5d77c25e81cb1e75648288174fadd0
Reviewed-on: http://git-master/r/15910
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Original-Change-Id: I3eaf368150a62df38683f79c10180078a57052c3

Rebase-Id: R865e609be363dfa234d06ff4a90914df1d491499

7 years agotegra: avp: enable AVP and moduleloader
Kaz Fukuoka [Mon, 6 Dec 2010 01:56:54 +0000]
tegra: avp: enable AVP and moduleloader

- Load AVP kernel at fixed address.
- Use nvmem= carveout to load AVP kernel.

bug 765965
bug 777221

Original-Change-Id: I60b650a395936450687cea9b881f78bcee854421
Reviewed-on: http://git-master/r/15343
Tested-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I34b6acd03075325733a7bc3f005b71a7c1721919

Rebase-Id: Rd49ac25885533bfda0e9e346e8c9acf0a90d2e05

7 years ago[ARM/tegra] HDA Driver support
Dara Ramesh [Wed, 12 Jan 2011 04:15:54 +0000]
[ARM/tegra] HDA Driver support

Adding HDA audio driver support for Tegra3

Original-Change-Id: I81a76a54f6ce5390051d96dbeadf447682f9ff0e
Reviewed-on: http://git-master/r/15405
Tested-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I8525ef7317606b895818e73ec92ca174dddf609e

Rebase-Id: R22fcd501393111d656418f67928f5dfd0b38c870

7 years ago[ARM] tegra: Fixing the details of config TEGRA_FPGA_PLATFORM
Kirubakaran Sampath [Mon, 10 Jan 2011 15:26:44 +0000]
[ARM] tegra: Fixing the details of config TEGRA_FPGA_PLATFORM

Adding the details like default value and help for the config
variable TEGRA_FPGA_PLATFORM in Kconfig file.

Making cardhu as depends on Tegra3 soc architecture.

Original-Change-Id: Ib395ffa09c44a8924fdc6bf514132d98acec7bc8
Reviewed-on: http://git-master/r/15408
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ic797d7f5fbcec7c7763f8fe4b694afb385e3ad4c

Rebase-Id: R971b115a978dc241ee2dda9ddc72c7f9295278a7

7 years agoarm: tegra: Fix hardcoded frame buffer addresses
Scott Williams [Tue, 11 Jan 2011 18:50:52 +0000]
arm: tegra: Fix hardcoded frame buffer addresses

Dynamically obtain the carveout and framebuffer addresses.

Bug 769986

Original-Change-Id: I9b8eeb710e5198ab9ae4e7e6c7095cfd23209e66
Reviewed-on: http://git-master/r/15534
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ia6f68817b65281bd5da4f8774476a947fd970950

Rebase-Id: R0b89a83745b538f0d0b8eb5ceaecacb785b643a6

7 years agoARM: tegra: clock: Add clock change delay
Alex Frid [Tue, 11 Jan 2011 07:26:40 +0000]
ARM: tegra: clock: Add clock change delay

Added 2us clock change delay to peripheral and pll divider clock
operations.

Original-Change-Id: Ib2f138d4be89542c46fd7ad24bd57ad75baf2548
Reviewed-on: http://git-master/r/15542
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ieb7f88404ab3f42612502a58666f70c469e40056

Rebase-Id: R33ebe4fa53b2636c1b2328c591dbda5d0dbabbbf

7 years agoARM: tegra: clock: Fix set parent/rate corner cases
Alex Frid [Tue, 11 Jan 2011 06:10:43 +0000]
ARM: tegra: clock: Fix set parent/rate corner cases

- Prevented division by 0 when 0 rate is requested
- Prevented attempt to set parent for clocks with no mux (otherwise
  write to CAR register at offset 0 may affect WDT operations)

Original-Change-Id: I1beb8850cf96198422b1f07d807be18a1dce3aaf
Reviewed-on: http://git-master/r/15541
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Icfda0e3919c238895e613f97c9e982fbbd4055b0

Rebase-Id: R238f813f719ad228574d919c83751d3bede4bfd0

7 years agoARM: tegra: clock: Add missed tegra clocks to Tegra3
Alex Frid [Tue, 11 Jan 2011 05:13:47 +0000]
ARM: tegra: clock: Add missed tegra clocks to Tegra3

Added to Tegra3 kbc, bsev and duplicate vde clocks missed in merge.

Original-Change-Id: I30df934c933a88186f49c44d538ca35d1e1835b5
Reviewed-on: http://git-master/r/15540
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I362543a1c7215131836ca5b9f5fdb37549db376a

Rebase-Id: R5111435fe6071be50ab6b418be937ee17871a5ef

7 years agoARM: tegra: clock: Add Tegra3 EMC shared bus
Alex Frid [Sun, 9 Jan 2011 05:00:54 +0000]
ARM: tegra: clock: Add Tegra3 EMC shared bus

Original-Change-Id: I0c8ed371abb9f2172d42504527d7585e6bef6c94
Reviewed-on: http://git-master/r/15349
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I78576a1ac1bfbb89a59ca428d94a7a99edde6777

Rebase-Id: R3cab0fa7760e2c6eb5d6e84bbc3dca8f6fe3d3fa

7 years agoARM: tegra: clock: Extend MIPI clocks configuration
Alex Frid [Thu, 6 Jan 2011 06:08:05 +0000]
ARM: tegra: clock: Extend MIPI clocks configuration

Original-Change-Id: I61a3ec95f15413fa4f9ee088897f3a45ab1732d8
Reviewed-on: http://git-master/r/15145
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I3fe2c9df35d2bdb737b093f7aff637c9b37de849

Rebase-Id: R51549144b84493f5a7f12364ec4022f93f914f4c

7 years agoARM: tegra: clock: Re-factor extended clock operations
Alex Frid [Thu, 6 Jan 2011 05:56:48 +0000]
ARM: tegra: clock: Re-factor extended clock operations

Re-factored extended clock operations to enumerate configuration
parameters.

Original-Change-Id: I6c1e5f07803a8e6da0ebd6690892f50bb59efcd5
Reviewed-on: http://git-master/r/15144
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I25147998969b385905bad5eb3ceb2dbb89c0d93a

Rebase-Id: R815ccca27fac9a0af334c188ce77e0ec4fdad9b2

7 years agoARM: tegra: clock: Add more Tegra3 clocks
Alex Frid [Wed, 5 Jan 2011 07:53:35 +0000]
ARM: tegra: clock: Add more Tegra3 clocks

Original-Change-Id: I19588834e5b716bb76552e517c2177f03937ef06
Reviewed-on: http://git-master/r/15081
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Yen Lin <yelin@nvidia.com>
Tested-by: Yen Lin <yelin@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I7e9ffeae0728962085b9603a9b7a21c3013b11d7

Rebase-Id: R0054bf7986fed9f78bff0f0487bd94a773a23aef

7 years agoarm: tegra: Enable DCC sysfs device node
Scott Williams [Thu, 6 Jan 2011 01:19:58 +0000]
arm: tegra: Enable DCC sysfs device node

Original-Change-Id: Ifdad566dfc809771de5f66301d3a8a98a49bb679
Reviewed-on: http://git-master/r/15079
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I47af8814b72786b52c25e824c79ccf4e52ca0b62

Rebase-Id: R2f4ae262a94e887f88f749bd0a1103b201e1b3c5

7 years agoarm: tegra: Add Tegra3 cluster-dependent PL310 timing values
Scott Williams [Thu, 6 Jan 2011 01:53:39 +0000]
arm: tegra: Add Tegra3 cluster-dependent PL310 timing values

The tag and data RAM latency values for the PL310 L2 cache controller
are different between the G and LP CPU clusters. Set the correct
cluster-dependent value whenever initializing or re-initializing
the L2 cache controller.

Original-Change-Id: I7681ebec58eaff293577269a85c51994140b1e34
Reviewed-on: http://git-master/r/15082
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I3f637783b52930f1d9303e044b645c7d136efc70

Rebase-Id: R3ca0fe222b013b22c01f1869616e729e975349ac

7 years agoARM: tegra: clock: Add extended clock configuration
Alex Frid [Tue, 4 Jan 2011 06:51:56 +0000]
ARM: tegra: clock: Add extended clock configuration

Some peripheral clock source registers have extra bits with setting
specific for the respective controller. Added mechanism to manipulate
these bits from the clock code with proper locking. Implemented NAND,
VI and DTV extended configurations.

Original-Change-Id: Ic8a1887923f0b98f9b1fac06dcf4f90084b017c0
Reviewed-on: http://git-master/r/15059
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Original-Change-Id: Ic3416be8683c90043376d6675269fc23e440f61d

Rebase-Id: Rd3e7af5a00bf9580816853456ddb6f19b9bc5b2b

7 years agoarm: tegra: Add Tegra3 wakeup sources
Scott Williams [Wed, 5 Jan 2011 16:44:01 +0000]
arm: tegra: Add Tegra3 wakeup sources

Original-Change-Id: I77cb790db20cc8c8b67069130c0bc8724ba8934e
Reviewed-on: http://git-master/r/15027
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I45764ed134dc0be2a21d7641692efb9c847a9b7a

Rebase-Id: R0a34fc6fc83145c3720471d359216befb5d0bf5b

7 years agoarm: tegra3: Fix chip unique id generation
Scott Williams [Tue, 4 Jan 2011 03:17:59 +0000]
arm: tegra3: Fix chip unique id generation

Original-Change-Id: I1bb441213edfd6440e890e0eb77c07577168d2a9
Reviewed-on: http://git-master/r/14854
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Id4470677f046ef4f3ff9f592cb5d7aafee460e07

Rebase-Id: R93290bbeec5c12c8fe9acf301d66c22191f5821e

7 years ago[usb/tegra] enabling support for usb device
Suresh Mangipudi [Thu, 30 Dec 2010 10:38:27 +0000]
[usb/tegra] enabling support for usb device

enabling the usb device and adb is working.

Bug 770363

Original-Change-Id: Ic76dd8ba3ff10d7df00276696f6ed3d3ff5ed7da
Reviewed-on: http://git-master/r/14710
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ibf94d628921c1d923f0d2c223dfc3e5efe80fe28

Rebase-Id: Rabfe750495ab6979f0018956783345665d6dd759

7 years agoFix makefile formatting
Dan Willemsen [Fri, 6 May 2011 18:58:19 +0000]
Fix makefile formatting

Rebase-Id: Rcb25f3a7195dbda4b0b5e015581506374780c2ca

7 years agoARM: tegra: clock: Add dynamic UART divider control
Alex Frid [Thu, 30 Dec 2010 07:15:47 +0000]
ARM: tegra: clock: Add dynamic UART divider control

Original-Change-Id: Ie791852555eaae312c1a23f65d68bcb703666368
Reviewed-on: http://git-master/r/14593
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I0568824434b895bcad5691fabbbb12780148e32b

Rebase-Id: R38ebb44251dd49e37c280504cf06e84579fb8625

7 years agoMerge remote branch 'git-master/android-tegra-2.6.36' into merge-android
Jin Qian [Thu, 30 Dec 2010 01:35:51 +0000]
Merge remote branch 'git-master/android-tegra-2.6.36' into merge-android

Conflicts:
arch/arm/configs/tegra_defconfig
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/board-ventana-power.c
arch/arm/mach-tegra/board-ventana-sensors.c
arch/arm/mach-tegra/board-ventana.c
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/cpu-tegra.c
arch/arm/mach-tegra/fuse.c
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/tegra2_dvfs.c
arch/arm/tools/mach-types
drivers/rtc/rtc-tegra.c
drivers/usb/gadget/fsl_udc_core.c
drivers/video/tegra/host/dev.c
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/nvhost_intr.c

Original-Change-Id: I1e9b6d0e761cf1e95cf90b78b5932b53fcb9bb5e
(cherry picked from commit 2f331e046f7c4cfc6ab54fca3193035b3bf3a14f)
Reviewed-on: http://git-master/r/14572
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I29db8796b2e27a8d218c332de36f880a7cf4bcb2

Rebase-Id: R54dfb0d8e2534ea0c13c1157933d30a4198acbbf