summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-12[ARM/tegra] suspend: unconditionally configure PMC inverterstegra-10.7.1Gary King
change 8cb11a7a introduced a read-modify-write dependency in the LP2 entry sequence, and unconditionally enabled the core voltage request for platforms with separate requests for CPU & core voltage this caused harmony to immediately shutdown when entering LP2, since configuration of the PMC inverters was only being performed for systems that supported core voltage off (a.k.a., LP0). fix this by unconditionally configuring the inverters and other PMC state so that core_oe can be enabled safely Change-Id: I8fd11585ba511d6d13365250f80903bc0d71d0a4 Reviewed-on: http://git-master/r/3849 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com> Tested-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-12tegra: Delete obsolete source fileScott Williams
Change-Id: I473fef0dc8e2d41c8a1e39984dfe04d9d4b16665 Reviewed-on: http://git-master/r/3828 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-12[ARM/tegra] power: Re-factored PMC modes.Alex Frid
Changed power management controller (PMC) modes to avoid dependency on polarity of external pull-ups/pull-downs on power request lines. Before this change tri-stated request line must be pulled to "active" state. After this change either external request polarity is supported. Still, the following limitations should be satisfied: - if core or CPU power request line is pulled externally to "inactive" state, the respective regulator control must be disabled during boot - if core power control is not supported (no deep sleep / LP0), and core power request line is pulled externally to "inactive" state, the the respective regulator control must be disabled always - on the platforms with combined power requests the combination logic must be consistent with polarity of external pull-ups/pull-downs (i.e., AND "active" states / OR "inactive" states). Change-Id: I34343716e7df487d5fe8fddfc6f9456bf58c8759 Reviewed-on: http://git-master/r/3781 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@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-12usb phy: restricting save & restore reg context to ULPI hostAbhishek Aggarwal
The save and restore register context is only required for the dedicated devices connected to host. In AP20/T20 these devices are connected over ULPI interface. Hence, restricting this feature to ULPI interface to reduce time taken during suspending and resuming device from LP0. For LP1/LP2, it is enabled for all the supported USB interfaces (UTMI and ULPI). Bug: 702910 Change-Id: Iddb4a86ec97a668c7f984a140af000eb760fc426 Reviewed-on: http://git-master/r/3200 Tested-by: Abhishek Aggarwal <aaggarwal@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-12[ARM/tegra] power: Fix incorrect mask creation.Amit Kamath
Operator precedence caused math error. Added brackets. Change-Id: Ic7baf675c4aa0b38a2575bbd5fdf5ef502c4d043 Reviewed-on: http://git-master/r/3806 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-07-12[Tegra KBC] Added call of NvOdmKbcFilterKeys function from keyboard driver.Victor Ryabukhin
Fix for bug 688807. Function NvOdmKbcFilterKeys (ghost keys filter) was called only from bootloader keyboard driver, but not from OS driver. Fixed. Change-Id: Ibf8c0ccbf393e9c53a08a4cb2f746960bb43e4f8 Reviewed-on: http://git-master/r/3648 Tested-by: Victor Ryabukhin <vryabukhin@nvidia.com> Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
2010-07-09[tegra-usb] Fix USB-OTG for CONFIG_USB_SUSPENDVenkat Moganty
When CONFIG_USB_SUSPEND is enabled, after auto suspend by the usb core driver, USB devices(mouse,keyboard etc.) are not recognised. After auto suspend device state goes to suspend and not resuming to the address. This is fixed by changing the device state to address state on USB cable insertion. Bug 674938 Bug 698734 Change-Id: I837562fd1eb020f400824f2d475289df5fbc1f83 Reviewed-on: http://git-master/r/3494 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
2010-07-09[arm/tegra]clocks:Disable Nand clock when NandOpen failsSuresh Mangipudi
The Nand clock was left enabled even if the NandOpen failed. Disbaling the Nand clock when NvDDkNandOpen fails or when the NvDdkNandClose is called. Bug 706047 Change-Id: Ib085330d109ee9157632ecfd48e68505e108d6a7 Reviewed-on: http://git-master/r/3544 Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Dara Ramesh <dramesh@nvidia.com>
2010-07-09[arm/tegra]i2c:msg index should be valid for print error.Laxman Dewangan
The index for msg during printing the NvRmI2cTransaction() status is out of the range. The msg index should be maximum of num -1 where num is number of messages. Fixing this issue to print correctly. Change-Id: I43841e3278e3041aae422ebe8bdef2dbd84b6084 Reviewed-on: http://git-master/r/3727 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-07-09[arm/tegra] serial: Enabling hw based rts control.Laxman Dewangan
Tegra arch2x have the capability to control the rts line based on data available in the rx fifo. If data vaiable in rx fifo is equal to the rx trigger level then rts become inactive by the controller. Once the data read from fifo either by cpu or by the dma, the rts become active by hw. Change-Id: I67a52ea105973e9ca21a4cc08f0fb1e3234a7d55 Reviewed-on: http://git-master/r/3299 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2010-07-09nvmap : Fix missing size update in carveoutYu-Huan Hsu
Added carveout block size properly in nvmap_split_block. Bug 707072 Change-Id: Ie46ca482aba9f6e3231948a159144b41fe0e7c1c Reviewed-on: http://git-master/r/3708 Tested-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-08[arm/tegra] odm power: Added debug console suspend/resumeLaxman Dewangan
Implemented suspend and resume call for the uart debug console on which uart clock enable/disable and pinmux setting of normal/tristate is done for uart console port. The console suspend/resume will be called only if console_suspend_enabled is non zero. Change-Id: I163f04776a28035304b1568b08bd7f7c0ca9303d Reviewed-on: http://git-master/r/2997 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-07-08ARM: atomic ops: add memory constraints to inline asmGary King
add memory constraints to the rmw parameters in barrier-less atomic operations (atomic_add, atomic_sub, etc.), so that optimizing compilers do not constant-fold expressions surrounding these operations. based on a patch submitted to lakml by Will Deacon (will.deacon@arm.com) Change-Id: Idfc10bbda9b4a26ee8af6b3281075c4387e8c11f Reviewed-on: http://git-master/r/3649 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-08[ARM/tegra] iovmm: fix false out-of-memory errorGary King
if two processes try to allocate from IOVMM simultaneously, it is possible (especially when IOVMM space is largely unfragmented) for an out-of-memory error to be returned to one process because the other process unlocked the block tree after removing the best-fit free block, but before inserting the split block with the remaining free space. fix the race by indicating when a split operation has been started, so that other racing allocations can simply wait until the split is complete before attempting their own allocation. also, switch from using the standard kmem allocator to a kmem_cache allocator for the tegra_iovmm_block structures Change-Id: I8aacd4b30b8b2a6e5eda0a56945b4cf9158efa61 Reviewed-on: http://git-master/r/3238 Reviewed-by: Gary King <gking@nvidia.com> Tested-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>
2010-07-08[ARM/Tegra]enable internal RTC wakeNarendra Damahe
enable internal RTC wake to support LP0 stress test. It clear all rtc interrupt to avoid immidiate wake from suspend. Change-Id: Ideacdb095a59b6a83f9becfdcb7356c884d29eb3 Reviewed-on: http://git-master/r/3634 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-07[tegra-odm/ventana] Fix for USB2-ULPI host not working.Venkat Moganty
On Ventana board, USB2-ULPI is not working due to the wrong pinmux selection of the external clock configuration. After correcting the pinmux configuration for external clock USB2 host is working. Bug 706186 Change-Id: I6b74a73174388ea4f038ab0bad621e50edff79db Reviewed-on: http://git-master/r/3622 Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-07[tegra alsa] Fix SPDIF routingSumit Bhattacharya
On TOT when HDMI or BT device is connected to system we used to always route audio to SPDIF/A2dp device ignoring os driver routing policies. Fixing this issue. This fix will ensure we always route audio to the device(s) asked by os audio driver instead of taking decision at audiofx level. Making required changes in ALSA. Since ALSA do not have any routing policy implemented yet whenever it will get SPDIF or HP available notification it will set corresponding device as output device. Bug 702150 Bug 701555 Change-Id: Ic24c3325b1b016f6887631ab086d8e535cad081e Reviewed-on: http://git-master/r/3561 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Stephen Holmes <sholmes@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-07-06[odm] whistler: enable KBC as wake-up eventtegra-10.7.1-ERBharat Nihalani
1. Currently RTC is the wake-up source for Whistler. Since RTC interrupt is not re-enabled, disabling it until it is fixed. Adding KBC as a wake-up source for Whistler. Verified to be working fine with LP0, but with LP1 2. Adding option to select LP1 / LP0 using nvflash option Change-Id: Iceb5e5f2f06c00a71b7a1d83f55ee2b00f8c3f01 Reviewed-on: http://git-master/r/3534 Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-07-05[arm/tegra] kbc: Configuring kbc controller for LP0.Laxman Dewangan
KBC driver should set the DPD override register before entering in to LP0. Also it should forcefully clear the interrupt status register to clear any pending status. Configuring the kbc rowmask register for allowing the key detection only from wakeup enabled keysi before suspend. Change-Id: I2b1b0e2cd7d0ffc10c2b2f6b2e88f79ab7fb687b Reviewed-on: http://git-master/r/3495 Tested-by: Abhishek Aggarwal <aaggarwal@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: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-07-05[arm/tegra] suspend: add more config for LP0Bharat Nihalani
Following pmc registers configuration are added before entering deep power down (LP0): DPD_SAMPLE: Enabling sampling of pads before entering into LP0. DPD_ORIDE: Providing api to configure the kbc pins override before LP0. After LP0 wakeup, clearing the DPD_SAMPLE as per programming guidelines. Cherry-picked change 65675bde4a20bbb8fde86d2629d125fcd084f8db Change-Id: Ia3b5d6a29e626186315dfb199709b73099b04bfb Reviewed-on: http://git-master/r/3533 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-07-05[odm]whistler: Adding keylist for wakeups, nonzero wakedelayLaxman Dewangan
Adding the row and column info for the keys which will be used for wakeup the system from different power state. Making PowerOffCount (LP0 wake delay) to non zero and setting value equivalent to 100ms. Change-Id: I9d5dead9586875f2774494108c408463dc6f5ae7 Reviewed-on: http://git-master/r/3480 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-07-02tegra harmony: enable uinput for bt avrcpAnantha Idapalapati
UINPUT is enabled on whistler defconfig file. but is missing in harmony defconfig file. UINPUT is required for AVRCP profile controls. Change-Id: I160e6a49777d40ce8deede89f9e1d7ff7b02a650 Reviewed-on: http://git-master.nvidia.com/r/3372 Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Tested-by: Anantha Idapalapati <aidapalapati@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-02[arm/tegra] dma: Setting burst size to 4 words for i2s.Laxman Dewangan
Setting the dma burst size to 4 words for the i2s client. This will be default for i2s client. For othe client, the burst size will remain unchanged. Change-Id: I22610535910c1ba4e382da4deda29945be62003f Reviewed-on: http://git-master.nvidia.com/r/3242 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2010-07-02nvmap: carveout_free can swallow split heapsakamath
Check if the spare buffers are contiguous before merging them. bug 697501 Change-Id: I0987dcabefdad8fe6a1c33e63c7b19cb4a017c42 Reviewed-on: http://git-master.nvidia.com/r/3360 Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-02[ARM/tegra] ODM: Resequenced USB_AVDD power control.Alex Frid
Attached USB_AVDD rail to PMU power enable input on entry to LP0, so that it is guaranteed to be turned On in h/w before bootrom code starts. Restored default USB_AVDD control configuration on LP0 exit, and keep it enabled until USB driver takes over. Since the USB_AVDD re-configuration must happen after USB driver suspend during LP0 entry, and before USB driver resume during LP0 exit, moved RM PMU-related operations from pm notifier callbacks to platform .prepare method (called after all drivers are suspended, but before irqs are disabled), and its .finish counterpart. Bug 702919 Bug 691042 Change-Id: I98d48ae15e960f41dd441fe3c38337ac04649a5e Reviewed-on: http://git-master.nvidia.com/r/2365 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-07-02tegra-accelerometer: Fixed orientation issues on FroyoVenu Byravarasu
with this changelist following changes are done: 1. Corrected axes mapping for proper orientations on Froyo 2. Corrected acceleration calculation on all axes of Kionix accelerometer. 3. Added new axes mapping for getting same acceleration on all axes, as that of android mobile phones. tested on: Tango using Froyo + K32 Change-Id: I8e7546d1d61f05df04db18024f1b721980ef7799 Reviewed-on: http://git-master/r/3435 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
2010-07-01[ARM] whistler: Disable USB_SUSPENDVenkat Moganty
USB devices are not detected after auto suspend. Disabling the USB_SUSPEND config variable from defconfig file. Bug 705417 Change-Id: Id564083248db2eb0910977154531d9d97a591a0b Reviewed-on: http://git-master/r/3442 Reviewed-by: Abhishek Aggarwal <aaggarwal@nvidia.com> Tested-by: Abhishek Aggarwal <aaggarwal@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-06-30[ARM/tegra] Various Fixes for the LP0 power state.tegra-9.12.15tkasivajhula
- Fix the AVP suspend/restore path. - KBC is currently broken as a wake up source, so disable that and enable rtc - Fix warmboot sequence. - Various other PMC issues Change-Id: Ifa70b66253f3a30f85822ef6c0eecac29b1fc8d1 Reviewed-on: http://git-master/r/3019 Reviewed-by: Trivikram Kasivajhula <tkasivajhula@nvidia.com> Tested-by: Trivikram Kasivajhula <tkasivajhula@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-06-30[ARM/tegra] whistler ODM: enable Suspend(LP1) low power modeNarendra Damahe
Change-Id: I31bc7cdb38d4d192795e7091b32da804968ea8ec Reviewed-on: http://git-master/r/3391 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-06-30[ARM] whistler: disable INPUT_TEGRA_ODM_ACCELBharat Nihalani
Accelerometer generates fake events on some boards, hence disabling it from whistler defconfigs Bug 698867 Change-Id: I7d210fc0123ca65eadc238ba1f8655a09c28b60e Reviewed-on: http://git-master/r/3352 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-06-29[ARM/tegra]:Fuse alignment for SecBootDeviceConfigVinod Atyam
1)Value of SecBootDeviceConfig fuse was reversed when read the value from sysfs interface. This is corrected now. 2)SecBootDeviceConfig fuse size was returning 4 bytes which is not correct. It is modified to 2 bytes now. Bug 691945 Change-Id: Ia1ff7e485b5acb28dc6841787b11052f489e7ccb Reviewed-on: http://git-master/r/2668 Reviewed-by: Andy Carman <acarman@nvidia.com> Tested-by: Vinod Atyam <vatyam@nvidia.com> Reviewed-by: Kaushik Sen <ksen@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-29[tegra/aes] Add LP0 suspend/resume support for AESKasoju Mallikarjun
Adding AES suspend/resume functionality for LP0. Dedicated Key information is stored in the SDRAM using RFC-3394 key wraping algorithm. Dedicated slot information is restored back in the H/W during resume from LP0 by unwraping the key from SDRAM using RFC-3394 key unwraping. AES clocks are turned on only during the AES operations and are turned off after completion of the operations. Bug 700494 Change-Id: I49f7fc76c8d6157e5c1b94299c3f4bf58cd2512a Reviewed-on: http://git-master.nvidia.com/r/3219 Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Phillip Smith <psmith@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-29[arm/tegra] odm: Fixing supply name for sys vddio name.Laxman Dewangan
The supply name for the vddio sys rail should be "vddio sys". It was wrongly named. Due to this some of the gpio power rail was reporting the invalid power rail. Fixing this issue. Also fixing the compilation warning where function definition was not correct. Change-Id: Ib25c470b6f5d079e9ea204451f97e7ed8edd152c Reviewed-on: http://git-master/r/3258 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-29odm_query:Correcting is_removable prop for sdioPavan Kunapuli
In whistler odm query, the is_card_removable field in NvOdmQuerySdioInterfaceProperty is incorrectly set. Setting this as per the slot usage. Change-Id: Ieb29897eeb92534f3786d6f9f6f112f289251d37 Reviewed-on: http://git-master/r/3313 Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
2010-06-29tegra: [RTC Alarm Clock] Implement TI pmu tps6586x by PMIC (pwr_int) pinrhsieh
Integrate PMU RTC alarm function from K29 to K32. Bug 701881 Change-Id: Iee137be5a2e9a369611037da4c39b9f443ce8979 Reviewed-on: http://git-master/r/3265 Reviewed-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com> Tested-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com> Reviewed-by: Wilson Chen <wichen@nvidia.com> Reviewed-by: Antti Hatala <ahatala@nvidia.com>
2010-06-28[ARM] harmony: enable INPUT_TEGRA_ODM_ACCELVenu Byravarasu
Enabling CONFIG_INPUT_TEGRA_ODM_ACCEL on 2.6.32 Change-Id: I9bce1de7f498d747b4a6b2f61e70118cfbcb932c Reviewed-on: http://git-master/r/2745 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-28[ARM/tegra] ODM: validated board info after recursive entry.Alex Frid
Made sure board info data is validated inside/after recursive re-entry. Without this change early invocation of rm open by regulator probe used non-initialized data. Change-Id: I8cf06ef8218214b2aee6efef5f90a5cbd8d9ca7b Reviewed-on: http://git-master/r/3289 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-28nvec-battery: code cleanupBharat Nihalani
Removed references to usb-charging as this driver only interacts with EC. Change-Id: If325d7390d7e553464a93069c3f8e93e3d1dea70 Reviewed-on: http://git-master/r/3038 Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-28Tegra odm uart: add odm call-backs in uart driverRui Zhuo
Adding NVODM UART callbacks into linux uart driver so that customer can customized UART according to their actual usecases. Hook four NVODM UART functions in linux uart driver: NvOdmUartOpen, NvOdmUartClose, NvOdmUartSuspend, NvOdmUartResume. Bug 684390. Change-Id: I8f1a89122a57e14631efe876cb7e7bd4a35b73cd Reviewed-on: http://git-master/r/2817 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-28tegra_mtd: don't ignore return value for add_mtd_partitionsGary King
when the mtd partition command line format is used, ignoring the return value left err set to the number of partitions, which was later interpreted as an error return code for tegra_nand_probe, which caused the MTD master to be unregistered (ultimately causing NULL pointer derefs when mounting the root partition). this fix allows bootloaders to use the standard mtdparts= syntax for specifying partitions, rather than the tegrapart= syntax Change-Id: Ia50a2ebe72efb213f3dd418510f01d59ad178d31 Reviewed-on: http://git-master/r/3276 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-28tegra: I2C clock fix.Venkata (Muni) Anda
Use the correct clock specified for that instance. Change-Id: I15e94e65c21a65ca82a23d804c2af120b0c16e51 Reviewed-on: http://git-master/r/3156 Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com> Tested-by: Venkata (Muni) Anda <vanda@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-27i2c-tegra: memset all buffers to 0Gary King
stack-allocated transaction & data buffers were not getting memset to 0, resulting in invalid transactions getting sent to the RM Change-Id: I8e16f0c90f74c31cf03b69cb098436e4e64e215e Reviewed-on: http://git-master/r/3244 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-26tegra gpio module: Using regulator module for GPIO power rail controlLuke Huang
Modify gpio module to use regulator module for controlling GPIO power rail. Since there are some issues related to init sequence after this change, using "postcore_initcall_sync" to involve regulator module, as well as modifying NvRmOpenNew routine are required. Bug Id 697774 Change-Id: Ie8002f1190da83355c0554496f9fef24d18207f5 Reviewed-on: http://git-master/r/3103 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-26[ARM/tegra] harmony ODM: enable LP1 suspend modetkasivajhula
commit 36642f74 added support for suspend to the LP1 state (CPU power- gated, SDRAM in self-refresh, core active); set this as the default low- power state for harmony Change-Id: I8541861991cd9a53e3b5614030b14908d28f83a4 Reviewed-on: http://git-master/r/2518 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-25[ARM] whistler : Enable USB_SUSPENDYu-Huan Hsu
Bug 700516 Change-Id: I14c6c679fcc0c14425ea9967c6886c8aead2580e Reviewed-on: http://git-master/r/3222 Tested-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-25[ARM/tegra] whistler ODM: fix voice call DAP connectionVinod G
bug 70050 Removed unused connection line for voice call. Change-Id: Ib9bf276a4d52edc61e419f357fe58470c2c2f9dc Reviewed-on: http://git-master/r/3237 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-25[arm] harmony: Enable CONFIG_USB_SUSPEND in gnu_linux configuration.Winnie Hsu
Enable CONFIG_USB_SUSPEND flag. Bug 702074 Change-Id: Id6f826ac014473f4514f286783015ec6dae409e3 Reviewed-on: http://git-master/r/3224 Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Tested-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>