summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2013-11-06arm: tegra: Enable the ozwpan (USB HCD) driver.Todd Poynter
Enable the ozwpan USB HCD driver via CONFIG_USB_WPAN_HCD. Bug 1394137. Change-Id: If217707ea2f2cd215c93e7e42625abe4dc4eed4c Signed-off-by: Todd Poynter <tpoynter@nvidia.com> Reviewed-on: http://git-master/r/310142 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Toby Butzon <tbutzon@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2013-10-24arm: tegra: roth: Add pwm gpioAnshul Jain
Add pwm gpio in fan data, so it can be accessed by pwm_fan driver. Bug 1388303 Change-Id: I407166aac44473ec8ceaf4f8acee18b02db18d7f Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/302443 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-10-10ARM: tegra: disable IKCONFIG and make modules built-inEric Miao
Bug 1343930 To be conform with CTS, we need to disable IKCONFIG and MODULES, and make existing modules all built-in. CONFIG_MODULES and relevant options are left untouched, these will be turned OFF if it's a user build. This option is still necessary for engineering build for out-of-tree modules and many test cases. Change-Id: Icd858d5d707e66d4d9499de8ad358d06bc4e35d2 Signed-off-by: Eric Miao <eric.miao@nvidia.com> Reviewed-on: http://git-master/r/281984 Reviewed-by: Eric Miao <emiao@nvidia.com> Tested-by: Eric Miao <emiao@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2013-10-07mach-tegra: Enable LP0 wakeup on HDMI hotplug for board-roth.Todd Poynter
Set TEGRA_DC_OUT_HOTPLUG_WAKE_LP0 for roth_disp2_out which will arm the GPIO wakesource when set. Enable index WAKE4 / TEGRA_GPIO_PN7 (HDMI) as a wake source for board-roth. Bug 1367505. Change-Id: I4b4e3ca458243b3b27b316ac237264a0d323ff17 Signed-off-by: Todd Poynter <tpoynter@nvidia.com> Reviewed-on: http://git-master/r/281824 Reviewed-by: Dan Nolan <dnolan@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-10-04tegra: dc: hdmi: allow LP0 wakeup by hotplug GPIOAlexandre Courbot
Introduce a new TEGRA_DC_OUT_HOTPLUG_WAKE_LP0 flag which can be specified for DC controllers for which we want the HDMI hotplug GPIO to serve as a LP0 wake source. Bug 1345127 Change-Id: I9193be6ada4b0eca1c074c4b9a5888e3b0e49150 Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-on: http://git-master/r/266365 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Aaron Gamble <jgamble@nvidia.com> Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/281798 Reviewed-by: Todd Poynter <tpoynter@nvidia.com> Tested-by: Todd Poynter <tpoynter@nvidia.com> Reviewed-by: Kevin Bruckert <kbruckert@nvidia.com>
2013-10-04ARM: tegra: add wakeup sources tuning functionsAlexandre Courbot
Add tegra_set_wake_gpio() and tegra_set_wake_irq() functions that allow board files to customize wakeup sources. Wake sources are fixed and currently defined in wakeups-t11x.c. Defining custom wake sources for a given project is difficult and can only be done by: 1) Having compilation conditionals into wakeups-t11x.c to perform per-board modifications (as is done for Dalmore currently), or 2) Duplicating wakeups-t11x.c and all the code it contains and compiling the corresponding wakeups sources file for the board. Neither or these methods can scale, and both actually break the ability to boot the same kernel binary on different boards. This patch exports functions that the board init functions can use to modify the wakeup sources as they need, keeping board-specific changes into board-specific files. Change-Id: I2803e5a76f2fc7eaaa9bd343c904719b018357bd Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-on: http://git-master/r/267689 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/281795 Reviewed-by: Todd Poynter <tpoynter@nvidia.com> Tested-by: Todd Poynter <tpoynter@nvidia.com> Reviewed-by: Kevin Bruckert <kbruckert@nvidia.com>
2013-09-16mmc: tegra: 1.39V Tuning during device enumerationPavan Kunapuli
Tuning at 1.39V to find a valid tap value that works at all core voltages. Boosting emc clock to 900MHz before setting 1.39V and releasing the frequency after 1.39V setting is removed. Bug 1331018 Reviewed-on: http://git-master/r/252471 (cherry picked from commit 25efc183d9f57431c379fecce0e2cc541b0fbc93) Change-Id: Icbf009a90ba9d0bd88a5991aab2fad8f1783b823 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Change-Id: I512a29e94cb935c12a8e705da1d4478c640c9529 Reviewed-on: http://git-master/r/274994 GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-09-16ARM: tegra: roth: Mask HS200 mode supportPavan Kunapuli
Mask HS200 mode support for sdmmc4. In DDR50 mode for eMMC can support max clock of 52MHz. For Tegra sdmmc controllers, the host clock in ddr mode should be double that of the eMMC device. Taking into consideration the dvfs tables, limiting ddr mode clock to 51MHz to allow for lower core voltages to set even when sdmmc4 clock is ON. Bug 1287739 BUg 1324297 Reviewed-on: http://git-master/r/230048 (cherry picked from commit d7214ec63a22383be14ee4f1fb424ad8e0f00364) Change-Id: Ib04dce91d771ab5505dd67ea3a8d5c704d0b499e Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Change-Id: I539439a3ccff3f75a25ea13198aa6267a7293dca Reviewed-on: http://git-master/r/274993 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-09-12ARM: tegra11: dvfs: Update T40T frequency limitsAlex Frid
Change-Id: I25851ce78f034ac592a0bd39ded1444f0a7e230d Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/251056 (cherry picked from commit 5fae13057d44640c55a2fe5e09e118b6bacebd92) Reviewed-on: http://git-master/r/253674 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra: roth: Limit SD card clock to 82MHzPavan Kunapuli
Limiting SD card clock to 82MHz to ensure that the tap values obtained through tuning work with the full core voltage range even with boost mode enabled Reviewed-on: http://git-master/r/252371 (cherry picked from commit 0d07482e116768eb1dc413c940f4168e609a11fe) Change-Id: I562bb651d8eca8d412ea464cfbdca1b692783e55 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/253716 Reviewed-by: Harshada Kale <hkale@nvidia.com> Tested-by: Harshada Kale <hkale@nvidia.com>
2013-09-12ARM: tegra11: clock: Add emc and host1x sysfs floorsAlex Frid
Change-Id: Ia8bf319da85914e748c4a88877433e6c45667ef1 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250565 (cherry picked from commit 025b4feb4254f31a748ff926b225ffbde7960f1c) Reviewed-on: http://git-master/r/253682 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra: clock: Add sysfs interface for bus floorsAlex Frid
Added mechanism to install sysfs objects for tegra shared bus floors. Currently no floor objects are installed. Change-Id: I20e1a1448ee799a5ec59087f3214b77a80c05408 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250564 (cherry picked from commit caf42e72c877189dfc3b75d3d9d21fb2d2491fef) Reviewed-on: http://git-master/r/253681 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: clock: Expand host1x shared busAlex Frid
Add cap, floor, and override shared users to host1x bus. Attached cap user to core cap interface. Change-Id: I20bf5f346f422d7f2cbd97a445f00847e8761ac8 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250563 (cherry picked from commit 01be9d99e4593df6fc149497d14bc4903e2bdd7e) Reviewed-on: http://git-master/r/253680 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: clock: Re-factor host1x busAlex Frid
- Set host1x dev_id = "host1x" and con_id = NULL (these definitions were used before conversion of host1x to shared bus; during conversion ids were inadvertently swapped - restored now) - Renamed host1x bus shared users to be consistent with other shared buses Change-Id: Iecf1f27681658c69fc63ed71c99d62ae86d9f30b Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250562 (cherry picked from commit a96193452c05aca8596659a3a2f4346ad1818306) Reviewed-on: http://git-master/r/253679 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: clock: Add host1x shared busAlex Frid
Change-Id: Ie63f856727f9ba9f93e6c75b7bd5fb80357448a4 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250561 (cherry picked from commit 2899d88dd8afa1971f2c1b09b7039852a65a5f4f) Reviewed-on: http://git-master/r/253678 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra: clock: Update emc monitor preset mechanismAlex Frid
- Allowed per-SoC code to select emc monitor preset rate. For now, rounded down boot rate is used as monitor preset rate (round down to not over-clock on boot). - Skipped emc clock update when monitor preset rate is set, but not yet enabled (to avoid temporary dip in EMC rate). EMC rate is updated only when monitor preset is enabled. - Preset EMC monitor rate after iso usage table is initialized. Signed-off-by: Alex Frid <afrid@nvidia.com> Change-Id: I2b724df9dc95231d6a5760171aa18bd10bdb409a Reviewed-on: http://git-master/r/250525 (cherry picked from commit 0a3c757d15fc8360ba54e123907dbb4dd46c8d22) Reviewed-on: http://git-master/r/253677 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: clock: Preset EMC monitor rateAlex Frid
Use EMC boot rate as EMC monitor output reading during initialization until actual monitoring starts. Bug 1239168 Change-Id: I64d397623eeafe459769db106d0bfe80223f654f Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250524 (cherry picked from commit 157a08636241aeb0886807190ab7d83b7e226c7b) Reviewed-on: http://git-master/r/253676 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra: clock: Record boot rates for all clocksAlex Frid
Change-Id: Iea43edd693d1489aa87eff893a1cfcfca1379552 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250523 (cherry picked from commit 42ce0d9e5770de7452f487493d033fece17bce88) Reviewed-on: http://git-master/r/253675 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: clock: Add cbus fine granularity regionAlex Frid
Added fine granularity region to cbus possible rates. In this region requested cbus rate is not clipped to dvfs steps, but rounded to fine granularity resolution. The latter is set as 12MHz, and the region is defined as 5 resolution steps below the top dvfs rate, assuming this top rate is reachable on the particular chip bin/sku. Change-Id: If1096ae068367819e64c55172c1a1c0a46c38b86 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250033 (cherry picked from commit 0c7b83bffdf79615bf15301f8643ac1dfabdefd9) Reviewed-on: http://git-master/r/253673 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: dvfs: Update T40T tables and limitsAlex Frid
Updated dvfs and edp tables, clock and voltage limits for T40T part. Change-Id: Ic256a6f3aa8026c96443ecc33204309275fcbe2e Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250032 (cherry picked from commit d4add7fa3c1f5d26cb3a39e3431ca7c3fdb849e4) Reviewed-on: http://git-master/r/253672 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: power: Add T40T core edp tablesAlex Frid
Change-Id: Id5c2163224cdb1c862ef708e0790d99e4f04775e Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250031 (cherry picked from commit 8c0649dc948f198068cce0086210309761194f82) Reviewed-on: http://git-master/r/253671 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: dvfs: Don't throttle T40T nominal voltageAlex Frid
On T40T parts removed throttling of nominal voltage by boot core edp. Used the latter to specify detached mode (boot, disable, suspend) limits. Change-Id: Ifa846ec8c7cb79df91b80cc81ffdef0f02a45372 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250030 (cherry picked from commit 08f29bd004f440272fdf75bf198638e9aceb8424) Reviewed-on: http://git-master/r/253670 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra: dvfs: Decouple nominal and detached voltagesAlex Frid
DVFS rail nominal voltage is minimum voltage required to run all associated clocks at maximum allowed rates. DVFS rail can be detached from clocks during initial boot, on suspend entry/exit, or when voltage scaling is disabled. So far, rail voltage in any detached mode was set to nominal level. This commit introduced separate voltages for each detached mode. If any of these levels is not specified, backward compatible nominal voltage is used. Since, suspend voltage may now be different from nominal (below), it is important for dvfs to suspend after suspend edp rate caps are set, and resume before edp. Hence, priorities of dvfs suspend notifiers were adjusted accordingly. Change-Id: Id05e0b16f24dc7d28b1ee9e87afd63d98a9ab86e Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250029 (cherry picked from commit 57d1ea085f098f43db40a9484e5f9d13ec49a45b) Reviewed-on: http://git-master/r/253648 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-08-21tegra11: config: enable selinux to permissive modeJames Zhao
- Enable SELinux for JB MR2 - Set config option AUDIT, EXT4_FS_SECURITY for SELinux dependency Change-Id: I03a218ca421cc3337a82aca99e6c784732e6e650 Signed-off-by: James Zhao <jamesz@nvidia.com> Reviewed-on: http://git-master/r/257184 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2013-07-26ARM: tegra11: dvfs: Update CPU dvfs tablesAlex Frid
Bug 1291764 Change-Id: I92c652e9ecbec366c017ab2eda0e51b1dd42cb17 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/230033 (cherry picked from commit 8c42909312f5082d3e62f0fbc7b0556e7aed099d) Reviewed-on: http://git-master/r/242587 GVS: Gerrit_Virtual_Submit Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Tested-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-07-26ARM: tegra11: dvfs: Update DVFSMatt Wagner
Set CPU Vmin in DFLL mode 1.0V Change the tune high voltage to 1050mV Bug 1291764 Change-Id: I84a6854b0d7c85e602a6bc21d3fcb497613e5cae Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/242586 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-07-26ARM: tegra: config: set panic timeout 5 secsJean Huang
Change-Id: I342d1f1505caedabaefa0b2f0eb5dccdf5046bca Signed-off-by: Jean Huang <jeanh@nvidia.com> (cherry picked from commit 7b01f4f1251efc02b2688c60fec162462f9c3aae) Reviewed-on: http://git-master/r/246201 Reviewed-by: Harshada Kale <hkale@nvidia.com> Tested-by: Harshada Kale <hkale@nvidia.com>
2013-07-12ARM: tegra: usb: Increase CPU frequency rangeRakesh Bodla
Now tegra chips cpu frequency has increased and updating the range accordingly. Bug 1216779 Change-Id: I57d530bcc5f4b8d5969ed7b5ffc21987e23809e8 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/207587 (cherry picked from commit e338bb00cb8e4b286147add38e652221b91ff73c) Reviewed-on: http://git-master/r/247769 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-07-10ARM: defconfigs: Enable Tegra profilerIgor Nabirushkin
Enable Tegra profiler for Tegra platforms Bug 1312406 Change-Id: If1bf645d40fec2de7ffcd17ac260deb0f8c2a4ee Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/242401 Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
2013-07-10ARM: kprobes: Fix kprobes buildIgor Nabirushkin
Fix incorrect changes in the arch_arm_kprobe function (commit: 3b3f4d24917c97fa75aa4fba2b09797ef94cea38) Bug 1228659 Change-Id: Iee16e3d5f6475acd9cd08060b16d015e8757a286 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/208435 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
2013-07-09arm: tegra: roth: Enable FAST init mode for smps9Anshul Jain
Bug 1315200 Change-Id: If1bfc2a17d302f10b4d5439fa5e1ba5914b2fcc5 Signed-off-by: Anshul Jain <anshulj@nvidia.com> (cherry picked from commit a85da1ba4c7249722caf3c0c75683f08cc0860e1) Reviewed-on: http://git-master/r/246316
2013-07-09misc: issp: Add usb js recovery mechanismAnshul Jain
This change recovery the JS uC after USB resume failure by unloading USB, resetting uC from ISSP and then reloading USB Bug 1306389 Change-Id: I086636d4b7b91e3a2874f584fa6efbfd2cae6014 Signed-off-by: Michael Hsu <mhsu@nvidia.com> Signed-off-by: Anshul Jain <anshulj@nvidia.com> (cherry picked from commit e10f9579dbd6e3d37b127995520b9dee036be199) Reviewed-on: http://git-master/r/246314
2013-06-18arm: tegra: board support for sensorsErik Lilliebjerg
Added support for BMP180 pressure sensor and auto-detection of AKM89XX compass. Change-Id: I3e45250e7b4e2887d79bd62a402ddcdc0d057b92 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/211081 (cherry picked from commit 00811e96be2c6ac4139a6b24b39cf44ddcf20bda) Reviewed-on: http://git-master/r/216710 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Xiaohui Tao <xtao@nvidia.com> Tested-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-18arm: tegra: configs: Add BMP180 moduleErik Lilliebjerg
Add BMP180 pressure sensor driver as module. Bug 1253718 Bug 1242566 Change-Id: Ia2de59ccbe833b9f444fb56234954729edf7b5a3 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/210854 (cherry picked from commit f891baec733e839d02c220fcb934097c29a266be) Reviewed-on: http://git-master/r/216711 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Xiaohui Tao <xtao@nvidia.com> Tested-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-11ARM: tegra: dvfs: Don't fail same level override requestAlex Frid
When new VDD_CORE override level is the same as the one already in place do not return error from the override API. Bug 1280293 Change-Id: Ic4393541308139c2ac9579acc8e2af47b144d521 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/225037 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com>
2013-06-05ARM: Tegra: Roth: Increase Drive Strength for 4KMatt Wagner
Increase by 30mV Bug 1278943 Change-Id: I554c281ca1f12cb7494516844f4fd72e1d4b03b1 Signed-off-by: Matt Wagner <mwagner@nvidia.com> (cherry picked from commit e61f283f9966358e68c7cdcd9ea26bbc7bbc18c3) Reviewed-on: http://git-master/r/230045 Reviewed-on: http://git-master/r/232704 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-06-04ARM: SMP: disable preempt before SMP cross callBo Yan
preemption should be disabled when smp_call_function_many is called. bug 1224910 Change-Id: I4c23e6fe77354d50230b8e46bcc4128a9888f201 Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/222644 GVS: Gerrit_Virtual_Submit Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> (cherry picked from commit 252748d9f3e90b7ab36a50b8b10912c183ca67f4) Reviewed-on: http://git-master/r/233913 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-06-04ARM: tegra11x: Enable ARM_ERRATA_798181Bo Yan
Change-Id: I533f1965a93694484a910723c77454a0bd9e5fe0 Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/209853 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com> (cherry picked from commit 1927a8824de27eea314d7b1a4ac08741edb6daba) Reviewed-on: http://git-master/r/221354 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-06-04arm: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB operations)Catalin Marinas
On Cortex-A15 (r0p0..r3p2) the TLBI/DSB are not adequately shooting down all use of the old entries. This patch implements the erratum workaround which consists of: 1. Dummy TLBIMVAIS and DSB on the CPU doing the TLBI operation. 2. Send IPI to the CPUs that are running the same mm (and ASID) as the one being invalidated (or all the online CPUs for global pages). 3. CPU receiving the IPI executes a DMB and CLREX (part of the exception return code already). The switch_mm() code includes a DMB operation since the IPI is only sent to CPUs running the same ASID. Change-Id: Ideb7f479910f7d4bf25182c84eb5e71691c42a93 Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/209830 (cherry picked from commit e11ccb30b44fc55ba0576f5082e5e17e9a1d1854) Reviewed-on: http://git-master/r/221353 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-06-04Revert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on ASID-capable CPUs"Bo Yan
This reverts commit 7fec1b57b8a925d83c194f995f83d9f8442fd48e. Change-Id: I3e2a4ed4e3dcb52368ec42e10819316078323ea4 Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/209829 (cherry picked from commit 5d04ad58c35de6289072aad40cdc90abf8534faf) Reviewed-on: http://git-master/r/221352 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-06-04Revert "ARM: Remove current_mm per-cpu variable"Bo Yan
This reverts commit e323969ccda2d69f02e047c08b03faa09215c72a. Change-Id: I0f44f33b4848ec8e326bd356545903ca14d0da9a Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/209827 (cherry picked from commit 9eaa0e45a75d767b0ba34b104925d00f6fb5c503) Reviewed-on: http://git-master/r/221351 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-06-04Revert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on pre-ARMv6 CPUs"Bo Yan
This reverts commit b9d4d42ad901cc848ac87f1cb8923fded3645568. Change-Id: Icdc220a988b0e6b145466148fc922b5f8e5cdba8 Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/209826 (cherry picked from commit ccf463167767706377a8d7fd0ead3114ef561c02) Reviewed-on: http://git-master/r/221350 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-06-04Revert "ARM: 6944/1: mm: allow ASID 0 to be allocated to tasks"Russell King
This reverts commit 45b95235b0ac86cef2ad4480b0618b8778847479. Will Deacon reports that: In 52af9c6c ("ARM: 6943/1: mm: use TTBR1 instead of reserved context ID") I updated the ASID rollover code to use only the kernel page tables whilst updating the ASID. Unfortunately, the code to restore the user page tables was part of a later patch which isn't yet in mainline, so this leaves the code quite broken. We're also in the process of eliminating __ARCH_WANT_INTERRUPTS_ON_CTXSW from ARM, so lets revert these until we can properly sort out what we're doing with the context switching. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> (cherry picked from commit a0a54d37b4b1d1f55d1e81e8ffc223bb85472fa3) Change-Id: Id3bd7c795bb84269b646e6a1344d1974d85bf094 Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/221349 GVS: Gerrit_Virtual_Submit Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-05-31ARM: config: tegra11:Increase GADGET_BOOST_CPU_FREQRakesh Bodla
Increase TEGRA_GADGET_BOOST_CPU_FREQ for improving USB throughput. Bug 1216779 Change-Id: Ia5bb340af7eaf3d278994a8de294dcf03b64b1c8 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/234036 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-05-23video: tegra: dsi: Enable MIPI auto calibrationVineel Kumar Reddy Kovvuri
Implementation of DSI MIPI auto calibration Bug 1166307 Change-Id: I178f3ffb6bb69050c9edc4cd1663bfe9b61abf3a Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/229914 (cherry picked from commit 2bd97385468ac85c4dac33615c5c31b1eabc7f18) Reviewed-on: http://git-master/r/231574 GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-05-22ARM: tegra: board: disable the alignement fixSuresh Mangipudi
Disable the h/w alignment fix for T114 A02. Bug 1289107 Change-Id: I09b390098dfbfb2890037038eb7e9c23b754764d Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-on: http://git-master/r/228649 Reviewed-on: http://git-master/r/231086 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Zu <pzu@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> Tested-by: Peter Zu <pzu@nvidia.com>
2013-05-17ARM: tegra: add a sysfs to time to go suspendAndy Park
measure the time from display control disabled to suspending core and open an access to the data through sysfs. tegra_log_suspend_time must be called from display control driver when disabled. Bug 1279339 Bug 1252226 Change-Id: If70135639b2e1eea72d1189f8c5cd32ba7d11bf1 Signed-off-by: Andy Park <andyp@nvidia.com> (cherry picked from commit 5e21c0030b60ab71ca610ad55b8cfeacee03a980) Reviewed-on: http://git-master/r/229105 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kamal Balagopalan <kbalagopalan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
2013-05-17ARM: tegra: roth: Add force update to P2560Anshul Jain
This change will force update firmware on P2560, this is done to help with downgrading versions as required. Bug 1266521 Change-Id: I9121a75c108d8a79f496ed7686a34e7fce66a3ad Signed-off-by: Anshul Jain <anshulj@nvidia.com> (cherry picked from commit 428c5acf8cabde6d72a9eee98f98b2bdefc52f60) Reviewed-on: http://git-master/r/229466 Reviewed-by: Automatic_Commit_Validation_User
2013-05-16ARM: Tegra: Roth: Update DSI SettingsMatt Wagner
Fix v_front_porch, v_back_porch and pwr_ctrl settings Bug 1283232 Change-Id: Ic5f7fcd49977157bfe64e47a4b9fbcee42fa79d3 Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/228540 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-05-16arm: roth: Add regulator for fuseShardar Shariff Md
Add vpp_fuse entry into ldo4 of palmas Bug 1286520 Change-Id: I2caad9d715f1ea8fc40335c93dc36f8c7107289b Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com> Reviewed-on: http://git-master/r/227900 Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>