summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include
AgeCommit message (Collapse)Author
2011-02-22video: tegra: Add support for pin output overridestegra-11.2.0-hotfixJoseph Lehrer
bug 773671 Change-Id: Ia3d5ff4843a3da48a9a43123040b8bb75497cfef Reviewed-on: http://git-master/r/18757 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-22tegra: dc: Add PMx PWM controlJoseph Lehrer
bug 773671 Change-Id: If4265051873809491c80ada9401e48014c15f63d Reviewed-on: http://git-master/r/19397 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-22[ARM] tegra: i2s and das suspend/resumeSumit Bhattacharya
Add APIs in das driver to get and set das register values. ALSA driver will be using these APIs to cache das register values during system suspend resume. In i2s register get/set APIs caching few more registers. Bug 789967 Bug 792879 Change-Id: Iaa4487cb003d2f75d5c54f450f17833c7af96cf2 Reviewed-on: http://git-master/r/20291 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-02-17video: tegra: Fix handling non-zero Y offsetTaekhyun Kim
Change-Id: I6ce3f66075856397b394f433a4ee29ff3357b548 Reviewed-on: http://git-master/r/16977 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-10[tegra ALSA] Added headphone jack detectionChao Jiang
Headphone jack detection is enabled with this patch. The jack will be reported via /sys/class/switch interface to user space. fixes bug 766757 Change-Id: I58908e7de1025b17cdf37079d5650aa5f503dcdd Reviewed-on: http://git-master/r/18707 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Chao Jiang <chaoj@nvidia.com> Tested-by: Chao Jiang <chaoj@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
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-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-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-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: support v/h sync polarityErik Gilling
Change-Id: Ida82a70efaeadc9d5b11d8703e688063680b72a8 Signed-off-by: Erik Gilling <konkers@android.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-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-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-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-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-21Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36Colin Cross
2011-01-21ARM: tegra: Statically map all device io memoryColin Cross
Change-Id: I0c750b766dcdd166ddff6317b93556f9f5cce899 Signed-off-by: Colin Cross <ccross@android.com>
2011-01-20[ARM] tegra: add ULPI Null PHY supportSteve Lin
Adding ULPI Null PHY support in tegra usb driver. Bug 776276 Change-Id: Ib2f25b67828f3f8128e1868b4ce9bd8bddcef22b Reviewed-on: http://git-master/r/15433 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-20[ARM] tegra:kbc:Misc fixes and cleanupsPradeep Goudagunta
Following are changes: - Fixes stylistic, indenting and coding style issue. - Added option for scan timeout. - Fixes code to have only required number of key codes from board. - Remove the keycodes from driver and only based on board table. - Fixes the kbc platform data to provide better option for configuration. - Modified board files to build properly. Change-Id: I5e6b9f26ecf8db0769aabac9574cfb6d48c1f061 Reviewed-on: http://git-master/r/16254 Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-18Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-01-18ARM: 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>
2011-01-18merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: drivers/net/wireless/bcm4329/Makefile Change-Id: I31ce81e09c6f18d6966a5cffebc533453bce02d8
2011-01-11Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-01-11video: tegra: work around overlay corruption on underflowsErik Gilling
Overlays can get their internal state corrupted during and underflow condition. The only way to fix this state is to reset the DC. If we get 4 consecutive frames with underflows, assume we're hosed and reset. Change-Id: Icdf61517837c8570b8de35f585075de08aa35fe7 Signed-off-by: Erik Gilling <konkers@android.com> Cc: Michael I. Gold <gold@nvidia.com>
2011-01-10merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/fuse.c drivers/misc/Makefile Change-Id: I300b925d78b31efe00c342190d8dbd50e2e81230
2011-01-09Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36Colin Cross
2011-01-09ARM: tegra: usb_phy: continues driving FS-J during resumeJay Cheng
to prevent USB glitch. Change-Id: Iced668e33f986828d3a483b411055948b5b257e1 Signed-off-by: Jay Cheng <jacheng@nvidia.com>
2011-01-06Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36Colin Cross
2011-01-06ARM: tegra: Add emc_clk_rate field to dc platform dataJames Wylder
If passed in, use the required emc_clk_rate passed in from the board file. If no value set use ULONG_MAX as before. Change-Id: I301f9fea8bf7297722b5e91e34c0dc7796c6095f Signed-off-by: James Wylder <james.wylder@motorola.com>
2011-01-05[ARM] tegra: hdmi nvhdcp driverJon Mayo
Device /dev/nvhdcpX is used to manage NVHDCP on framebuffer /dev/fbX. These devices are created on hdmi driver initialition when it is attached to dc. An ioctl interface is in video/nvhdcp.h Hooks into edid.c and hdmi.c were added to take control of I2C bus. use TEGRA_DC_OUT_NVHDCP_POLICY_ON_DEMAND in tegra_dc_out.flags in board panel configuration to select a different default policy at probe. Change-Id: I0db66fc86096b98d2604544061721d291523de75 Reviewed-on: http://git-master/r/14466 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Phillip Smith <psmith@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-01-05[ARM] tegra: kfuse driverJon Mayo
factory programmed encrypted key fuses held in kfuse module. use APB DMA for accessing kfuse registers, reading directly can hang if any other DMA is active. Change-Id: I85e44cc169607bc22116075e28938014aa299d75 Reviewed-on: http://git-master/r/15038 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-01-05[ARM] tegra: DAS driver for tegraRavindra Lokhande
DAS(Digital Audio Switch) driver for tegra is added. This driver configures DAC and DAP port for audio switching. Change-Id: I47d4ac53aed0906df1469c7c70425136f0e3b2c7 Reviewed-on: http://git-master/r/14975 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-03HDMI stereo support - kernel code changeschzhang
Signed-off-by: Chong Zhang <chzhang@nvidia.com> Change-Id: I53eea3b14852aecd589dfbd0461258e064835cc9 Reviewed-on: http://git-master/r/11405 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-01-03[tegra ALSA] Save/Restore I2S Registers on suspend/resume.Manjula Gupta
Added support to save and restore I2S registers on suspend/resume. For Bug: 774397 Change-Id: I2a0caf93f422811573ec2acd193de3804f8860a0 Reviewed-on: http://git-master/r/14454 Tested-by: Manjula Gupta <magupta@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-03merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: I0c8b3e31cf0e02661c69afce7795c163e103aac6
2010-12-29Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36Colin Cross
2010-12-29ARM: tegra: clock: Add function to set SDMMC tap delayColin Cross
The SDMMC controllers have extra bits in the clock source register that adjust the delay between the clock and data to compenstate for delays on the PCB. The values need to be set from the clock code so the clock can be locked during the read-modify-write on the clock source register. Change-Id: Id25b7cc01fa4ec48478b60aefdf5e59bb040fbf2 Signed-off-by: Colin Cross <ccross@android.com>
2010-12-21[misc] remove executable permission on spi slave driverminwuklee
remove executable permission on spi slave driver Change-Id: I8ea99031821efe532e5956bdd82f178fce4e6726 Reviewed-on: http://git-master/r/14043 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-20tegra: spi: add slave driverminwuklee
- no endian conversion is needed, so use memcpy to copy from client buf to dma buf or vice versa when bits_per_word is 32. - do spi complete operation in the last dma complete callback - add spi_tegra_abort_transfer whcih is called by upper s/w stack for timeout functionality bug 749431 bug 749983 bug 752531 bug 760790 Change-Id: I5cd14397e1a066fe807d72405b6ced98d62b50da Reviewed-on: http://git-master/r/13801 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-15merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: I84ac6254ede2e88e8141e6ffd630eb753d9b1d91
2010-12-14Tegra-KBC: Driver implementationVictor Ryabukhin
See bug 734887 Previous implementation was working with ODM. All ODM parts was moved to kernel. Change-Id: I0db4a6713f473d35a4b7f1b9357f577b815ce49e Reviewed-on: http://git-master/r/9786 Tested-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-14Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Dima Zavin
2010-12-14ARM: tegra: hardware arbitration semaphore supportVarun Wadekar
add apis to use the hardware arbitration semaphores in order to share hardware modules between kernel drivers and AVP firmware (e.g., the BSEA (audio bitstream) engine and AES block) Change-Id: I500ef0797223bc702151ad14e0e2156f50644a2a Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2010-12-14ARM: tegra: add VDE and arb semaphores to iomap.hVarun Wadekar
Change-Id: Ic47b80d1c7fdf04305afbea4b34d6c9e9c9304ad Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2010-12-14video: tegra: support output pin polarities settingChao Jiang
Add support for set up pin polarities in DC driver. fixes bug 758356 Change-Id: Iff7026929d73e9cf232baeda1f9f0c8bbd60b66b Reviewed-on: http://git-master/r/11674 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-07arm: tegra: fix arch_resetDeepesh Gujarathi
In the arch_reset replace the CAR system reset with PMC main reset. The latter has wider scope and forces boot-rom to re-sample strap options. fix for Bug: 758977 and Bug: 751773 Change-Id: I57f844db447b14d7bd44de84bff03e1891c9dd54 Reviewed-on: http://git-master/r/12171 Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-03[tegra] i2s: Make I2S driver chip-specificVinod G
Renamed the existing i2s driver for tegra2. Change-Id: I2836a34ddda01681cb44afe08cb1359ad2c42d42 Conflicts: arch/arm/mach-tegra/Makefile arch/arm/mach-tegra/i2s_api.c arch/arm/mach-tegra/include/mach/i2s_api.h arch/arm/mach-tegra/include/mach/tegra2_i2s.h arch/arm/mach-tegra/include/mach/tegra2_i2s_api.h arch/arm/mach-tegra/tegra2_i2s.c arch/arm/mach-tegra/tegra2_i2s_api.c Change-Id: I6018b0d0442552463932d77ecfd930e0390e1ded Reviewed-on: http://git-master/r/11996 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>