summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-02-10tegra hsic: Adding USB hsic driver support to K36Seshendra Gadagottu
Adding hsic funtionality to USB2 instance. Add the changes required for hsic functionality and power management. BUG 756184 Change-Id: Ife8a1fc6ea95b15f66d840b1565d858ee25d5ded Reviewed-on: http://git-master/r/15192 Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Shail Dave <sdave@nvidia.com>
2011-02-09merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: drivers/video/tegra/dc/hdmi.c Change-Id: Ia65c693bf49160e3906df68403129ba1e5545912
2011-02-08rtc: tps6586x: avoid enabling/disabling of same irqVarun Wadekar
alarm_irq_enable can enable/disable irqs and the same irq will be enabled/disabled in set_alarm. Bug 770380 Change-Id: Ibd006e83028cea5cd251d789d258a5549bfa34ce Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/18661 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-08media: video: tegra: add driver for ov2710Nathan Lord
Change-Id: I9d9a9a301f23398a13fa7d865058f384288f6c92 Reviewed-on: http://git-master/r/18537 Reviewed-by: Nathan Lord <nlord@nvidia.com> Tested-by: Nathan Lord <nlord@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-07rtc: tps6586x: enable irqs while settings alarmsVarun Wadekar
Bug 770380 Change-Id: I8950a3ef2259b233b1711b266fa7d29270d95bfd Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/18565 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-07mfd: tps6586x: avoid burst writesVarun Wadekar
tps6586 does not support burst writes. i2c writes have to be 1 byte at a time. Change-Id: Iaf4fd9a3c1b983a3bb9a1ef680e03b14a69d736b Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/18561 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-07Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36Erik Gilling
Change-Id: I6fcdbcd0eb7103ac580deb94faf79959a5818ba1
2011-02-07video: tegra: only enable HDMI features if detected from edidErik Gilling
Change-Id: I94c5c83c25a8aa1de344339f5759953074488720 Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-07video: fbmon: add HDMI dectetion to fbmod edid parsingErik Gilling
Looks for ieee registration numver 0x000c03 as per HDMI spec. Change-Id: I6875b24c66e8754510edabcb4f9ba682a50d6ac1 Signed-off-by: Erik Gilling <konkers@android.com>
2011-02-04max8907c RTC driverTom Cherry
Initial checkin for Maxim max8907c RTC driver Change-Id: I764440cc1b0410e54f480a6e0ce424103052df14 Reviewed-on: http://git-master/r/16615 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-04misc: MAX1749 vibrator motor driverPrashant Gaikwad
Bug 782956 Change-Id: I0949eb5b40e75c7e9697787aba3d645dbe695cee Reviewed-on: http://git-master/r/18167 Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-04max8907c Charger DriverTom Cherry
max8907c Charger Driver from maxim plus nvidia modifications Integration from http://git-master/r/#change,15043 Change-Id: I8143fee9c99b43ad1089613236410dc8ad5bbca0 Reviewed-on: http://git-master/r/16134 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-04hwmon: ADT7461 Thermal Sensor driverPrashant Gaikwad
Bug 782954 Change-Id: I142e9b3684830e5a10b506d320dbddb71efa57d3 Reviewed-on: http://git-master/r/18018 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
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>