summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-03-16video: tegra: dsi: Added dsi support.Luke Huang
Bug 793366 Bug 794499 Change-Id: Id49d86dd7760b75ef4947f5bdab9e37f0333391d Reviewed-on: http://git-master/r/#change,18950 Reviewed-on: http://git-master/r/22508 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-16video:tegra:nvmap: Allow mapping uc/wc memory as wb.vdumpa
Bug 786016 Change-Id: Ic72c57b710a305851dfea3dda3eb217156683b39 Reviewed-on: http://git-master/r/17795 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-16crypto: tegra-aes: enable/disable irq per requestVarun Wadekar
Change-Id: I7d8fe24ab5aa914fc2753f256eec261fcbf746bc Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/22594 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-16Revert "Revert "crypto: tegra-aes: performance improvements""Varun Wadekar
This reverts commit 8bc4f710e981d53a9bd161c6c054241231e09149. Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I0497afd3ec54e7b835de37e9941b2418e3dad4e3 Reviewed-on: http://git-master/r/22963 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-14merge: Update USB naming from upstreamDan Willemsen
Change-Id: Ib6484eb5dbc4f05acb8db4762c0d156bb211b351 Reviewed-on: http://git-master/r/22166 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-14Revert "mfd: tps6586x: add suspend/resume handlers"Varun Wadekar
This reverts commit d64db664f2e8d6f4d08db249135011e32d54bc7a. Change-Id: I8de61440cbbe5a12f8cf2d045e7035b9a0ab7369 Reviewed-on: http://git-master/r/22775 Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-14misc: tegra-crypto: do not specify any key when using sskVarun Wadekar
if no key is specified then tegra-aes uses ssk by default Change-Id: Ia8f806a6822813d05f4d310b95676b058fd0c8cc Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/22163 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-10Revert "crypto: tegra-aes: performance improvements"Varun Colbert
This reverts commit a8dbfda58a6980976de60ba46f22a5f0b2ecab5f. Change-Id: I70407c45cc5605ad9924a5a1145e18371dc9d2ef Reviewed-on: http://git-master/r/22554 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-10mfd: max8907c: Add api to power off max8907cPrashant Gaikwad
Add an api to power off max8907c by setting power off bit in RESET_CNFG reg. Bug 799957 Bug 800602 (Cold boot) Change-Id: Ie0206d684a86fecc75273c1d3b087bb2d47b4c56 Reviewed-on: http://git-master/r/22385 Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-10crypto: tegra-aes: performance improvementsVarun Wadekar
- set the key only at the start of encrypt/decrypt operations - avoid using mutex in handle_req, since it is already serialised - sanity checks while setting the iv Change-Id: I026e138f59d661cd705db6820bed63e5e15f02c5 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/22162 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-10fix build: max1749.c was erroring during a local makeDan Willemsen
If built with android, which uses the O=... option, this file compiles fine, but if you try to just use 'make', there was a build error. Change-Id: I09f0233c2bf933278c34a7ec5e7fcc17cabc1ede Reviewed-on: http://git-master/r/22274 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-10sdhci-tegra: use tasklet for card detectionHarry Hong
If remove/insert sdcard continuously, kernel panic happened due to lock up at sdhci_card_detect_callback(). The problem was that sdhci_card_detect_callback() being called from interrupt context. This code uses interfaces that cannot be called while the kernel is atomic (no scheduling). With using tasklet rather than directly call, detection call will be scheduled. So tasklet will make sure of serialization for card detection interrupt calls. Bug 783446 Reviewed-on: http://git-master/r/16884 (cherry picked from commit a991cb2311799116f17504e137d0672650643ea6) Change-Id: I4249e9e7becd9b5c0a4594b5cca6e5b5dc2184a4 Reviewed-on: http://git-master/r/21741 Reviewed-by: Bo Yan <byan@nvidia.com> Tested-by: Bo Yan <byan@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-03-10merge: Fix mergeDan Willemsen
See: commit 1c7ef350b68445758966f6acf0f4f8a62f4a8e75 Author: Erik Gilling <konkers@android.com> Date: Fri Feb 18 16:24:37 2011 -0800 video: tegra: de-assert reset after clocks are turned on In underflow recovery, if the clocks are not enabled when the dc is brought out of reset writes to the DC will sometimes hang. Change-Id: I6f741962e74cb076dccc60e0f444d66067fa570c Reviewed-on: http://git-master/r/22308 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com> Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
2011-03-09crypto: tegra-aes: do not track ssk slotVarun Wadekar
ssk slot is write-locked so the driver should not track in its free slot pool. Change-Id: Ibf04a949a2894ef2c41851e7e92c13901c873bf2 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/22161 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-09crypto: tegra-aes: set vde clock to max in _probeVarun Wadekar
Change-Id: I41ba8dfc193b346eda522eadfb0f9035f4d838f8 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/22160 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-08cleanup: Change source file permissions to 0644Dan Willemsen
Change-Id: Id030cc94db62c9dcaa79a2ddd7c034ac9f9adc61 Reviewed-on: http://git-master/r/21803 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-08video: tegra: Clean up nvhdcp from upstream mergeDan Willemsen
Change-Id: I8d396047e663995651c7e60253294d95c61e325b Reviewed-on: http://git-master/r/21295 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-08tegra hsuart: Clean tx_bytes in tegra_flush_bufferVictor Ryabukhin
tx_bytes might contain amount of bytes which should be transmitted after next "tx empty" interrupt. If we clear xmit circular buffer, tx_bytes should also be set to 0, otherwise it will lead to crash in fill_tx_fifo. Bug 794635 Change-Id: Ia34aba33dd09730c8f91d19e5c103cf1060a357e Reviewed-on: http://git-master/r/21844 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-08usb: fsl_udc: update vbus status before clock is disabledRakesh Bodla
When the device cable is disconnected, vbus status must be updated before disabling the clock. Bug 796339 779952 Change-Id: Ib310028c5ae357a6fae63594892efca2352cff7a Reviewed-on: http://git-master/r/21890 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-08spi: tegra: Fixing misc issues.Laxman Dewangan
Following are the fixes; - Supportng half duplex. - Only using SW based CS. - Write to readback with command register does not work. Fixing issue. - Using cpu based transfer for smaller size and dma based for larger size. - reading proper transfer status after every transaction. bug 791149 bug 791780 Change-Id: I293b3f1b571276f5d8fe4ad4da67f827926e4b73 Reviewed-on: http://git-master/r/20581 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Amit Kamath <akamath@nvidia.com>
2011-03-08[tegra] huawei EM770 modem supportRakesh Kumar
Added EM770 vendor and product id in usb serial driver. Bug 721467 Reviewed-on: http://git-master.nvidia.com/r/8385 (cherry picked from commit 7e5e54136472ab0170eeb5d9c1992ffed9bb0920) Change-Id: Ib23a5f8f6a0eb9659cc8c58b55d6f73500b17918 Reviewed-on: http://git-master/r/21739 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com> Tested-by: Bo Yan <byan@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-03-08Invensense: simplify KconfigDan Willemsen
This change makes the choices optional, and removes redundant entries. With this change, the minimal defconfig format doesn't want to always build the mpu3050 as a module. Change-Id: Ic6dc65e982bc59671e27adbce257bf14bc97777c Reviewed-on: http://git-master/r/21776 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com>
2011-03-07merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/include/mach/system.h arch/arm/mach-tegra/include/mach/usb_phy.h arch/arm/mach-tegra/usb_phy.c drivers/usb/host/ehci-tegra.c drivers/video/tegra/dc/dc.c drivers/video/tegra/dc/hdmi.c include/linux/tegra_usb.h Change-Id: Ic1f4f2b360893e8de6b867a8ecc239aca02367da
2011-03-04bluetooth: Fixed ld mismatched symbolsChao Jiang
The driver data structure referenced a function point which is defined as __init data. This caused symbol mismatch error. This could be fixed by defined driver data with __init macro, otherwise, by cancel __init on probe function. Have this done in a safe way. This file is removed in upstream. It seems that is the only chance to fix it in our own repository. Change-Id: I3eba3578c84d8ec67707a276841d72f98c47267d Reviewed-on: http://git-master/r/20931 Reviewed-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Chao Jiang <chaoj@nvidia.com>
2011-03-04Kernel driver for SSL3250A flash/torch camera device.Erik Lilliebjerg
Change-Id: Id5cb40c9823c7fcfd26e45e4608c45b16a2d431a Reviewed-on: http://git-master/r/21351 Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: George Bauernschmidt <georgeb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-03Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-03-03Revert "tegra: host: move stale wait checking into the kernel"Rebecca Schultz Zavin
This reverts commit 2d49bf33f3885aab293f12d54447f66e911e3226.
2011-03-03video: tegra: dc: Fix hang in dc resetMin-wuk Lee
When DC(Display controller) meets underflow, DC needs to be reset to recover this, but in several resets, it hangs. To avoid this, - Set DC STOP mode ahead of DC reset assert - Off read host bus by DC ahead of DC reset - In DC0 reset period, to avoid DC1 access and vice versa - In reset worker, do not try to off host1x Bug 785529 Bug 789567 Change-Id: I26f40240cd60b83133309b36f61223336e9b3a41 Reviewed-on: http://git-master/r/20769 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-03-03usb: fix the order of the device id defined in the ncm driverSteve Lin
Bug 776360 Change-Id: I78bb82071a21ef314285a50dd753652d7925cbb7 Reviewed-on: http://git-master/r/20493 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-03video: tegra: flush flip work queue upon controller disableMichael Frydrych
When display controller is being disabled, some scheduled flips may still be pending in a work queue. Do not lose them. Change-Id: I043fce583d44bb962494e6625a5c28675498fb55 Reviewed-on: http://git-master/r/20580 Reviewed-by: Jihoon Bang <jbang@nvidia.com> Tested-by: Jihoon Bang <jbang@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com>
2011-03-03mfd: tps6586x: add suspend/resume handlersVarun Wadekar
if the system is woken by an alarm, tps' irq handler gets called and it tries to communicate on i2c. i2c adapters resume later which causes communication failures in tps' irq handler. the right way is to disable tps' irq while suspending in order to avoid such i2c communication failures. Change-Id: I8487c8b9039d2736acf66e8b02463658428bd5a3 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/21099 Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-03max8907c rtc: support wake alarmsTom Cherry
This change allows rtc alarms to wake the system. Change-Id: I2a7212fe7cc02b08893fe3a37824b0d39a9f5386 Reviewed-on: http://git-master/r/20101 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-03max8907c mfd: Add wake irq capabilityTom Cherry
This change allows the max8907c to wake the system when receiving an irq. It also masks all non-wake conditions from causing an irq when going into suspend and unmasks these conditions when resuming to not cause spurious wake-up events. Change-Id: I5eadb929ff4aded8a6ec11426ab424f0f692c042 Reviewed-on: http://git-master/r/20100 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-03fsl_udc: Enable zlp for control endpointRakesh Bodla
Fix for sending zero length packet on control endpoint when transfer size is multiples of MAX packet size. Bug 793731 Change-Id: I0839f81e575f79515d14abe54ca7b30b7139e63d Reviewed-on: http://git-master/r/20850 Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Tested-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Shail Dave <sdave@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
2011-03-02Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-03-02tegra: host: move stale wait checking into the kernelPrajakta Gudadhe
The kernel now receives wait tracking data (similar to gathers and relocs) and compares the current syncpt with the threshold value. If it's old, it gets a kernel mapping and rewrites the method data to use a kernel reserved syncpt that is always 0 (so trivially pops when seen by the HW). Patch has dependency to the user-space patches Submitted on behalf of: Chris Johnson <cjohnson@nvidia.com> original work by: Chris Johnson <cjohnson@nvidia.com> Change-Id: I4d4e5d3b49cab860485c4172f87247f5b4f5ea6e
2011-03-01Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36Colin Cross
2011-03-01tegra: usb: ehci: Handling for hsic phy rx errorSeshendra Gadagottu
Increased timeout values to maximum safe values BUG 791857 Change-Id: I15b19338660b402b5d797dba9680f19176ca684d Reviewed-on: http://git-master/r/21233 Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-03-01usb: host: Renamed USB_TEGRA_HCD -> USB_EHCI_TEGRABenoit Goby
Change-Id: I2eec79186d6dc258caa2f3c8f3cd071222d1c5c7 Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01usb: do not force select has_ehci for tegraBenoit Goby
Change-Id: If6219a3ba9671a2c4c10b35461e1cc2ffe50ab0a Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01usb: otg: Add ulpi viewport access opsBenoit Goby
Add generic access ops for controllers with a ulpi viewport register (e.g. Chipidea based controller). Change-Id: I53d50857d4716f8df708af199ad1def1ff9d4beb Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01usb: host: tegra: Cleanup before sending upstreamBenoit Goby
Change-Id: I846d43b1ecbe6c726f024b6a0fb318d6300a3746 Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01usb: otg: tegra: Moved tegra_usb.h to include/linux/platform_dataBenoit Goby
Change-Id: I201b6476979f6e1ef8ffadb4398b99a1728f3083 Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01usb: host: Moved tegra_usb.h to include/linux/platform_dataBenoit Goby
Change-Id: Ic093d07858eb6e27aae9cd04d4c59407b5b1d76d Signed-off-by: Benoit Goby <benoit@android.com>
2011-03-01Revert "usb: host: ehci-hcd: add controller_resets_phy quirk"Benoit Goby
This reverts commit 2c7d591aa11086ba841f8712b7cee33e245b62f6. Change-Id: Ic9994dafc424e16d5d8251c287f8be65832b611b
2011-03-01serial: tegra_hsuart: Clean-up FIFO flush and set baudrate operations.Andrei Warkentin
Do necessary waits and fifo clear according to NV. Also use 115200 as the rate set while bringing-up rx dma during init, to decrease start-up time. Change-Id: I5211c75607cf2880ab2b1c22ab30f2c265534a1c Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
2011-03-01tegra: usb: ehci: Error handling for hsic phy rx errorSeshendra Gadagottu
Implementation of recover function for hsic phy rx error. BUG 791857 Change-Id: I9d8f52335d70aa592ce509974e0e2d8cc7b83329 Reviewed-on: http://git-master/r/21202 Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-03-01merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/Makefile arch/arm/mach-tegra/fuse.c arch/arm/mach-tegra/fuse.h arch/arm/mach-tegra/kfuse.c arch/arm/mach-tegra/tegra2_clocks.c drivers/video/tegra/dc/Makefile drivers/video/tegra/dc/hdmi.c drivers/video/tegra/dc/hdmi.h drivers/video/tegra/dc/nvhdcp.c Change-Id: I60a025d9e23e0699afcfaf9e3e42a98263cd7de8
2011-02-28Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36Erik Gilling
Change-Id: Ie01fff1ceddfbada480ef2928ac4791853787a49
2011-02-28video: tegra: hdmi: enable wakeup on hotplugErik Gilling
Change-Id: Idbb3f81c3c2d8a4f7f6b76736e11dd07cdd3a413 Signed-off-by: Erik Gilling <konkers@android.com>