summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/odm_kit
AgeCommit message (Collapse)Author
2010-11-29[arm/tegra] Keep SDIO1 lines high on boot-up.Rahul Bansal
Internally pulling up SDIO lines from AP side should eliminate the need of external SDIO pullups or dependency on wifi driver to do the same. Bug: 760178 Change-Id: I021f21c83a679a4f823c06f1927c6f2f85483e32 Reviewed-on: http://git-master/r/11489 Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Tested-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-11-19[arm/tegra/odm] ventana: Supporting pin multiplexing for i2c-1Laxman Dewangan
Supporting the i2c1 to have mutiplexed option in pin configuration. Changing the bus device info accordingly. bug 756254 Change-Id: Ifa74220c9fe3dfc4eb6928159f962de53634bd6a Reviewed-on: http://git-master/r/10413 Reviewed-by: Chun Keung (Denis) Chau <dchau@nvidia.com> Tested-by: Chun Keung (Denis) Chau <dchau@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-19[tegra/odm_kit]: Update copyright noticesHoang Pham
Update the appropriate licensing header for open source Bug 744290 (cherry picked from commit 9680517ed63ab99fbd80fd3f7795d4bc33e34b9c) Change-Id: Icc2e1dc3f9ec055e6d49dedd3d5ce32b84e3a17a Reviewed-on: http://git-master/r/10502 Tested-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: John Davis <jodavis@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-15[arm/tegra] Support for Wake-On-Wireless Event.Rahul Bansal
Support for device wakeup on receiving SDIO interrupt in LP1/LP0 for incoming wifi pakcket. Bug: 730157 Change-Id: Ia2e9bf2af215f33d6d6d8d78ba0cdf2d71011917 Reviewed-on: http://git-master/r/9813 Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Tested-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-04odm: enable bluetooth wake conditinal to CONFIG_BT_BLUESLEEPUday Raval
Enable bluetooth wake up only when CONFIG_BT_BLUESLEEP is defined. This is to prevent system wake up when bluetooth is not enabled. Bug 753730 Change-Id: Ia929881de0f57a0420a1ed2920a6abee2be71b1c Reviewed-on: http://git-master/r/10189 Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Tested-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-28csr lowpower mode:adding bluesleep support for csrrgoyal
Adding bluesleep support for CSR chip BUG 691608 Change-Id: I5cb9420201e99b36a9ee26a411c0312b3c6e3fa1 Reviewed-on: http://git-master/r/9678 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-27[ARM/TEGRA] ventana odm_kit power supply rail usage correctionNarendra Damahe
Bug 745437 (cherry picked from commit 40234b8f9194860cc6634a94b6b093ce42c2b45c) Change-Id: I3686f931edf8167b01175480a005dca909078166 Reviewed-on: http://git-master/r/9541 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-26[arm/tegra] support RTC alarm interrupt in odm_kitJon Mayo
New API added to odm_kit to register a callback to use on RTC interrupt. Supported added for RTC alarms in the max8907b PMU. Bug 717253 Bug 734529 Change-Id: I34abebd7dd3caf4ef8923fcf651c50f6d245f6b4 Reviewed-on: http://git-master/r/7328 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-25[arm/tegra]ventana ODM:getBoardInfo() correctionNarendra Damahe
corrected the function which was not returning correct board id causing emc dfs to not scale after resuming from suspend. Change-Id: Iea1a8e8241ccca45d6b7961f82175c37f33f25fb Reviewed-on: http://git-master/r/7786 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-22[ventana/usb] turn off vbusSuresh Mangipudi
Pull up/down the gpio for vbus when entering or exiting out of suspend/resume. Bug 718123 (cherry picked from commit 65f04654231877fdf29d766f73f4e60a251fd975) Change-Id: I9653dd0241b859da5faf19755b2f8f3e494d3beb Change-Id: I39f07bdd12a6c9c7038b0a9d4d7318f85664fc53 Reviewed-on: http://git-master/r/9008 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-20[ARM/tegra] suspend: Consolidated dvfs/TMON resume.Alex Frid
Moved dvfs resume into finish suspend ops call (from the 1st dvfs thread invocation after suspend). This would guarantee dvfs re-start in case when suspend is aborted by other driver. Bug 742504 (cherry picked from commit 3a8bf2922f2f266381c887f3c05b7a755b40fae2) Added thermal monitor (TMON) suspend/resume functionality. Bug 698425 Bug 746601 (cherry picked from commit d6aa039689b31d311c836fe478c5943470d7203d) Change-Id: I643f5bd9021989af569bd0ebba40af60738a6bdf Reviewed-on: http://git-master/r/8719 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-05[arm/tegra] provide wifi power/carddetect abstractionRakesh Kumar
When user switches on wifi, wifi driver need to poweron wifi card and ask sdhci stack to enumerate the card. Sdhci stack does not provide any interface to achieve this. Major wifi vendors depend on platform to provide wifi poweron/reset/carddetect abstraction function. Bug ID 739374 Change-Id: I988393352ff6cb54be3d70a59c94f67eedff06fb Reviewed-on: http://git-master/r/7097 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-09-24tegra/bt wake : enabling bt wake sourceAnantha Idapalapati
enabling BT wake source to wake up the system from low power modes. Bug 680524, 691608 Change-Id: Icc63ab86616da302270325f9d4867834af645785 Reviewed-on: http://git-master/r/6854 Reviewed-by: Anantha Idapalapati <aidapalapati@nvidia.com> Tested-by: Anantha Idapalapati <aidapalapati@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-09-23[odm] whistler pinmux: Fixing UartA pinmux option for RILLaxman Dewangan
RIL interacing with UARTA is using the 4 line. The correct configuration for this interface is Config6. Currently it is config1 which is causing the issue on other pin operation. Fixing this issue. bug 710711 Change-Id: I68e426de4597f87d832fb934e2cf6120e898b3de Reviewed-on: http://git-master/r/7100 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-09-23[ARM/tegra] ODM: Enabled EMC DFS for Elpida LPDDR2.Alex Frid
Enabled EMC DFS for Whistler E1112 board with Elpida LPDDR2. Change-Id: Id6a09e1b96120d44af95498d9c6ef8e3e318bb0b Reviewed-on: http://git-master/r/7044 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-09-20[ventana/rtc] enable rtc as wakeup event.Suresh Mangipudi
enable rtc as a valid wake up source/event on ventana. Bug 728544 (cherry picked from commit a93c1ee40eddaa6c2244c30f03868fb589fdf062) Change-Id: Ib1ee0211d3a69a6dbb83f6b78ebc89863c64a499 Reviewed-on: http://git-master.nvidia.com/r/6778 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-09-19tegra-whistler-accelerometer: reverse x directiontegra-10.9.1Bharat Nihalani
X direction needs to be reversed to correct orientation in portrait mode for Whistler. Bug 678250 Reviewed-on: http://git-master/r/6661 Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> (cherry picked from commit 2406bc176b9bb86bd7b6c9e707c4e44b97d997d6) Change-Id: I35eff83ba9cb39d49062f2fb9e01d968543b7bde Reviewed-on: http://git-master/r/6767
2010-09-14Merge remote branch 'origin/tegra-2010-09' into HEADMaria Gutowski
2010-09-13[ARM/tegra] ODM: Enabled EMC DFS for Samsung LPDDR2.Alex Frid
Enabled EMC DFS for Whistler E1112 board with Samsung LPDDR2. Bug 725563 Change-Id: I65cd32365f5739b1d82b1f0a84d794245a6c98a9 Reviewed-on: http://git-master/r/6319 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-09-06tegra accelerometer: Changed default initialization parametersPritesh Raithatha
Fixes bug 678250 Reviewed-on: http://git-master/r/5583 Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> (cherry picked from commit bcd2f2e113fb10b321272a53c2c0e015099e3ea8) Change-Id: I985af6334389e257ae6acd37e85c17391200b649 Reviewed-on: http://git-master.nvidia.com/r/6056 Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-08-30[odm/pmu] tps6586: Fixing external rail control issue.Laxman Dewangan
The external power rail Ext_TPS74201PmuSupply_LDO is controlled by the gpio 1 of the tps6586. When gpio output is set to 0, the rail output is ON and when gpio output is set to 1, the rail output is OFF. As the api provides the control of these external rails through tps6586, the gpio output control should be on the desired value of external rails. Also by default power on, the external power rail Ext_TPS74201PmuSupply_LDO is ON so making it OFF as part of pmu setup. Change-Id: I05e2700afc719065f723b6f78b8cef829dcd4e53 Reviewed-on: http://git-master/r/5558 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-08-29[ventana/ulpi] ulpi low power stateSuresh Mangipudi
Release the ulpi gpio before entering lp0. Bug 718123 Change-Id: I6a07f6df723b7192a3b83dbda1cde39b4dd75b93 Reviewed-on: http://git-master/r/5088 Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-08-27[ventana/battery] Gpio to be driven low.Suresh Mangipudi
The Gpio for the battery needs to tbe driven low, so that it does not draw any current. Bug 718123 Change-Id: Ib1493c3ebb8abe0a978b1482abeba43b76a65e1c Reviewed-on: http://git-master/r/5089 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-08-27[arm/tegra] comms: move 32KHz clock initializationRakesh Kumar
32KHz clock is required for bcm4329 wifi, bluetooth and gps. wifi odm is not correct place for it. Change-Id: I2613236c5cff918b51921609d942568865324a00 Reviewed-on: http://git-master/r/5199 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-08-24[arm tegra odm] battery: modifying stub driverAbhishek Aggarwal
Stub driver is modified to return success from all the relevant APIs to prevent failure of probe of tegra-battery driver. If there is no battery driver then MSD cannot be turned on. Also removing the dummy driver for whistler as it is now redundant since stub driver is being used for whistler. Bug: 715515 Change-Id: Icc922dc9e2016c783d005b5467983553d05a1028 Reviewed-on: http://git-master/r/5467 Tested-by: Abhishek Aggarwal <aaggarwal@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-08-19[ventana] DVFS table.Suresh Mangipudi
Integrate the DVFS table for ventana. Change-Id: I2be06e78893f544c1e180438d6650138b7973c1b Reviewed-on: http://git-master/r/5085 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-08-18tegra accelerometer: Changed default initialization parametersPritesh Raithatha
Re-enabled accelerometer for whistler. Fixes bug 721469 Fixes bug 704850 Change-Id: I5eb9b04092df11b82b3e43e6c9699b579945576f Reviewed-on: http://git-master/r/5278 Tested-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-08-17[ARM/tegra] odm: corrected the polarity of the baseband wakeup pin configurationSheshu Shenoy
Change-Id: I33c6abe2739f13eaf6dab2c98a910048f3733b85 Reviewed-on: http://git-master/r/5213 Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com> Tested-by: Sheshagiri Shenoy <sshenoy@nvidia.com> Reviewed-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-08-17tegra accelerometer: power management changesVenu Byravarasu
Added suspend and resume functionality to tegra accelerometer, for supporting LP0 on Ventana tested on Ventana-C bug 716080 Change-Id: Ib57b3f2f0d3bec77839f40226f79cd60e222a366 Reviewed-on: http://git-master/r/4836 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-08-16harmony odm: disable GPIO-PV2 as wake-up eventBharat Nihalani
gpio_pv2 is disabled as a wake-up source for Harmony, as it causes spurious interrupts when battery charging current is more than 120 mA fix for bug 717868 Change-Id: I9b42b81daac035b0ba3644e8b23a1c1d6a5f03bb Reviewed-on: http://git-master.nvidia.com/r/5140 Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-08-10[arm tegra odm] battery: new driver for whistlerAbhishek Aggarwal
Implementing new dummy odm battery driver for whistler. It is based on the stub driver and returns success from all the relevant APIs to prevent failure of probe of tegra-battery driver. If there is no battery driver then MSD cannot be turned on. Bug: 715515 Change-Id: I2dece8b7b3d27292a96e9e59d175679b75cc13a1 Reviewed-on: http://git-master/r/4840 Tested-by: Abhishek Aggarwal <aaggarwal@nvidia.com> Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
2010-08-04tegra odm pmu: Add missing setting settle time for HDMI DDCHoang Pham
There is missing setting settle time for HDMI DDC after enable. This is causing EDID read fail for some TVs on Harmony platform due to this power rail not stable after enable. After measured from scope, there is required at least 500us to make HDMI DDC stable after enable. Bug 710476 Change-Id: Ia3641896a36bce3fe9d7dda44a48721f324afb6a Reviewed-on: http://git-master/r/4737 Tested-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-26[accelerometer]:Support on VentanaSuresh Mangipudi
removed the BoardID based identification, now use only Peripheral GUID for determining if the board supports accelerometer or not Change-Id: I95938ff4836cbb0bb8547e2d9684dfb534816bfc Reviewed-on: http://git-master/r/4031 Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-26[ventana]Battery charging.Suresh Mangipudi
The GPIO port R pin 6 needs to be set low for charging of battery on ventana rev C Change-Id: I2ac17494f65f550d5bf676ae8ec09819983b72ac Reviewed-on: http://git-master/r/4171 Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-23odmquery:remove extra check of sdio3 is_removablePavan Kunapuli
In odm query, returning the is_removable prop of sdio3 from the static array. The redundant check is removed. This is causing locking issues between kernel and nvrm. Bug 711837 Change-Id: I9d49a0f65ebb1de79d091badb0f316798c63c1cf Reviewed-on: http://git-master/r/4340 Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Tested-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-23[ventana]:enable HDMI by setting GPIO state.Suresh Mangipudi
Setting the gpio to Input mode for the HDMI. Change-Id: If8eebb714bf09450ebaf5cae924e2b5cae4048df Reviewed-on: http://git-master/r/3771 Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com> Tested-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-23[ventana] lp0 supportSuresh Mangipudi
Set 2 sources of wake up, for ventana 1. PWR key 2. WAKE key Added support for reading the odm option for the low power state from the odm data that is provided during nvflash. Change-Id: Ib8da228a89bb514f1bce2f4971e432c269cd80ea Reviewed-on: http://git-master/r/4187 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-07-23[arm/tegra] ODM: adding csr and broadcom GUIDrgoyal
Added GUID for broadcom and csr to identify which BT chip is present. Change-Id: Ib4163d2aacd97700047be4f20b66fc40d7aa1a35 Reviewed-on: http://git-master/r/4238 Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
2010-07-22[ARM/tegra] ODM: set CPU power off time on Whistler.Alex Frid
Set CPU power off time on Whistler to assure correct power-on reset on exit from LP2. Possible fix for bug 710566 Change-Id: Ifb15183150b32345e21df23da96dc5d76fdb0802 Reviewed-on: http://git-master.nvidia.com/r/4189 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-22[ARM/tegra] ODM: Integrated Elpida EMC DVFS table.Alex Frid
Integrated Elpida EMC DVFS table for Whistler E1108 processor board. Bug 709629 Change-Id: I493d2e8cb3f87b9bcabeee97602994d4d85c794e Reviewed-on: http://git-master.nvidia.com/r/4106 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-22[odm]whistler:Making DeepSleep[LP0] as a default power state.Bitan Biswas
Making DeepSleep as a default power state during system suspend. Suspend[LP1] power state can be selected with ODMDATA Change-Id: I41fbffb901174a121447e1f97de2d8150245d1db Reviewed-on: http://git-master/r/4115 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-21[odm] ventana: Adding support for volup/down and onkey.Laxman Dewangan
Adding the entry for volume-up, volume-down and onkey of ventana to support these keys events. Change-Id: Ia01f369626052de7a76361d47b6df1d5839b7353 Reviewed-on: http://git-master/r/4141 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-20dsi: Configuring Normal mode for lcd_de pinNagesh Penumarty
The POR value of the lcd_de pin is pull up. Becasue of default pull up of lcd_de pin, display controller is triggering the frame even when TE is not connected to the panel. So, configuring the lcd_de pin in Normal mode instead of default pullup. With this change, Android is display is seen on the dsi panel only when TE is connected to the panel, else there will not be any display. Tested on: Whistler, Android using dsi panel. Bug 703400 Change-Id: I0f934d703caedac1be2317bfe80568d3a74e21db Reviewed-on: http://git-master/r/4126 Tested-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-16tegra: E1206: touch-driver: Enable multi-touch suspend/resumeJitendra Lanka
Driver level changes required to enable multi touch suspend/resume. Suspend and resume functionality depend on a GPIO connected to the reset pin of the touch hardware. This is automatically detected via a odm query and if reset pin is available for the board, suspend and resume are enabled for that board. If not, suspend and resume calls will be no op. During resume process, as soon as we clear the sleep mode bit in the the hardware, till the time the scan mode is enabled, all the interrupts received are spurious and since INT is set on resume, to ignore these spurious interrupts when the resume process starts, the corresponding GPIO INT is masked and is un-masked only after spurious INT bit is cleared and scan mode is enabled. Tested on: E1206 Change-Id: I518b7656057e14533e8c7b7a75bdc3b285f7633f Reviewed-on: http://git-master/r/2568 Tested-by: Jitendra Aditya Lanka <jlanka@nvidia.com> Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-14[odm] harmony: select lp1/lp0 during nvflashBharat Nihalani
For LP0, bit 31 of "odmdata" should be set to 1. For LP1, bit 31 of "odmdata" should be set to 0. Change-Id: I9b495c298faec7c38b1493a4c89fe07e6e4625ab Reviewed-on: http://git-master/r/3908 Reviewed-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-07-13tegra accelerometer: Mapping axes info based on GUIDVenu Byravarasu
As Ventana and Tango used same kionix accelerometer with different placement and position, mapping axes info based on GUID. tested on: Ventana and Tango with froyo + K32 Change-Id: Ic246ba3a55f8c303fce06accfa7645e3b762fbca Reviewed-on: http://git-master.nvidia.com/r/2868 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-13[ODM Query] add Purpose field to NvOdmIoAddressDavid Schalig
Specifies purpose of address definition as an adaptation local ID. ODM adaptations can use this member to parse connectivity tables from ODM query more easily, by enumerating all addresses they expect under their GUID, and populating this member with an enum value. So far address definitions were identified by their order in the table, this was more error prone and is now eliminated. For backward compatibility use is optional. bug 685553 Change-Id: Id4c599bd40305a770426785a6acb76d38e44eb9d Reviewed-on: http://git-master/r/3866 Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-12[tegra-odm/ventana] Fix audio playback on ventana.Venkat Moganty
Audio playback is not working on the ventana due to Dap pinmux conflict. Corrected the odm pinmux config for DAP. Change-Id: I2dca196d516688545b1dcf6f0065157c59520616 Reviewed-on: http://git-master/r/3789 Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-12[ARM/tegra] ventana sdio odm: modify power on sequenceRakesh Kumar
Enable 32KHz clock and increase delay while toggling power/reset gpio pin for BCM4329 wifi chip Bug 698225 Change-Id: I9471186fed458908044cb70fe961048f24092914 Reviewed-on: http://git-master/r/3427 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-08tegra odm:added GPIO for reset of touch hw.Suresh Mangipudi
Added GPIO line which is used for resetting the touch hardware on ventana. Change-Id: I6f7d4b1a5a74b3d01e97a5bd6a86be3d5a71a97a Reviewed-on: http://git-master/r/3415 Reviewed-by: Jitendra Aditya Lanka <jlanka@nvidia.com> Tested-by: Jitendra Aditya Lanka <jlanka@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>