summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
AgeCommit message (Collapse)Author
2010-01-21tegra: Added map_irq ops for the PCIe driver.Venkata(Muni) Anda
This API is used by the PCI subsystem to get the IRQ value to be used by the devices attached to AP20. Change-Id: I23d0020fd31673fce4a264454d88dd6e1de57634
2010-01-21Merge change I4f738faa into android-tegra-2.6.29Gerrit Code Review
* changes: tegra: DMA driver and tegra serial driver updates.
2010-01-21Merge change I510e40be into android-tegra-2.6.29Gerrit Code Review
* changes: tegra power: Save/Restore the r1 register across save_local_timer call.
2010-01-20tegra: DMA driver and tegra serial driver updates.Venkata(Muni) Anda
DMA changes: - Channel lock should be taken in the ISR for making the DMA driver SMP safe. - In continous DMA mode,WCOUNT is the count of the half buffer not the full buffer. So, when updating the bytes received member of the req structure, received count should be accounted for appropriately. - Implemented the tegra_dma_flush() API. This API stops the DMA, resets the transfer status of the req in the head of the queue and reloads the req into the hardware if pending. - Added "threshold" callback. This is called when the buffer reaches the threshold. This is now aviable only for continous mode. Serial driver updates: - Simplifed the ISR handling in case of the DMA mode. - Using RTS to enable the flow control when dequeing and enqueing the DMA buffers. This will make sure that the sender will be flow controlled. This is still not working properly. - Added flush buffer call back - Called by serial core when the tx buffer is reset. - Fixed the locking at a couple of places, like ISR and shutdown callback. With these changes, i could able to use the BT sometimes. Sometimes i got parity errors. When I swtiched the Tx to PIO mode, BT worked fine. This can be done by changing the tx_force_pio global variable to 1. Change-Id: I4f738faac2fdb14622257878ef08db5397eebf8a
2010-01-21Merge change I8cc8bfdd into android-tegra-2.6.29Gerrit Code Review
* changes: Enabling the USB OTG on whistler for USB1 port.
2010-01-20Enabling the USB OTG on whistler for USB1 port.Venkat Moganty
Bug 629098 USB OTG problem Tested on Whistler-USB1 port.
2010-01-19tegra: PCIe driver bug fix.Venkata(Muni) Anda
Assert to make sure that we are only programming the STD PCI resources was inverted. If I had tested a device which had 64-bit addressing like nvidia GPUs I would have caught this. Change-Id: I0bbbc159749525f22057b3195a2e6cc1cdd85c38
2010-01-19tegra power: Save/Restore the r1 register across save_local_timer call.tkasivajhula
The r1 register is expected to have a valid value after the save_local_timer call. Save/Restore this value across the function call to ensure this. Change-Id: I510e40be5bed3a954e0f829bce1af77fe8507600
2010-01-20Merge change Ib8c2a45c into android-tegra-2.6.29Gerrit Code Review
* changes: tegra power: Add Warmboot boot arg to the kernel
2010-01-19tegra power: Add Warmboot boot arg to the kerneltkasivajhula
The new NvBootArg_Warmboot argument allows the bootloader to pass a memory region containing the warm bootloader to the kernel. Change-Id: Ib8c2a45c64ae9e61240152e91c5cbcff421ada21
2010-01-20Merge change I860e1f4b into android-tegra-2.6.29Gerrit Code Review
* changes: TEGRA - Adding USB OTG feature
2010-01-20Merge change Ia9ff47f2 into android-tegra-2.6.29Gerrit Code Review
* changes: Revert "tegra: Fix I2C platform data pinmux initialization."
2010-01-19tegra RM: Enabled PCIe partition power gating.Alex Frid
Added support for PCIe power gating in Rm. Added call to NvRmPowerVoltageControl to enable the voltage. If there are not PCIe devices found, PCIe partition is power gated. Bug 627128 Change-Id: Ic9526261435a15d6bb27ed2cb6622098ef55be3a
2010-01-19TEGRA - Adding USB OTG featureVenkat Moganty
Enabling support for the OTG in NVIDIA Tegra SoCs by providing simple transceiver interface for detecting the Host or Device based on the USBID and VBUS sensors. Bug 629098 USB OTG problem Tested on Whistler with Android USB OTG is tested on whistler USB port1, by setting the USB mode type as "NvOdmUsbModeType_OTG" in the ODM usb property of arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c Tested OTG-HOST by connecting USB keyboard and OTG-device by connecting adb. Change-Id: I860e1f4be5f7c96765c2ce1ca320fdf212164811
2010-01-18Revert "tegra: Fix I2C platform data pinmux initialization."Venkata(Muni) Anda
Reverting commit 205adcf549b341ab10a271835ee07ed96c44f751. platfrom data pinmux is only valid for the multiplexed configurations. For non-multiplexed configuration, the vlaue should be 0.
2010-01-19Merge change Ibbcdba90 into android-tegra-2.6.29Gerrit Code Review
* changes: Tegra: PCIe driver updates.
2010-01-18tegra: Fix I2C platform data pinmux initialization.Venkata(Muni) Anda
Platform data was passing "0" as the pinmux config for all non-multiplexed configurations. It should use the value from the ODM query intead. BUG 626459 Change-Id: I4278f353e7adbf5d82a32ff613409f54a2203738
2010-01-18Tegra: PCIe driver updates.Venkata(Muni) Anda
- Updated the harmony defconfig to enable PCI by default. - Enabled SATA and serial PCIe client drivers. - Disabled the PCIe power rails when there are not PCIe devices attached to the controller during boot. Bug 627128 Tested with and without the SATA controller attached. Change-Id: Ibbcdba909c281e40c4e0fadbca8f0f9c05f6662b
2010-01-19Merge change Ief861c35 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra ODM: Enabled EMC DFS on Harmony platform.
2010-01-19Merge change I0b233c94 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra nvos: return interrupted semaphores to user-land
2010-01-18tegra nvos: return interrupted semaphores to user-landGary King
split the nvos interrupt implementation into 2 parts: one which returns an error code when the thread is awakened due to a pending signal, and one which loops in the kernel until the semaphore operation completes. the user-land stub needs to immediately return control to the application in the event of a pending signal, to ensure that the signal is dealt with before re-attempting to wait on the semaphore. bug: 642544 Change-Id: I0b233c9483d67cc6d25285d0dc3eddafa8502500
2010-01-16Merge change I782bff14 into android-tegra-2.6.29Gerrit Code Review
* changes: Tegra: Disable PCIe power rails when CONFIG_TEGRA_PCI is not enabled.
2010-01-16Merge change If8b3f741 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra rm PWM: Fix pwm frequency factor between output and input source to get PWM frequency output more accurate
2010-01-15tegra rm PWM: Fix pwm frequency factor between output and input sourceHoang Pham
to get PWM frequency output more accurate Change-Id: If8b3f741ed001dd93e9bfbbb012bc50f43963e3f
2010-01-15Merge change Ib750c4c0 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra RM: add nvmem= command-line parsing for carveout aperture(s)
2010-01-15Merge change I5af4b680 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra ec battery: Reporting AC line and Battery flag for R01 Firmware
2010-01-14tegra RM: add nvmem= command-line parsing for carveout aperture(s)Gary King
the bootloader may place carveout in a location that is not exactly at the top of physical memory (if, for example, the bootloader does not support mapping all the way to the top of memory), and the existing code in the RM initialization did not allow for this (or for multiple carveout apertures). add a new command-line parameter (nvmem=) to position the carveout aperture arbitrarily in the physical address space. Change-Id: Ib750c4c038916a21b9fece490efbe6c953da09de
2010-01-14tegra ODM: Enabled EMC DFS on Harmony platform.Alex Frid
Change-Id: Ief861c355d73cfc1edc80b085ac9aecff1fb1a15
2010-01-14Merge change I1eda05f2 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra spi: Removing the unused api for multipletransfer
2010-01-13Tegra: Disable PCIe power rails when CONFIG_TEGRA_PCI is not enabled.Venkata(Muni) Anda
Enable it otherwise. bug 636751 Change-Id: I782bff145315a511aa306fe572faf3d292b6dd36
2010-01-14Merge change I408ffd43 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra power: registering suspend/resume operations with kernel
2010-01-14Merge change I8930c80f into android-tegra-2.6.29Gerrit Code Review
* changes: tegra RM: Fix PWM scaling calculation in RM for backlight intensity.
2010-01-14Merge change Iae527ad1 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra RM: Core-over-cpu voltage margin update.
2010-01-14Merge change I12a6017d into android-tegra-2.6.29Gerrit Code Review
* changes: Tegra: Pcie driver update.
2010-01-13tegra RM: Core-over-cpu voltage margin update.Alex Frid
Updated core-over-cpu voltage margin calculation to take into account possible dynamic increase of CPU low voltage threshold. Removed spare temperature monitor read access. Change-Id: Iae527ad1360db9dc30a5681a92092b72fe7ae7a7
2010-01-14Merge change Id1f8e0b0 into android-tegra-2.6.29Gerrit Code Review
* changes: DMA Cache coherency issue on A9 SMP System.
2010-01-13DMA Cache coherency issue on A9 SMP System.Venkata(Muni) Anda
Manually merged the DMA coherency patch submitted by Russell. Change-Id: Id1f8e0b085da83794fc6d3d52977b997e15fdd49
2010-01-13tegra power: registering suspend/resume operations with kernelMayuresh Kulkarni
Adding a new file that has suspend/resume hooks. Also changing the makefile to include the new object while linking. Change-Id: I408ffd43695ca11a7decbca61d29d6e26eea0d60
2010-01-13tegra ec battery: Reporting AC line and Battery flag for R01 FirmwareSachin Nikam
In case of R01 EC Firmware reporting AC line status as always Online and Battery Flag as Unknown because R01 firmware doesn't have battery support. Change-Id: I5af4b680f47644977230923eb5db8bcce6d40461
2010-01-13tegra RM: Fix PWM scaling calculation in RM for backlight intensity.Nagesh Penumarty
Fixed PWM scaling calculation and added boundary check. This is an 8-bit value that was being scaled to a max of 256 instead of 255, causing an overflow in the boundary case of a maximum setting (thereby resulting in 0). Bug 638387 [Harmony] Backlight is broken and there is no display. Bug 627575 [firefly2/Harmony/Display]External display panel not adjusting to Brightness change from display settings. Tested on: Android, Harmony
2010-01-12Tegra: Pcie driver update.Venkata(Muni) Anda
-Assign IO resources starting from 0x16 instead of 0. This is needed becase the linux driver is assuming that "start" value of 0 is an allocated resource. -Added asserts to catch config access other than byte/word/dword. -Configuring interrupt as INTA to all the PCI devices. With this change PCI driver is fully functional. Able to mount and see the SATA drive. Change-Id: I12a6017d0f304edf018bf54b518f5e40a95ab5eb
2010-01-12tegra system dma: Fix unbalanced locking.Venkata(Muni) Anda
Fixed a bug where spin_unlock_irqrestore was called redundantly, causing the preempt count to go unbalanced. Change-Id: I6f723e4f7a26c0bbe4d44bbf27f77e6e011a4e02
2010-01-12tegra spi: Removing the unused api for multipletransferLaxman Dewangan
Removing the api NvRmSpiOptimizedMultipleTransactions() which was added for the experiment to root casue the high cpu consumption. It is found that BusyHint() was taking the higher cpu time. The issue has been already fixed and now this api should be removed. Tested with harmony boot and compilation. Change-Id: I1eda05f22d66a2bd78d837911be6d269f56937b5
2010-01-12tegra nvrm: make nvrm a platform_driverMayuresh Kulkarni
This is needed to implement suspend/resume for NVRM Change-Id: I6f548f7c6a97b842257b4b3e8a63203a07d729e5
2010-01-12Merge change I26e16e30 into android-tegra-2.6.29tegra-9.12.3Gerrit Code Review
* changes: tegra RM: Init/restore DDR PD state machine.
2010-01-11tegra RM: Init/restore DDR PD state machine.Alex Frid
Made sure DDR PD state machine is enabled during EMC DFS initialization /restoration from LP0 before the 1st EMC clock change is triggered. Change-Id: I26e16e30065cc356d70eb06ca51f4adeda728612
2010-01-12Merge change I49b96412 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra: allow native serial driver uarts to be registered
2010-01-11Merge change Ia2b4572d into android-tegra-2.6.29Gerrit Code Review
* changes: tegra: Updated PCIe driver so that the devices can be enumerated.
2010-01-11tegra: Updated PCIe driver so that the devices can be enumerated.Venkata(Muni) Anda
Initalized the PCIe PHY and hooked the config read/write callbacks so that the PCI subsystem can scan and enumerate the PCIe bus. Change-Id: Ia2b4572d95c8feccee49024ceb9c18f69f209668
2010-01-11Merge change If53114c9 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra: Deleting USB phy code from rmanalog interface