summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-05-18misc: nct1008: update edp zones for current temperatureVarun Wadekar
nct1008 will now use the ALERT# functionality to decide which edp zone to switch to. Change-Id: I1616a1d88e9f2f308a8b31935dbecec05ef54bca Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/31340 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-18media: video: ov5650: synchronize sensors for stereoPrayas Mohanty
For stereo camera, it is important that both sensors should start sending data at the same time for them to be in sync. Add IOCTL (OV5650_IOCTL_SYNC_SENSORS), which user code can access to synchronize both sensors. bug 787214 bug 786928 Change-Id: I6bf34a8af3b7dd51150d5c0247b6787b824c1dae Reviewed-on: http://git-master/r/30005 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-18tegra: iovm: Limit forced Carveout-to-IOVM conversion to tegra 3Hiro Sugawara
Bug 828027 Change-Id: I890e0481be5aade59bc68510c9fe5929bb3b64a2 Reviewed-on: http://git-master/r/31902 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-18media: tegra: avp: check for NULL on some APIsJon Mayo
clk and nvmap APIs can return ERR_PTR or NULL. also fixed some printf warnings. Bug 827548 Change-Id: Iae3eea2d3d7130bcaa4dadb126661908dcca1e96 Reviewed-on: http://git-master/r/31750 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Tested-by: Kaz Fukuoka <kfukuoka@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-18rtc: tps6591x: enabling backup battery chargingvenu byravarasu
With this change: 1. Enabled backup battery charging 2. Setting RTC default time, if it is not set previously. bug 796507 Change-Id: Idffb99f24718cd8b15f38b6ca8109969ef47be81 Reviewed-on: http://git-master/r/31522 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Gaurav Sarode <gsarode@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-18power: battery: bq27x00: add "health" propertysyed rafiuddin
Addition of Health property which informs the health of the battery like good, dead and over charge. Bug 786669 Change-Id: I4ed3684ec4e777d110f3c5bd2a062ac5be22c6e2 Reviewed-on: http://git-master/r/30505 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-18Merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: Ib689952b7ac2e486761787b3eee08afa5df92683
2011-05-17usb: tegra: fix tegra ehci setup sequenceSteve Lin
Fix tegra ehci setup sequence according to EHCI spec. - move ehci_reset after ehci_halt - avoid redundant ehci_reset after ehci_run. ehci_reset has a side effect to cause phy reset for certain phy interface. Bug 800301 Change-Id: I9a798de1b6361742ce759e44d141673c0bd328b3 Reviewed-on: http://git-master/r/31432 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-17ARM: tegra: dc: lower hdmi clock before set rateJon Mayo
choose a higher clock divider on hdmi before switching clock parents. This prevents hdmi from exceeding its DVFS clock limits. Change-Id: I09c23498bf6450cf19e91accb788715582c3befb Reviewed-on: http://git-master/r/31605 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com>
2011-05-17crypto: se: tegra: Support for Security EngineKasoju Mallikarjun
Added support for Security Engine. Following HW features are supported: CBC,ECB,CTR,OFB,SHA1,SHA224,SHA384,SHA512 and AES-CMAC Change-Id: Ic45c29add689f55be68966d333d1cb7cdb378353 Reviewed-on: http://git-master/r/29950 Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-17regulator: tps6236x: Adding driverLaxman Dewangan
Adding regulator driver for the device TPS6236x. bug 821295 Change-Id: Ifed4044db33fa6867248fae000bddf6239cb9685 Reviewed-on: http://git-master/r/31386 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-05-15media: tegra: avp: Allocate IOVMM first for AVPKaz Fukuoka
bug 827505 Change-Id: If6d4fd137b72c3a08bf8fb1094d8dd31ab361f1c Reviewed-on: http://git-master/r/31633 Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Tested-by: Kaz Fukuoka <kfukuoka@nvidia.com> Reviewed-by: Frank Thomas Bourgeois <fbourgeois@nvidia.com>
2011-05-13(WORKAROUND) Keep AVP kernel aliveKaz Fukuoka
- Avoid shutdown AVP kernel - This is a workadound for bug 827353 bug 827353 Change-Id: I7a8889bf190f91792c90a84fc69d5b190b8de73f Reviewed-on: http://git-master/r/31576 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-13arm: tegra: nvmap: Forcing to convert CarveOut requests to IOVMHiro Sugawara
Adding a build time CONFIG option to enable forcing of conversion of non-IRAM CarveOut memory allocation requests to IOVM requests. Default is "y" to force the conversion. Each forced conversion is reported to console. Allocation alignments larger than page size for IOVM are enabled. Single page CarveOut allocations are converted to system memory. CarveOut memory reservation has been removed for aruba, cardhu, and enterprise. Change-Id: I3a598431d15b92ce853b3bec97be4b583d021264 Reviewed-on: http://git-master/r/29849 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-13video: tegra: dsi: Adjusted the values of packet sequence registers.Kevin Huang
Changed the values of packet sequence registers for DSI burst video mode. Change-Id: I70188ed3c8fff094862a89377457751fd0d4382c Reviewed-on: http://git-master/r/31080 Reviewed-by: Kevin Huang <kevinh@nvidia.com> Tested-by: Kevin Huang <kevinh@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-13media: tegra: avp: Use SMMU to load AVP kernelKaz Fukuoka
- Use nvrm_avp_e0000000.bin is for Tegra3 A01 - Use nvrm_avp_00001000.bin is for Tegra3 A02 and later bug 765965 Change-Id: I9bc28b122bd1b0cd2c1ece3bc681550de5912229 Reviewed-on: http://git-master/r/31202 Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Tested-by: Kaz Fukuoka <kfukuoka@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
2011-05-13media: tegra_camera: add support for regulator avdd_dsi_csiPritesh Raithatha
Bug 826043 Change-Id: I3d78f7941d54038f12f587400c899aa145c63122 Reviewed-on: http://git-master/r/31369 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-05-13regulator: tps6591x: delay for LDOs to stabilizeBharat Nihalani
after enabling any LDO/SM, there is a specific amount of delay required before the regulator becomes stable. Change-Id: I7cce3d8aad8859af0cbda7e114850fc95fe34eea Reviewed-on: http://git-master/r/30862 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
2011-05-13power_supply: moving INIT_WORK before calling device_addsyed rafiuddin
Calling device_add causes an inital uevent to be generated. The power_supply uevent function calls the drivers get_property function, which causes the driver to update its state, which again causes the driver to call power_supply_changed(). Since the power_supplys changed_work has not been initialized at this point the behavior is undefined.This patch fixes the issue by initializing the power_supplys changed_work prior to adding the power_supplys device to the device tree. (cherry picked from commit 97774672573ac4355bd12cf84b202555c1131b69 of http://git.infradead.org/battery-2.6.git/commit/ 97774672573ac4355bd12cf84b202555c1131b69) Change-Id: I7256b91144ce7de93bc63844bfa0b55433a9a7d0 Reviewed-on: http://git-master/r/30484 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
2011-05-13nvhost: Add tracing to nvhost driver.Terje Bergstrom
Creates /d/tracing/events/nvhost. Logs channel opens, closes, writes and flushes. For writes, logs number, size and address of cmdbufs and number of relocs. Change-Id: I5bdadcb40c31e3f057eb8c4579b95e235d860e39 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/29770 Reviewed-by: Andrew Howe <ahowe@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
2011-05-12i2c: tegra: Making proper synchronization between isr and callerAlok Chauhan
Following are the changes: - Added a mechanism to handle synchronization between caller thread and isr so that isr should not get called when clock is disable or controller is in reset state. - Handling tx fifo overflow error. - Added delay before resetting the controller which is required if there is any error in previous transaction so proper stop signal will be generated. Change-Id: I7ac121e056193cd4601f032cdabab59e7e0946ea Reviewed-on: http://git-master/r/30457 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Alok Chauhan <alokc@nvidia.com> Tested-by: Alok Chauhan <alokc@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Danielle Sun <dsun@nvidia.com> Tested-by: Danielle Sun <dsun@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-12Merge branch 'android-2.6.36' into android-tegra-2.6.36Colin Cross
2011-05-11video: tegra: Added sysfs for dc/smartdimmerLaurence Harrison
Includes: 1.) Added basic DC sysfs objects. 2.) Sysfs objects and functions for smartdimmer settings. 3.) Register dump access for smartdimmer. 4.) Improvements to the behavior of smartdimmer (now updates at the end of vblank instead of the beginning). 5.) Rename v_blank_complete to vblank_complete to keep in same effective style as the rest of the code. Change-Id: I59addcc479880322d49b24d1206009def3c4b392 Reviewed-on: http://git-master/r/29893 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-11video: tegra: Fixed compilation warnings.Kevin Huang
Change-Id: Ie46f78c54ea8f7bf04fa33c368123e760c072999 Reviewed-on: http://git-master/r/30751 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-11usbnet: Add RAW-IP network driver.Michael Hsu
Add RAW-IP network driver for use with modems such as XMM6260. Change-Id: Ifc863c50fd918eccec63895c82f10fc32f6b8b6f Reviewed-on: http://git-master/r/30640 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-11usb: cdc-acm: Add supported modem to CDC-ACM driver.Michael Hsu
Prevent CDC-ACM driver from creating tty devices for each USB interface on supported modem. Only create one tty device, leaving other USB interfaces available for other uses (such as RAW-IP). Change-Id: I457659783c61f3f76e8026683dbbf2ddb3098ba2 Reviewed-on: http://git-master/r/30599 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-11regulator: gpio_switch: voltage should be return in microvoltsLaxman Dewangan
The get_voltage should return voltage in unit of microvolts. bug 823828 Change-Id: I41d168f2845947cab0b076b0d3f0b70305af240b Reviewed-on: http://git-master/r/30488 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-11regulator: Add basic trace facilitiesMark Brown
Provide some basic trace facilities to the regulator API. We generate events on regulator enable, disable and voltage setting over the actual hardware operations (which are assumed to be the expensive ones which require interaction with the actual device). This is intended to facilitate debug of the performance and behaviour with consumers allowing unified traces to be generated including the regulator operations within the context of the other components of the system. For enable we log the explicit delay for the voltage ramp separately to the interaction with the hardware to highlight the time consumed in I/O. We should add a similar delay for voltage changes, though there the relatively small magnitude of the changes in the context of the I/O costs makes it much less critical for most regulators. Only hardware interactions are currently traced as the primary focus is on the performance and synchronisation of actual hardware interactions. Additional tracepoints for debugging of the logical operations can be added later if required. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> Change-Id: I351d02094bad5cfc5454b3b6c90853b714bee182 Reviewed-on: http://git-master/r/30382 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-05-11media: sh532u: Adding board related init/deinitLaxman Dewangan
When device sh532u is open, it calls board related initialization and de- initialization function. In the board related functions, the client can initialize the required signal, power on/off the device etc. bug 802264 Change-Id: Ie69a6e70c5d104489d248bef538e89263208ee54 Reviewed-on: http://git-master/r/30169 Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Danielle Sun <dsun@nvidia.com> Tested-by: Danielle Sun <dsun@nvidia.com> Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
2011-05-11net: wireless: bcm4329: Reduce listen interval to 10 (from 20)Dmitry ORNATSKYY
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-05-11Merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/usb_phy.c drivers/usb/gadget/fsl_tegra_udc.c drivers/usb/host/ehci-tegra.c drivers/video/tegra/dc/dc.c Change-Id: I62d72b8b96d4039bd0d253583c415ae714fb2693
2011-05-10Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36Colin Cross
2011-05-10net: wireless: bcm4329: Add new and default wifi locale supportDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-05-05ARM: tegra: dc: Fix overlay emc scaling calculationsAlex Frid
Bug 822754 Change-Id: I0b46083137efe1221faf4b71763c5c805c2b928d Reviewed-on: http://git-master/r/30310 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-05arm:tegra: USB EMC busy hint correctionNarendra Damahe
EMC busy hint correction Refer Bug 820214 for details Change-Id: I18130d8fb17d5ed5b4629de2e22aea299915a9e6 Reviewed-on: http://git-master/r/29866 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-05usb: host: tegra: PORTSC.SUSP needs a delaySuresh Mangipudi
Delay of 4ms is needed after the SUSPEND bit in the PORTSC register is programmed. The hardware would be set only after 4ms of delay. Bug 812427 Reviewed-on: http://git-master/r/27510 Reviewed-on: http://git-master/r/29974 (cherry picked from commit e6354059de6a1231bf340753657bbb4ef16c17a0) Change-Id: I30a0281a20c7a73b7f4b3641770cdbc45e0f0caf Reviewed-on: http://git-master/r/30144 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-05video: tegra: dc: handle error conditionAmit Kamath
Do not handle requests further for displays that are not enabled BUG 813310 Change-Id: Id4dc73cd9603b84d4ff1c62ae58fb19fc59a7e41 Reviewed-on: http://git-master/r/29515 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-05usb: otg: tegra: Fix clock disable to match ref countRakesh Bodla
usbd clock is enabled during the probe and not disabled after the functionality. Due to this clock reference count is non-zero and hence usbd clock is not disabled during suspend. Fixed this by disabling clock appropriately. Bug 819720 Change-Id: I2cd77be8b6e9ea69e0c65f0245f5e64805974c57 Reviewed-on: http://git-master/r/30340 Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Tested-by: Rakesh Bodla <rbodla@nvidia.com> Tested-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-05power_supply: Ignore -ENODATA errors while generating ueventPritesh Raithatha
Sometimes driver may not have meaningful property value to report and returns -ENODATA. The current code treat it as an error and returns fails and doesn't generate uevent with all other properties. This patch adds a special case for -ENODATA that ignores the property which return this error code and continuing to generate uevent with all other properties. (cherry picked from commit f722e17fdb2c97bbec2563636dd88489cdb1428b of http://git.infradead.org/battery-2.6.git/commit/ f722e17fdb2c97bbec2563636dd88489cdb1428b) Change-Id: I486125115df5ce5ccd1652607b2f1d2bf0adaf4a Reviewed-on: http://git-master/r/30334 Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-05power: bq27x00: add ac power supply & battery polling mechanismPritesh Raithatha
Bug 817305 Bug 806809 Change-Id: Ie1ebd1c3ae961898046ce88bf0e18f1374dbf49a Reviewed-on: http://git-master/r/30002 Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
2011-05-05crypto: tegra-aes: dual core supportSanjay Singh Rawat
* add bsea engine support for encryption and decryption * add arbitration semaphore id for bsea Bug 803932 Original change: http://git-master/r/#change,29672 (cherry picked from commit 0008cdb0f38d0cd0c074671fc067c4321f340b06) Change-Id: I59fcaab29c47a8b42e7470b30486851cfe90848f Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/30190 Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-05mfd: tps6591x: All register dump through debugfsLaxman Dewangan
Adding all tps6591x register dump through the debugfs interface. This will help to find out the configuration of different sub module inside the pmic. Change-Id: I9bf3c1c4cb8cc5d29e81b48bad21bfb9ca91d8fa Reviewed-on: http://git-master/r/29675 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-05usb: tegra: set sclk ratePrashant Gaikwad
sclk minimum rate is set to 40MHz which is less than required by usb. set sclk rate to 80MHz when usb is connected and disable sclk when usb is not connected so that sclk will get clocked at minimum rate. Bug 819796 Change-Id: I512a9278ecc646d20d624be10129138174ac1397 Reviewed-on: http://git-master/r/28766 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-05ARM: Tegra: Sh532u: Add focus motor state checkGary Zhang
Return last requested position if the motor settled or timeout occurs. Change-Id: Ib0ff58b827fcf871dbf185eb0a284b7fe010aef2 Reviewed-on: http://git-master/r/27978 Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Andrei Denissov <adenissov@nvidia.com> Reviewed-by: Gary Zhang <garyz@nvidia.com> Tested-by: Gary Zhang <garyz@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-05i2c: tegra: Add more debug message in failure caseLaxman Dewangan
Added some more debug message to print during i2c transfer failure to get more information from log. This help to understand/analyse the issue quickly. Change-Id: Ie957b9f2ad737da210722f2ea6f18da9a7b76813 Reviewed-on: http://git-master/r/30011 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-05ARM: tegra: dc: fix h_ref_to_sync calculationJon Mayo
use smaller h_ref_to_sync values. removed old debug printks Bug 806009 Change-Id: Iaf2cf258fcfb840df1863a69bcbba236486d2551 Reviewed-on: http://git-master/r/29900 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Chong Zhang <chzhang@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-05-05video: tegra: dc: stop hdcp when keys are missingJon Mayo
verify Aksv, if it is invalid then quickly disable further hdcp checks. Bug 792855 Change-Id: I4a9d689d571d2f916e11f92f5b897f287f724068 Reviewed-on: http://git-master/r/29899 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-05-05ARM: tegra: dc: clip invalid windows to screen resJon Mayo
clip invalid windows to fix screen size, failure to do so causes display errors that result in corrupted display and invalid video modes. prints a warning only once, if this warning is present in the logs then there is a misbehaving application. Bug 821094 Change-Id: Ief7b6379026e6abeb31a28aabf920618edd7ab44 Reviewed-on: http://git-master/r/29759 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-05-05ARM: tegra: touchscreen Implement early suspend/resume.Robert Collins
Bug 808579 Change-Id: Ib34b2ba6b900dec44fb0f3d79b0a8f2baa2cd758 Reviewed-on: http://git-master/r/25122 Reviewed-by: Robert R Collins <rcollins@nvidia.com> Tested-by: Robert R Collins <rcollins@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-05Sdhci:tegra:Switch OFF/ON power rails in suspend/resumePavan Kunapuli
Switching off and switching on the power rails during suspend and resume. Passing the power rail name, maxV and minV through platform data. Bug 793796 Change-Id: I6c80c1a23c9681043d11ffdd210dc6d2146bdd2e Reviewed-on: http://git-master/r/29660 Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>