summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-30arm: tegra: enterprise: use proper backlight clk_div for A03/A04tegra-l4t-r15-betategra-l4t-er-2012-04-02Tom Cherry
The new TPS61160A part asks for the control PWM signal to be between 5kHZ and 100kHz. This change sets clk_div to 0x1D for a 5kHz signal. This change also installs a linear table for enterprise_bl_output_measured_a03. Bug 956246 Reviewed-on: http://git-master/r/91606 (cherry picked from commit 32a67cf7b1c8223abe8de7d88b4bcd1906cda0a2) Change-Id: Ic7907cfae6f918ef055add33615822ef8c5e0ec6 Signed-off-by: Tom Cherry <tcherry@nvidia.com> Reviewed-on: http://git-master/r/93051 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-30arm: tegra: emc scaling for enterpriseWen Yi
Need to include A01 board for emc scaling. Bug 957981 Reviewed-on: http://git-master/r/91877 (cherry picked from commit 2dff127a133056b4229b8d7a4e8328959873f3c8) Change-Id: I9c615b13adf4375ee0742b817361b0d6326afccd Signed-off-by: Tom Cherry <tcherry@nvidia.com> Reviewed-on: http://git-master/r/93050 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-30tty: serial: core: Fix console resume for PORT_TEGRAPradeep Kumar
WAR to enable console prints when console service is not started for port type TEGRA. Bug 958959 Change-Id: I51e582d16195171f1f8bae9324e2ddece4638281 Signed-off-by: Pradeep Kumar <pgoudagunta@nvidia.com> Reviewed-on: http://git-master/r/92814 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Joshua Cha <joshuac@nvidia.com> Tested-by: Joshua Cha <joshuac@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-03-30ARM: tegra: enterprise: Add A03/A04 supportTom Cherry
Bug 939799 Reviewed-on: http://git-master/r/90824 (cherry-picked from commit 8c556f816196c17e059db2c11b966ca89848efa3) Change-Id: I67b26958862b8b60217c2750fe0b2eef3013d9b3 Signed-off-by: Tom Cherry <tcherry@nvidia.com> Reviewed-on: http://git-master/r/92409 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-30usb: ehci: tegra: add suspend_fail flagRakesh Bodla
Adding the suspend_fail flag to proprogate the bus suspend failure to the ehci suspend. This ensure the proper synchronization between two suspend calls. Bug 932020 Reviewed-on: http://git-master/r/92286 (cherry picked from commit 9548deb7f4dfda95067731744b3122a47be3f654) Change-Id: I00cc062888fcf7085be7aa3556ae500e0e457cd1 Reviewed-on: http://git-master/r/93130 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30asoc: tegra: ALC5640 machine: Fix i2s for BT ScoManoj Gangwal
fix i2s for BT Sco. Bug 936626 Change-Id: Iaf1d1a230fcb37d45d9deaaf1dae780f5870e99f Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/92860 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-30ASoC: wm8903: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I8abd1e837a774d15aef25ec8c40b857b8cba0426 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92858 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30usb: otg: tegra: code clean upVenu Byravarasu
Modified multiple if conditions to switch case. Included a new OTG state case: undefined Change-Id: Iba4cf1a79b8c220fc873966bd8a89f43a5648863 Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/92832 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30usb: host: tegra: code clean upVenu Byravarasu
With this patch: 1. Renamed structure and function names to be more meaningful. 2. Removed unnecessary local variables. Change-Id: I0684d840c1b8c606c1643e1e2517e083be825787 Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/92817 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30p1852: Enable uart4 and remove spi4Manoj Chourasia
+ Enable uart4 and remove spi4 + use SPI2 instead of SPI1 as initial pinmux for gpio x5/6 bug 933971 Reviewed-on: http://git-master/r/78718 (cherry picked from commit 7135fbe5edf7357384dc92b613ea46dc927d6b06) Change-Id: I46d3072dd160d7a2d1f11f949cc934fbdff1e0a6 Reviewed-on: http://git-master/r/91234 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30video: tegra: dc: remove obsolete overlay interfaceJon Mayo
Remove old overlay interface, it is replaced with TEGRA_DC_EXTENSIONS External functions made static now that overlay.c no longer needs them. Change-Id: I5d080ceb19ad90d3b5cc4bf20494c967687293a5 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/92661 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chao Xu <cxu@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-by: Michael I Gold <gold@nvidia.com> Reviewed-by: Markus Holtmanns <mholtmanns@nvidia.com>
2012-03-30power: smb349: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I56904b3607c92281076ae3245ee1071922763eb8 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92557 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Gerrit_Virtual_Submit
2012-03-30i2c: tegra: Correct 10bit address configurationLaxman Dewangan
The slave address of device to be configured in packet header as follows: 7 bit address: PacketHeader3[7:1] 10 bit address: PacketHeader3[9:0] Fixing the code to make packet header3 properly. Change-Id: I1797066d23ada5d4d7b14710201a1fb17566b78b Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92556 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Andy Carman <acarman@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
2012-03-30input: keyboard: remove interrupt_key driverLaxman Dewangan
Removing interrupt key driver as this duplicates the gpio_keys driver. Desired functionality can be achieve through the gpio_keys. Change-Id: I7e5bc18d4b30c64fa08bb64cdceffe2193c43c8f Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92462 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-03-30ARM: tegra: config: Remove CONFIG_KEYBOARD_INTERRUPTLaxman Dewangan
Remove config variable CONFIG_KEYBOARD_INTERRUPT as same functionality can be achieve through the gpio_keys. Change-Id: Ice898c9abe9f4eba2e82459b22f309cb36347123 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92461 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-30ARM: tegra: cardhu/Kai: Use gpio_keys driver for int keyLaxman Dewangan
gpio_keys driver support for the key which can generates only interrupt and not mapped to any gpio functionality. Using this feature to support the onkey which generates interrupt only when key is pressed. Change-Id: I502a45a1c510b92f4114ded713f7706b7a2c85d3 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92460 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-03-30mmc: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I66acbd911c5ba1162271e672cfadef099eeb58a9 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92309 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Gerrit_Virtual_Submit
2012-03-30ARM: tegra: Cardhu: Support for E1198-A03Laxman Dewangan
Adding support for E1198-A03 which have different regulators and the identification of regulators are done based on board sku id. Change-Id: Iee76d2bc493308da5346011232db32b933fd8625 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92284 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-30video: tegra: host: Remove pre-check in syncpt waitTerje Bergstrom
Remove the check and debug dump for cases where we compare against an old syncpt value. Also removes an extra check that is already done by wait_event_interruptible_timeout(); Bug 941327 Change-Id: Icbaf70b04a8bd070c3fdd3467b981de11219d2b9 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/92283 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2012-03-30video: tegra: nvmap: Refactor page pool code.Krishna Reddy
Refactor page pool code. Add page pool support for all memory types. Add support to enable/disable page pools. Add support to allow configuring page pool size. Change-Id: I07c79004542efdd5909547928b3aa5d470e38909 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/91914 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-03-30usb: gadget: fsl_udc_core: Properly return the self-powered bitahcheng
This patch fixes the GetStatus always reports self powered. As per USB compliance update, a device that is actively drawing more than 100mA from USB must report itself as bus-powered in the GetStatus(DEVICE) call. Bug 928340 Change-Id: Iefd1577a2ff2f301add98b14a402ed8eacc3aa28 Signed-off-by: ahcheng <ahcheng@nvidia.com> Reviewed-on: http://git-master/r/91404 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-30arm: include: make module space configurableMursalin Akon
Make the module space a configurable option. The default value remains 16. The main goal of this CL is to enable large module, such as resman module of nvidia. Change-Id: I8a775a6a23c1a75562917d8ab8e4bbe29f08d7e5 Signed-off-by: Mursalin Akon <makon@nvidia.com> (cherry picked from commit 40aaad75bd32822137033fc7972d41ee30ff7bc9) Reviewed-on: http://git-master/r/91322 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Eric Brower <ebrower@nvidia.com> Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-03-30mtd: chips: support for the new CFI version 1.5 and write buffer programmingManoj Chourasia
This patch add CFI version 1.5 support. It replaces classic word programming by write buffer programming and sets the FFS write size to 512 bytes. The patch taken from spansion bug 906309 Reviewed-on: http://git-master/r/89412 (cherry picked from commit 733c7ef4b9bdc52ac95095436a5cf83aa0296da5) Change-Id: I63cbd0bad077e055d6efd4e2b4c7d26c608d1b66 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/91307 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Amlan Kundu <akundu@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-03-30mmc:host: add pm_caps and pm_flags to platform dataMursalin Akon
Initialize pm_caps and pm_flags through platform data. Bug 956238 Change-Id: I400f6e92541fa2e63ccc7f829e204d5eef4697fc Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/90790 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-03-30net:wireless:bcmdhd: Add BCM4330 chip IDMursalin Akon
Add ID of BCM4330 to supported chips. Remove ID of BCM4329 as it is not supported. Bug 956238 Change-Id: I5c9e809245161d76c3decab3e5252ce111a2a07d Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/90657 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-03-30ARM: tegra: Fix Synaptics setup compilation warningJuha Tukkinen
Fix Synaptics touchpad GPIO setup compilation warning and add freeing of resources when unconfiguring. Change-Id: Idc98dd622cc969ac55f8c6a945317d657a6b7222 Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/90046 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2012-03-30rtc: tps80031: Enable RTC interrupt appropriatelyVenu Byravarasu
Observed interrupt not getting enabled properly. hence fixing it. bug 937221 Change-Id: If852c9cd40fc98711fe12a124b533ee8ee99eb3c Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/83992 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-30video: tegra: host: do not assume 3d channel opened by user spaceMayuresh Kulkarni
- if user space does not open 3d channel, 3d scaling algorithm is not initialized. so return safely when 3d scaling is disabled - also do not call nvhost_module_suspend() explicitly for host1x client modules. nvhost_channel_suspend() takes care to suspend the module if ref count = 0 - call nvhost_module_suspend() only for host1x device as it does not use actual hardware channel Bug 953451 Change-Id: Iba2b771b71d9b41c8ed978112566181872c56259 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/92506 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Peer Chen <pchen@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Emily Jiang <ejiang@nvidia.com>
2012-03-30ASoC: Tegra wm8903 machine: Remove regulator error messagePreetham Chandru
Few boards which uses wm8903 has independent regulators for spk and mic while others do not have it. For the boards which do not have independent regulators we should avoid getting their regulators otherwise we would get the following error messages: "tegra-snd-wm8903 tegra-snd-wm8903.0: No speaker regulator found" "tegra-snd-wm8903 tegra-snd-wm8903.0: No digital mic regulator found" Bug 956562 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Change-Id: Ide1ce141b5d45d56e834dc82a7cf5a7adc6c3e80 Reviewed-on: http://git-master/r/91548 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-30usb: gadget: fsl_udc: Remove regulator error messagePreetham Chandru
Print only a warning message if usb_bat_chg regulator is not registered. Some boards do not support usb charging and for such boards usb_bat_chg regulator will not be registered. Hence print only a warning message in such cases. Bug 956558 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Change-Id: I64c727f122c09d3865d649f3529b053bc65615ad Reviewed-on: http://git-master/r/91521 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-03-30ARM:tegra:pcie:Avoid commenting PM noirq callsJay Agarwal
1. disable read write operation while suspend/resume noirq operation is performed to avoid hang 2. implement dev pm_ops for pcie tegra driver 3. use a backup buffer to save config space of all pcie devices to avoid legacy PM calls. Change-Id: I2d39f69a865b48e1e51ce2cd466e24007718a8b6 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/90617 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Penny Chiu <pchiu@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Krishna Thota <kthota@nvidia.com> Reviewed-by: Emily Jiang <ejiang@nvidia.com>
2012-03-30ARM:tegra:pcie: fix pcie power managementJay Agarwal
1. disable pci devices asynchronous suspend/resume. 2. correct resume function of tegra pcie driver. 3. enable clock clamping 4. require noirq suspend/resume calls to be commented Bug 790141 Bug 947673 Change-Id: I49ebba43f296c3c38bc960d7db5fe847232e29a8 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/87316 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Penny Chiu <pchiu@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Krishna Thota <kthota@nvidia.com>
2012-03-29arm: tegra: baseband: wake lock on both BB_RST_OUT polFrederic Bossy
bug 947710 Change-Id: If06de72d3880055c219e5ded892bb8cf956d774a Signed-off-by: Frederic Bossy <fbossy@nvidia.com> Reviewed-on: http://git-master/r/92066 Reviewed-by: Steve Lin <stlin@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-03-29ARM: tegra: cardhu: Fixed DSI panel issue on PM269.Kevin Huang
Bug 953155 Change-Id: I9fbb87f17e590971d5a0bf313e740e8b3b4c890b Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/91871 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-29arm: tegra: Enable speculative line fill in SCU.Krishna Reddy
Enable speculative line fill in SCU. Bug 947861 Change-Id: I2db7515c47715160a4e559931e178b41c01a1744 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/91834 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2012-03-29arm:tegra[3]:config: turn off MMC_EMBEDDED_SDIOMursalin Akon
No apparent need for L4T Bug 956238 Change-Id: I78b7451a1bf30cce974f1daad88ae27959d55340 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/90672 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-29net:wireless:bcmdhd: rename bcmsdh_remove & bcmsdh_probeMursalin Akon
rename bcmsdh_remove & bcmsdh_probe to *_bcmdhd to resolve symbol conflicts with bcm4329 driver. Bug 956238 Change-Id: I750238ddf9b3a0d9ff9583a7ec456aceef28531c Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/90656 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Gerrit_Virtual_Submit Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-03-29video: tegra: add cursor mode flippingAdam Cheney
This change adds a flag to flip windows in cursor mode. Cursor mode will cause flips to be skipped over if there are newer flip requests waiting in the workqueue. Add CURSOR_MODE to caps bitfield. bug 942762 Change-Id: Ib52a0a5565f961cdd9650e4204cd65b86f96fee1 Signed-off-by: Adam Cheney <acheney@nvidia.com> Reviewed-on: http://git-master/r/90418 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Robert Morell <rmorell@nvidia.com>
2012-03-28arch: arm: configs: enable Out Of Band interrupt.Narayan Reddy
enable OutOfBand interrupt support in bcm4329 driver. Bug 959909 Change-Id: I2e39eed38e2574c106dd0c43f5a940ced2af1d09 Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: http://git-master/r/92326 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-28tegra: p852: nor: Changing timing registersVishal Singh
Changing the values of registers timing0 and timing1 of NOR flash to those specified in the NOR POR. Bug 914158. Change-Id: Ie65fadbeda7329b22786841f46dd2583043a8381 Reviewed-on: http://git-master/r/#change,72828 Reviewed-on: http://git-master/r/91737 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Vishal Singh <vissingh@nvidia.com> Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-03-28ARM: tegra3: ARM_SAVE_DEBUG_CONTEXT should be selected based on PM_SLEEPManoj Chourasia
ARM_SAVE_DEBUG_CONTEXT was getting selected by tegra3 independent of PM_SLEEP config. ARM_SAVE_DEBUG_CONTEXT itself is dependent on PM_SLEEP. That was generating following warning while doing savedefconfig with PM_SLEEP disabled. scripts/kconfig/conf --savedefconfig=defconfig Kconfig warning: (ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects \ ARM_SAVE_DEBUG_CONTEXT which has unmet direct dependencies\ (PM_SLEEP && CPU_V7) This patch fixes the issue. bug 931053 Change-Id: I57016476b7ca39f9ac36a9c59d0102c89c85c6c9 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/91461 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-26Input: gpio_keys - add support for interrupt only keysLaxman Dewangan
Some of buttons, like power-on key or onkey, may only generate interrupts when pressed and not actually be mapped as gpio in the system. Allow setting gpio to invalid value and specify IRQ instead to support such keys. The debounce timer is used not to debounce but to ignore new IRQs coming while button is kept pressed. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cherry-picked from mainline d8ee4a1c90529ed06e1aa43d034986649f7b670b Change-Id: Ibf8e407351082d816dd051d2c69a4a1a7caa70e7 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92321 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26Input: gpio_keys - consolidate key destructor codeDmitry Torokhov
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> (cherry picked from commit a16ca23935afc0d72215b139720bd07df3162a9f) Change-Id: I90ae154a3b124fad0e9320ac5d9d8083175461b5 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92320 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26Input: revert "gpio_keys - switch to using threaded IRQs"David Jander
request_any_context_irq() should handle the case when using GPIO expanders that themselves use threaded IRQs, and so the premise of change 7e2ecdf438bb479e2b4667fc16b1a84d6348da04 is incorrect. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> (cherry picked from commit 6709c9a5d8c53092cbe89128df4e0a549e93133b) Change-Id: I0b4267f6493483c2edc9926f48ecda68d863bead Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92319 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26Input: gpio_keys - constify platform dataDmitry Torokhov
The platform data should not be altered and therefore should be accessed through const pointers. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cherry-picked from d9080921aa32c70a95476ce387e973787b892591 Change-Id: I5791f831909d4417a5c2732e310630c97c42f4a9 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92318 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26Input: gpio_keys - use of_property_read_u32()Tobias Klauser
Use the of_property_read_u32() helper function to retrieve u32 values from the device tree. Also do not pass the len parameter to of_get_property if it isn't checked afterwards. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> (cherry picked from commit cca84699a079a91b0a0cb4f2da8548e56859376a) Change-Id: I265e0cdc8b761572d1c78d699d761097be26a4e4 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/92317 Reviewed-by: Automatic_Commit_Validation_User
2012-03-26arm : tegra: clocks: Add PERIPH_ON_APB flag for apbif clockSumit Bhattacharya
Bug 953357 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/90845 (cherry picked from commit 24b715551882d387b82a89e0213012863e46bb95) Change-Id: Ia8632fccab0708dacd9ef4b9360f8ef499b47818 Reviewed-on: http://git-master/r/92280 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-26ARM: tegra: Fix PPCS IO address for Tegra 2xKrishna Yarlagadda
PPCS physical address is different for Tegra 3x and 2x Change-Id: If26f08f6f234786194f6642523b644e8bf4be770 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/91768 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-03-26crypto: tegra-aes: save key during key callSanjay Singh Rawat
Save the key in hardware when the key setting call comes. Currently it is set at later time. Bug 917607 Change-Id: Ibdacb07c16c161eeba00eda6716884518e40c40a Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/90072 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-03-26ARM: tegra: cardhu: add pm311 mem tableRay Poudrier
Bug 896060 Reviewed-on: http://git-master/r/84679 (cherry picked from commit e1eb8a0802ff7c2aaf8e278e0f8cfd1fa06758be) Change-Id: Ic233905eaa22775daa894c0132187b1192824b01 Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com> Conflicts: arch/arm/mach-tegra/board-cardhu-memory.c Change-Id: Ic233905eaa22775daa894c0132187b1192824b01 Reviewed-on: http://git-master/r/88867 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com> Tested-by: Raymond Poudrier <rapoudrier@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>