summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-04crypto: testmgr: add support for aes ofb modetegra-10.11.9Puneet Saxena
the fix add testcase for testing aes ofb mode. Signed-off-by: Puneet Saxena <puneets@nvidia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Bug 787628 cherry picked the following commit http://git.kernel.org/?p=linux/kernel/git/herbert/ cryptodev-2.6.git;a=commit;h=ba0e14acc417eceb895efda1ff46366f4d1728f8 Change-Id: Ibcb554ac4971edd61c8141137fbe6178e2fb8209 Reviewed-on: http://git-master/r/30339 Tested-by: Puneet Saxena <puneets@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-04ARM: tegra: usb: update default UTMIP phy settingJay Cheng
Revise some default settings for utimp phy Bug 815848 Change-Id: I7eac6981e52bdf6b33e80d34aebb0dc403b326bf Reviewed-on: http://git-master/r/30257 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-04tegra:otg: Fix clock disable to match ref countBitan Biswas
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. - Since clocks are now turned off during suspend clock needs to be enabled during fsl_udc_resume. Bug 793834 Reviewed-on: http://git-master/r/21652 (cherry picked from commit 8fa46a6da22e6def221435098de054e55c7d1196) Reviewed-on: http://git-master/r/22999 (cherry picked from commit 7ca37264ae9f7358afea2622fa35b928391f8561) Change-Id: I9f39696e04674e76fb088e9eee498153f981bac6 Reviewed-on: http://git-master/r/30075 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-04ARM: tegra: fuse: fix sysfs programming/reading logicVarun Wadekar
some testing revealed certain loopholes in the code. also the way the shell sends data down to the sysfs handlers changed which warranted the change in the handlers. Change-Id: I131ab43691321a864ad5afd4f9852a7ba8842130 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/30134 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-04ARM: tegra: flush serial console earlier in rebootBo Yan
This is to make sure this function will not cause any lock-up during actual reboot Should help bug 770426 Change-Id: Id5cfaee07d9438741b721b67c7cd342858e7b5cb Reviewed-on: http://git-master/r/28345 Reviewed-on: http://git-master/r/30176 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-04ARM: SMP: disable local IRQ and FIQ before restartBo Yan
Disabling IRQ and FIQ before we stop other processor cores and start reboot process will make sure the restart procedure is not preempted. This is to prevent the potential lockup caused by the loss of synchronisation among different processor cores due to IPI_STOP. Should help bug 770426 Reviewed-on: http://git-master/r/27780 (cherry picked from commit 3d63b7709f3614783ebbf97568132458e5198c29) Change-Id: I513a1f7394478b16f6c0204af7b31b18244ac819 Reviewed-on: http://git-master/r/30172 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-02arm: tegra: ventana: switch on supply only when camera is openedNitin Kumbhar
LDO_SHDN_L signals control AVDD_2P8V and VDD_AF_2P8V supplies to camera sensor modules. Power on these supplies only when camera is in use. BUG 782390 Change-Id: Ifefbb0b4da0b9213c4a2f76b51bcd3f2bbeb745d Reviewed-on: http://git-master/r/30015 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-02arm: tegra: ventana: deselect pca9546 i2c mux channel on exitNitin Kumbhar
On ventana, pca9546 is used as a mux for 0v2710/ov5650 camera sensors. With UJA0H14 version of ov5650 sensor, it is observed that pca9546 driver incorrectly caches last channel when VDDIO_CAM is toggled while enabling/disabling tegra camera. Deselect i2c mux channel on exit so that i2c mux is correctly configured with new mux channel. BUG 812134 (cherry picked from commit 2d62e589c0bd933db846d4b8f9fe4f2116bef8ad) Change-Id: Id249bbeb33c370b8fc5360af33bdefecfd62a48a Reviewed-on: http://git-master/r/29811 Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-05-02usb: 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 Change-Id: I5253928264112b429f78e6682e261a44820811db Reviewed-on: http://git-master/r/27510 Reviewed-on: http://git-master/r/29974 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
2011-04-29media: video: tegra: ov5650: updated copyrightsPritesh Raithatha
Change-Id: I6f0bc3b5859c8545853051f10bda60ab6ac3dd8b Bug 819975 Change-Id: I19e1448b07702bebaf2889efc3a304fcd2d07df8 Reviewed-on: http://git-master/r/29467 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-28ARM: tegra: correcting vde resource end fieldSanjay Singh Rawat
Change-Id: I26f58048e4bb2988a7121bf4a7738607ced88a12 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/29674 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-28crypto: tegra-aes: dual core supportSanjay Singh Rawat
* add bsea engine support for encryption and decryption * add arbitration semaphore id for bsea Bug 803932 Change-Id: I978b06a12265acecae99dbf13607e00ae74e87f7 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/29672 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-25ARM: tegra: whistler: Power down/up core railtegra-11.2.5Prashant Gaikwad
program pwren signal of max8907c regulator to power down/up core rail on deep sleep enter/exit deep sleep mode. core_timer and core_off_timer changed as per K32. separate_req set to false as whistler pmu has combined power requests. Bug 817378 Change-Id: Ia95a61360079f919a039572cf8fd4597db9efd50 Reviewed-on: http://git-master/r/28435 Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-25mfd: max8907c: Prog pwren to power down/up corePrashant Gaikwad
apis added to program max8907c regulator to power down and up core supply rail via the pwren signal on enter and exit deep sleep mode. Bug 817378 Change-Id: I5af04db22b6c84fc4359c1a0cf209710ca144159 Reviewed-on: http://git-master/r/28434 Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-25merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mm/proc-v7.S drivers/video/tegra/dc/dc.c Change-Id: I40be0d615f14f1c01305388a706d257f624ba968
2011-04-22Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-04-21Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36Rebecca Schultz Zavin
2011-04-21video: tegra: dc: Fix several problemsAndrei Warkentin
Resolve potential race between resume and reset Fix wmb after return Change-Id: I98ad1e713b9781d780bf93561496011bf62b86d1 Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
2011-04-20media: video: tegra: SSL3250A torch driverErik Lilliebjerg
Fix SSL3250A camera flash I2C errors. Bug 778859 Change-Id: Ifaf800405bcfc080a66c500cb74fe87ca3074be9 Reviewed-on: http://git-master/r/28205 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-20crypto: tegra-aes: add support for aes-ofb modepuneet saxena
Bug 787628 Change-Id: I73c3b8f0b3e69f1c4bc13bdaea84b19b14eb73d1 Signed-off-by: Puneet Saxena <puneets@nvidia.com> Reviewed-on: http://git-master/r/28003 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-20ARM: fix /proc/$PID/stack on SMPDeepesh Gujarathi
Rabin Vincent reports: | On SMP, this BUG() in save_stack_trace_tsk() can be easily triggered | from user space by reading /proc/$PID/stack, where $PID is any pid but | the current process: | | if (tsk != current) { | #ifdef CONFIG_SMP | /* | * What guarantees do we have here that 'tsk' | * is not running on another CPU? | */ | BUG(); | #else Fix this by replacing the BUG() with an entry to terminate the stack trace, returning an empty trace - I'd rather not expose the dwarf unwinder to a volatile stack of a running thread. Change-Id: Ide38bb5eeff09c1d1189bc1a30667a2cc6b96ba2 Reported-by: Rabin Vincent <rabin@rab.in> Tested-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Reviewed-on: http://git-master/r/28325 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-20ARM: defconfig: Enable DSI on tegra defconfigTom Cherry
Change-Id: I5cdfdfef8dfc9ff4796e8a9b53d9af8f41e49e65 Reviewed-on: http://git-master/r/24360 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-20ARM: tegra: whistler: enable spi-slave based modem.Sheshagiri Shenoy
- configured the pinmuxes needed by the baseband. - added board specific baseband related code. - added caif specific platform data needed by protocol layer. bug 785523 Change-Id: I2d1936419ccd9190d6539836cb8bca563ea07c6e Reviewed-on: http://git-master/r/23432 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-20net: wireless: bcm4329: Clean ARP offload table on IP updateGreg Goldman
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-04-20merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: I903db54b76781cdb9231bb25d79635cb8f264087
2011-04-19rtc : tps6586x: avoid RTC time is getting slowertegra-10.11.8Daehyoung Ko
To ensure an accurate read of the RTC registers during the required multi-byte read operation, the PMU RTC is designed with the following protection scheme - A circuit detects a write/read and locks the RTC_COUNT4 value by keeping the RTC in a suspended mode - During the suspended mode, a secondary counter is used to keep track of all counts that would have normally incremented the RTC - After the read is complete, the value of the secondary counter is added back to the RTC registers and thereby keeping the RTC accurate - The backup counter allows for a 1ms RTC suspend mode duration when the RTC prescaler is enabled. i2c needs to generate a 2 msgs when reading. - the address setup(write RTC_COUNT4 operation), hence start locking the RTC_COUNT4 - the data transfer (read RTC_COUNT4 operation),release locking it. this may allow the CPU to execute other portions of code in between the two operation. The fix is to start a PMU RTC access by reading the register prior to the RTC_COUNT4 so that access of the RTC PMU registers will be guaranteed to always occur within the 1ms time period. - the address setup(write RTC_COUNT4-1 operation), so there is no locking the RTC_COUNT4 - the data transfer (read RTC_COUNT4 operation), starting locking the RTC_COUNT4 and release locking the RTC_COUNT4 in one operation, so it will be guaranteed within 1ms Bug 811075 Change-Id: Ie07472a329f6a0eed11e6a039cd93307bb5276a0 Reviewed-on: http://git-master/r/27537 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-19video: tegra: dc: hdcp: handle the case of DEVICE_COUNT = 0 properlyPeter Zu
bug 811316 Change-Id: I4513f81719a60c8f214ee07082e58defb1cca0aa Reviewed-on: http://git-master/r/26985 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-19ASOC: tegra: Fix BT_SCO capture device maskingSumit Bhattacharya
bug 816348 Change-Id: I6551a867fdfcddc6689d6fcc1daaee11d8879e7f Reviewed-on: http://git-master/r/28182 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-04-19video: tegra: dc: removed incorrect cropping codeDonghan Ryu
there was a cropping code which saves from out of FB.However, the cropping code was wrong and cropping should be done from usermode driver instead of kernel. a warning is added here for easy debugging Bug 792524 Change-Id: Id57243e36f903b14a093dad23a6111032890c01a Reviewed-on: http://git-master/r/28055 Reviewed-by: Donghan Ryu <dryu@nvidia.com> Tested-by: Donghan Ryu <dryu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-19ARM: tegra: ventana: SSL3250A board level supportErik Lilliebjerg
Fix SSL3250A camera flash I2C errors. Bug 778859 Change-Id: I086eb863cce343a107f5f382d2b96eecf70d6902 Reviewed-on: http://git-master/r/28202 Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-19ARM: tegra: added bsea to clk_duplicatessrawat
Bug 803932 Change-Id: Idfafba37e71e80bce1b70a7324daf5e8df2a9e0d Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/28174 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-19ARM: tegra: add bsea to tegra_aes_resourcessrawat
Bug 803932 Change-Id: I52703d6281bf613d7ccf67c38daf6412ac790c74 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/28173 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-19ARM: tegra: add address map for bseasrawat
Bug 803932 Change-Id: I61cf41423d08d2f2c19f314269be9e8ee6255b9b Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/28172 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-19ASOC: tegra: Disable Sidetone.Manjula Gupta
Removes the Sidetone enable code, sidetone should not be enabled for normal capture. For Bug: 808731 Change-Id: I7159c023624c9d3f759cf52510e8a48551454db1 Reviewed-on: http://git-master/r/28013 Tested-by: Manjula Gupta <magupta@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-19net: Reorder incoming packets in PPPoLAC and PPPoPNS.Chia-chi Yeh
PPP handles packet loss but does not work with out of order packets. This change performs reordering of incoming data packets within a sliding window of one second. Since sequence number is optional, receiving a packet without it will drop all queued packets. Currently the logic is triggered by incoming packets, so queued packets have to wait till another packet is arrived. It is done for simplicity since no additional locks or threads are required. For reliable protocols, a retransmission will kick it. For unreliable protocols, queued packets just seem like packet loss. Time-critical protocols might be broken, but they never work with queueing anyway. Signed-off-by: Chia-chi Yeh <chiachi@android.com>
2011-04-19Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36Erik Gilling
Change-Id: I023482f230dc4f413647f47b3c7c36fd4c98b97d
2011-04-19video: tegra: prevent double disable in suspendAndrei Warkentin
Prevents HDMI detect worker from re-disabling DC during suspend (after tegra_dc_suspend has disabled DC itself)/ Change-Id: I90016fb709934ab8fb5135443980898069f8071f Signed-off-by: Andrei Warkentin <andreiw@motorola.com> Signed-off-by: Erik Gilling <konkers@android.com>
2011-04-19video: tegra: dc: hdcp: handle the case of DEVICE_COUNT = 0 properlyPeter Zu
When HDCP repeater has no device attached, DEVICE_COUNT reports back as 0. HDCP driver should handle this case as a good case and continue downstream authentication, other than fail it. Change-Id: Ied2e46428c0247f14fbd96016cd4fdbf358f6587
2011-04-18merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Change-Id: Ibf21f94d93ef237de6ab379dc1aa2498df08cdbd
2011-04-15ARM: tegra: whistler: add camera sensor soc380Abhinav Sinha
Add registration and initialization of soc380 camera Bug: 783488 Change-Id: I9ad9d25cfa51a45b2fe889cdac5b90650eafdd03 Reviewed-on: http://git-master/r/24973 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15ARM: tegra: whistler: enable soc380 sensorAbhinav Sinha
Enabling soc380 front camera sensor. Bug: 783488 Change-Id: I306cd91765cf0148fcd633e86667643d556b2f2d Reviewed-on: http://git-master/r/24971 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15camera: Add driver for soc380 front sensorAbhinav Sinha
Bug: 783488 Change-Id: I0d70ec5bb0fd880b167e9ced0e002829abeccdbf Reviewed-on: http://git-master/r/24969 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15ARM: defconfig: add the configuration for AD5820 focuserFrank Chen
Bug 783488 Change-Id: I25516842591f60304e7fdaa32717c96a313005ca Reviewed-on: http://git-master/r/26974 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15ARM: tegra: whistler: Add support for AD5820 focuserFrank Chen
Bug 783488 Change-Id: I609ed3c7d87633af53244357bc630fc7de00073c Reviewed-on: http://git-master/r/26973 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15media: video: tegra: AD5820: Add AD5820 focuser driver.Frank Chen
Add AD5820 focuser driver for Whistler. Bug 783488 Change-Id: I0d8a08e7df9f472ffc4edfe7bfa255357bff5126 Reviewed-on: http://git-master/r/26970 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15tegra dc: fix premult dst alpha blendingFrancis Hart
Register assignments were wrong for incoming overlay blend parameters. DisplayManagerLite policy sets src combine mode to premult to signal dst premult aplha blending. But the DC expects premult set for the dst window for this mode. Bug 796009 Change-Id: I5929bc4cd362ac60c7a9f14bb4ae83da04b857ab Reviewed-on: http://git-master/r/26835 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15ARM: tegra: ventana: defconfig: enable torchErik Lilliebjerg
Enable camera flash/torch Bug 778859 Change-Id: I50fee49253cc03c583be96a972ae20f06d33d7ac Reviewed-on: http://git-master/r/26915 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15ARM: tegra: ventana: SSL3250A board level support.Erik Lilliebjerg
Add board level support for camera SSL3250A flash. Bug 778859 Change-Id: I7375757546d7ed54dace9f9cd03adeee84959126 Reviewed-on: http://git-master/r/26903 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-15Merge branch 'linux-tegra' into android-tegraErik Gilling
2011-04-15video: tegra: fix more unplug/suspend timeout in nvhdcpErik Gilling
Change-Id: I30dfa03324eb5c4c344c62578eb808a150c80deb Signed-off-by: Erik Gilling <konkers@android.com>