summaryrefslogtreecommitdiff
path: root/drivers
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-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-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-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-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-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-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-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-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-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-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-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-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-27input: touch: maxtouch: change driver name to "atmel-maxtouch"Varun Wadekar
To match with its idc file. idc file is located in /device folder. idc file adds more information about touch panel. Change-Id: If99b7a9784a015d990447c843ba9b0defd3751a1 Reviewed-on: http://git-master/r/17200 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Reviewed-by: Gaurav Sarode <gsarode@nvidia.com> Tested-by: Gaurav Sarode <gsarode@nvidia.com>
2011-01-27iio: light: als: Enable and disable regulatorPrashant Gaikwad
Regulator has to be enabled for ISL29018. Bug 782958 Change-Id: Ic8d86107d905c9b8e1d4a858c9028b0a13d3d188 Reviewed-on: http://git-master/r/17201 Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-27Revert "alarm: disable rtc alarm suspend/resume handlers"Nitin Kumbhar
This reverts commit 0f04e9f691396f4d1e4288fff91ae8f5862dbba3. Enable rtc alarm suspend/resume handlers which were disabled as WAR. BUG 773133 Change-Id: I666fdf92cb716b247eea1933d837f4c2439cd6fd Reviewed-on: http://git-master/r/17179 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
2011-01-27Revert "input: gpio-keys: wake up display on resume"Nitin Kumbhar
This reverts commit 0ddc54a60b12fb13fec7c5d8f9ff3f162c96818f. It leads to suspend-resume cycle as mentioned in the below bug. BUG 773133 Change-Id: I51e2a48a000752d4aba02bd3f8e7e8ab18316371 Reviewed-on: http://git-master/r/17178 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
2011-01-27nct1008: add support for external sensor readingsJoseph Lehrer
bug 783966 Change-Id: Ic454eba8675596cf77856e0ec3da8df7d56d82ee Reviewed-on: http://git-master/r/17005 Tested-by: Joseph Lehrer <jlehrer@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Shail Dave <sdave@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2011-01-27video: tegra: Multi client overlay managementDan Willemsen
This creates a new device node per head - /dev/tegra_dc%u. There are a number of ioctls in linux/tegra_overlay.h to open, close, and flip overlays. This is a replacement for the extensions in the tegra fb interface, but does not remove that functionality for compatibility reasons. Once everyone has moved, we can remove the tegra fb extensions. Change-Id: Id78a94482637a7ce229ec64eb5feaf2dec2b7804 Reviewed-on: http://git-master/r/16700 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-01-27video: tegra: Tiled surface supportDan Willemsen
Change-Id: Ib991078ae8fb3d91e16bcf038796f0e10344e2c4 Reviewed-on: http://git-master/r/16697 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-01-25Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-01-25watchdog: tegra_wdt: Several changes to watchdog driverDmitriy Gruzman
Fix not re-enabling watchdog resume if it was enabled in probe Add clearing watchdog interrupt in probe Remove tegra_wdt_set_timeout Change-Id: I8fdbb6da3eda64a85a73ed85ab979a5ee0261c37 Signed-off-by: Dmitriy Gruzman <dmitriy.gruzman@motorola.com>
2011-01-25[tegra: HDMI: hdcp] Fix warning issueMinwuk Lee
Need to put tegra_nvhdcp_suspend ahead of spin_lock_irqsave() to avoid warning while device enters into suspend (LP0) Bug 781575 Change-Id: Iefbea823dad71e21ecd71c48007bebc9cbe10f0d Reviewed-on: http://git-master/r/16687 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-01-25spi: tegra: disabling packed modeAmit Kamath
disable unstable packed spi mode Change-Id: I81a11a0f5dd9515ff1430ccfcc7d2ed7371e79b3 Reviewed-on: http://git-master/r/16105 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-25power: bq20z75-battery: add new power supply propertiesVarun Wadekar
- POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN - POWER_SUPPLY_PROP_ENERGY_NOW - POWER_SUPPLY_PROP_ENERGY_FULL - POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN Bug 749251 Change-Id: I231cf406b1cbd468e9921d1ee50075e6a7ae386e Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/16043 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-01-25nvhost: Reimplement null kickoff functionality.Dan Willemsen
For each channel submit where null kickoff is requested, we don't place the user's commands in the pushbuffer. All necessary context switches, syncpoint increments and waitbase increments do happen though. Update: Add NULL_KICKOFF ioctl to use instead of FLIP, this prevents kernel ABI breakage. Bug 717235 Previous Id: I51c323729ea57993a5b52fb395ab90cb8608ee6b Previously Reviewed: http://git-master/r/5091 Change-Id: I4f92db457aff6e1c3a8d454255c4b051c4663360 Reviewed-on: http://git-master/r/15882 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-25Fixed Multiple HDMI Hotplug detection.Gaurav Sarode
Fixed Bug 748794 Added 5 ms delay to allow pin voltage to stabilize. Change-Id: I0040bd1d4db074971ca67aabf2569b3173529103 Reviewed-on: http://git-master/r/16333 Tested-by: Gaurav Sarode <gsarode@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Peter Zu <pzu@nvidia.com> Reviewed-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-by: Shail Dave <sdave@nvidia.com>
2011-01-25usb: host: tegra: Request 400MHz emc clockBenoit Goby
while USB is active to eliminate all USB buffer underruns. Change-Id: I9977224601e715e950284708958be98d37b3e6b1 Signed-off-by: Nathan Connell <w14185@motorola.com>
2011-01-25usb: gadget: tegra_udc: Request 400MHz emc clockBenoit Goby
while USB is active to eliminate all USB buffer underruns. Change-Id: I7ad8ebfa2d802f91b81839e14fde906da1a0569e Signed-off-by: Nathan Connell <w14185@motorola.com>
2011-01-24Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
Change-Id: Ifc4b876bb673b2f3beaa3c5995bc3d527f6f717d
2011-01-24video: tegra: nvmap: Several changes to carveout killerRebecca Schultz Zavin
-Add a module param to enable/disable carveout killer -Fix race condition in code to wait for something to free memory after firing carveout killer -Fix the check for current so we always compare task->group_leaders Change-Id: Ie030978827dce6b0fbbfa1db0d80e4abe59eaa51 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2011-01-24video: tegra: incresase delay in underflow recoveryErik Gilling
Change-Id: I8093c83a2749c63b6ece051cc9b892d87e55fe04 Signed-off-by: Erik Gilling <konkers@android.com>