summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-04input: touch: fix suspend/resume of atmel maxtouchtegra-10.11.4tegra-10.11.3Nitin Kumbhar
Add support for atmel's maxtouch to enter/exit sleep mode BUG 788286 Change-Id: I4d043d4a19147dd11c426b13ac5ef6eea77fe820 Reviewed-on: http://git-master/r/18336 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com>
2011-02-04merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/include/mach/dc.h drivers/video/tegra/dc/hdmi.c drivers/video/tegra/host/nvhost_acm.c Change-Id: Iddf74984cc02f08dca3738967c0580ba7c375337
2011-02-03[ARM] tegra: ventana: Invensense MPU updateWen Yi
Update tegra board file to include Invensense MPU3050 drivers Depends on Change-Id: Iceb3ef8b11d4ce18fd3cb0947268744775b81758 BUG 784570 Change-Id: Ieb75676128fbde4797f8fe6298e57f29b5a2db13 Reviewed-on: http://git-master/r/17527 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-03Port Invensense MPU3050 drivers into tegra-2.6.36Wen Yi
Change-Id: Ifaf65ac236b26667249360c5189502b9da81b136 Reviewed-on: http://git-master/r/17526 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-03Port Invensense MPU3050 drivers into tegra-2.6.36Wen Yi
Change-Id: Iceb3ef8b11d4ce18fd3cb0947268744775b81758 Reviewed-on: http://git-master/r/17525 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-03i2s: Support DSP mode in i2s driverSumit Bhattacharya
Change-Id: I6e60f06a0487a03553300130ef36dbe28de0139d Reviewed-on: http://git-master/r/16196 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-03[tegra alsa] configure i2s2 using platform dataRavindra Lokhande
use platform data to configure i2s2. Change-Id: If655bc96853ee85114381b5ae979ba0984e25f65 Reviewed-on: http://git-master/r/18028 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-03[ARM] tegra: ventana: set i2s2 for voice modeRavindra Lokhande
- configure i2s2 for voice mode Change-Id: Ic94d3ca9b3ea1e2b58e4211d4d6e1579c0dc467f Reviewed-on: http://git-master/r/18029 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-03arm: serial: tegra: add PORT_TEGRA port typePradeep Goudagunta
added new entry for PORT_TEGRA in serial8250 driver and updated flags and type of debug uart. Bug : 782543 Change-Id: I3e6c59f7a24731e92bd48197c6b1b22acdba8a8f Reviewed-on: http://git-master/r/17995 Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Shail Dave <sdave@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-02-03[ARM] tegra: whistler: camera: sensor power on/offSachin Nikam
Correcting the GPIO names for sensor power. Enabling regulator when sensor is opened and disabling it when sensor is closed. Bug 783488 Change-Id: I62c5dd8bfc7a1a63e1ff42450af3699a3ecd66f8 Reviewed-on: http://git-master/r/17472 Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-03Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36Erik Gilling
Change-Id: I65d011f4a13d99ffc617a807d551d5869b739662
2011-02-03video: tegra: add height/width to dc and fbErik Gilling
Change-Id: I22c280928079af04263375fce63a87776588a457 Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-02Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36Erik Gilling
Change-Id: I870875673113113940a47d30010683e51b12a27b
2011-02-02video: tegra: set h/v sync polarity for HDMIErik Gilling
Change-Id: I4be0eb963c3779b9313ef94476b1589059d4aa3c Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-02video: tegra: support v/h sync polarityErik Gilling
Change-Id: Ida82a70efaeadc9d5b11d8703e688063680b72a8 Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-02video: tegra: correct HDMI h/vsync polairty in some modesErik Gilling
Change-Id: I0e988d1724461ff2d5bd1009f2fdc379bd154703 Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-02arm: tegra_hsuart: Add wake_peer operationNitin Kumbhar
Recently wake_peer op was added to uart_ops. Add this op for tegra_hsuart allowing a platform to implement peer specific wakeup. BUG 781303 Change-Id: Icfbac324815d7737c0e0820e57a2e8d844855ba0 Reviewed-on: http://git-master/r/17993 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-02ARM: ventana: rtc-tps6586x: specify epoch_start in platform dataVarun Wadekar
Change-Id: Ic8e7d6bc016ceb0e9f96ee1639c925a83e0f1bce Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/17989 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-02mfd: tps6586x: fix alarm1 supportVarun Wadekar
instead of clearing the irq for alarm enable/disable, the proper bit in RTC_CONFIG has to be set/cleared. tps6586 does not support 1/sec update counter so remove support for update_irq_enable. replace it with alarm_irq_enable. Change-Id: Iee66a6625e810169253a750faf3f12d20d65d7d9 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/17990 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-02max8907c regulator: use new mfd driver apiTom Cherry
Modify the max8907c regulator to use the new i2c api in the mfd driver Change-Id: Ib919e97069459a9deb595b1fa0d3142763205de1 Reviewed-on: http://git-master/r/16614 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-02max8907c MFD driver: add second i2c bus and irq handlingTom Cherry
Clean up portions of max8907c.c driver Add capability for bulk i2c read and write Add capability for second i2c bus for rtc Add capability for irq handling for rtc and battery charger Change-Id: I6c2c2c42591aee766635a2e32a7404bb2591f4a7 Reviewed-on: http://git-master/r/16613 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-02[mach-tegra/whistler] Mux i2c bus i2c2Tom Cherry
Mux i2c bus i2c2 into dcc bus and gen2 bus Bug 786162 Change-Id: Id163459afa8d9f27564a051f6bf239c13d3cd8b6 Reviewed-on: http://git-master/r/17806 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-02input: tegra-kbc: Correcting column indexSachin Nikam
Bug 785837 Change-Id: I008a37b17205d058d6ba12a7a34a5cdc747435d7 Reviewed-on: http://git-master/r/17893 Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-02Merge branch 'android-2.6.36' into android-tegra-2.6.36Colin Cross
2011-02-02ARM: vfp: Move exception address fixup into vfphw.SColin Cross
If the PC on the stack is updated in entry-armv.S, do_undefinstr can get called after the fixup. do_undefinstr does its own fixup, and doing both causes the PC to point to half way through an instruction. Instead, do the fixup in do_vfp, where only the vfp code can get called. Change-Id: I6d966887adc8ed58d88bfe0cb3c0ba29213be488 Signed-off-by: Colin Cross <ccross@android.com>
2011-01-31[mach-tegra/ventana] use tegra_reserve() to handle carveout memory allocationPeter Zu
For K36, the kernel command line will pass "mem=size@base" from bootloader to kernel. Apparently, we were having two different ways to interpret it 1) size = total physical memory size - carveout size 2) Or size = total physical memory size Ventana is the only platform to use #1. Switch it to #2 which requires tegra_reserve() to handle carveout memory allocation. Change carveout size to 256MB as well. Change-Id: Ifc24c1a5f6300d827068c67c0580cae7eb4ec229 Reviewed-on: http://git-master/r/17444 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-31video: tegra: Fix HDMI mirroring corruptionDan Willemsen
The new overlay code had this change commented out, because I hadn't figured out how to get the resolution of the display outside of the fb driver. This change now grabs it from the h_active and v_active of the current mode. Old Change: video: tegra: Fixed the HDMI corruption issue. If internal panel has different resolution compared to HDMI panel, then window attributes are calculated differently, this causes HDMI panel to show corruption. This is fixed by checking actual display resolution while computing window attributes. Bug 784995 Change-Id: I1ba2a85355ae02ed8914fbc32ea695f53ff9a947 Reviewed-on: http://git-master/r/17139 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-30Merge branch 'android-2.6.36' into android-tegra-2.6.36Colin Cross
2011-01-29cpufreq: Prevent memory leak in cpufreq_stats on hotplugColin Cross
Ensures that cpufreq_stats_free_table is called before __cpufreq_remove_dev on cpu hotplug (which also occurs during suspend on SMP systems) to make sure that sysfs_remove_group can get called before the cpufreq kobj is freed. Otherwise, the sysfs file structures are leaked. Change-Id: I87e55277272f5cfad47e9e7c92630e990bb90069 Signed-off-by: Colin Cross <ccross@android.com>
2011-01-28Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-01-28Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-01-28[video: tegra: nvmap] perform cache maintenance for rw_handleMinwuk Lee
Need cache maintenance on rw_handle to remove display garbage issue which happens randomly. Bug 778138 Change-Id: I227913d1e49d7c28a1a776e2b946cfa0cc7e9803 Reviewed-on: http://git-master/r/17236 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-01-28nvmap: Optionally check global list for IOC_GET_IDRobert Morell
For NVMAP_IOC_GET_ID, if the requested handle isn't found in the client-private list, check the device-wide handles if allowed (global handles or superuser). The proper way to share memory between clients is to first call IOC_GET_ID from the client who owns the memory, pass the resulting ID to the new client, and then use IOC_FROM_ID in the new client to get a handle. However, some (broken) legacy applications did both IOC_GET_ID and IOC_FROM_ID steps in the new client. To support those applications but hopefully prevent new applications from growing the same behavior, the NVMAP_SEARCH_GLOBAL_HANDLES config option was added that restores the old behavior (default N). Note that even with this option enabled, the client issuing the IOC_GET_ID call must be privileged to access the handle provided. In practice, this means the global list search only works for clients who have opened the /dev/knvmap super device node. Change-Id: I6a4490de922864d9119b24e610cfa127ec64bdc7 Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-on: http://git-master/r/14431 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-01-28tegra: ventana: add wakeup_key for gpio-keysNitin Kumbhar
Checks if wake up source is a wake key using PMC's wake status register. BUG 745149 Change-Id: Ib3684163f3e9913c2aab814db8c1904899bc9819 Reviewed-on: http://git-master/r/17456 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-28input: gpio-keys: report wakeup key on resumeNitin Kumbhar
During resume, gpio-keys does not get updated state of gpios which fails to report wakeup key event. Update resume routine to report key event based on wakeup source. BUG 745149 Change-Id: Iff7a9b431f9da8d226c8d3cd522725c3049fef07 Reviewed-on: http://git-master/r/17455 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-28[ARM] tegra: removing LDO5 consumer supplySachin Nikam
LDO5 regulator has consumers VCORE_MMC, AVDD_LCD1 and VDDIO_1WIRE. SDHCI gets this regulator by name "vmmc" and disables in suspend and enables on resume. Though it happens equal number of times after resume UI is not seen. Till proper fix is identified removing the consumer supply entry for LDO5 after which device resumes with UI properly. Bug 780047 Change-Id: Ia95906861ad5fa030546f5d723615c74932c97be Reviewed-on: http://git-master/r/17197 Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-28ARM: ventana: defconfig: enable tegra-aes driverVarun Wadekar
Bug 781839 Change-Id: I2af10fafbf71b94def630c869b656d1feec86ec9 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/16696 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-28i2c-tegra: Retry transfer when unexpected status is detectedJin Park
Sometimes unexpected status like I2C busy status, Tx FIFO interrupted and wait on Rx data etc is seen. Add a code to detect such conditions and return -EAGAIN from driver. This will cause the i2c-core to retry the transmission as per the retry count and time-out specified by the platform data of the adapter. Bug ID: 777455 Change-Id: Iac5971bca4d760d93cd2ed147f78fc2807315b4e Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/16212 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-28[ARM] tegra_i2s_audio: separate TX/RX DMA setupEric Laurent
Fixed a problem preventing independent setup/teardown of TX and RX DMAs when setting playback or capture buffer count. Signed-off-by: Eric Laurent <elaurent@google.com>
2011-01-28merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/tegra2_dvfs.c Change-Id: I3853d668107c191c94f731256a8d0b63149e8279
2011-01-27usb: host: tegra: Fix SetPortFeature PORT_SUSPENDBenoit Goby
This fixes a regression where hubs cannot detect new devices once they have been auto-suspended. Change-Id: I4b3efcaa9634b9a912060e438527000bbc83dc32 Signed-off-by: Benoit Goby <benoit@android.com> Reviewed-on: http://git-master/r/16710 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27usb: host: tegra: Fix resuming low speed devices from lp0Benoit Goby
Change-Id: I9576853bbe0fae52c5c2cfab26ce8f2017077d4e Signed-off-by: Benoit Goby <benoit@android.com> Reviewed-on: http://git-master/r/16709 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27ARM: tegra: usb_phy: Program DPDM_OBSERVE depending on the device speedBenoit Goby
Low speed devices require a K-state resume signaling instead of J. Change-Id: Ic06011f45c2b0f4cd969d018f2783acea57cb510 Signed-off-by: Benoit Goby <benoit@android.com> Reviewed-on: http://git-master/r/16708 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27crypto: tegra-aes: perf: remove unnecessary polling and memsetVarun Wadekar
Change-Id: I69731fcd50933ccea73542d046c3c5d86d03fcd9 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/16707 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27PM: Change dpm watchdog to support async suspendBenoit Goby
Exclude from the watchdog the time spent waiting for children that are resumed asynchronously and time every devices, whether or not they resumed synchronously. Change-Id: I84209dfd5df72842e045096c906fd61e20e6d183 Signed-off-by: Benoit Goby <benoit@android.com>
2011-01-27tegra : HDMI: hdmi hot plug detection modificationMinwuk Lee
When tegra_dc_hdmi_detect is triggered with high HPD Interrupt, but there's no previous trigger of low HPD interrupt, by some specific HW design, then, there's no switch change, no hotplug_handling is getting called because 1=>1 change do nothing in switch_set_state. Add this change for safe operation. Bug 779317 Change-Id: I79f9ad24616388a9eb5156d53b12676b96665c38 Reviewed-on: http://git-master/r/16285 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27[ARM] tegra: add baseband modem supportSteve Lin
Add baseband modem init/reset functions for whistler. Bug 776276 Change-Id: I014e8e24831079428c008d166ffa4b156cc66572 Reviewed-on: http://git-master/r/15602 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27video: tegra: Support dither settingsChao Jiang
Support dither settings in display control structure by writing color control registers. Change-Id: I57ceb22a4b96bc507e15ad97893ec19a5be44ec7 Reviewed-on: http://git-master/r/15906 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27video: tegra: Support for post power-on actionsChao Jiang
Add support for extra actions that have to be done after power on the panel. fixes bug 767252 Change-Id: I68b0c4d03818c2722149fcba38b6eb222157d209 Reviewed-on: http://git-master/r/15766 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-27[ARM] tegra: Enabling configs for ALSPrashant Gaikwad
CONFIG_ISL29018=y for Ambient light and proximity sensor. Bug 782958 Change-Id: Ib244e6a537c0bd3d4e7886f4a5f5de3508c0fd3d Reviewed-on: http://git-master/r/17205 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>