summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2010-01-23Merge change I7c506540 into android-tegra-2.6.29tegra-9.12.4Gerrit Code Review
* changes: tegra: power management for mouse/keyboard drivers
2010-01-21tegra: Update the UART Tx data path and added new system DMA API.Venkata(Muni) Anda
-Using workqueues instead of tasklets for Tx DMA. -Waiting for the FIFO to drain after the DMA is done, as it is apparently needed by the HW. - Added new DMA API to check if the req is already queued. Using tegra_dma_is_empty might not be correct as one DMA chanel can be serviced by multiple clients. With this change, i can browse the BT sometimes. It takes some retires to enable the BT. Also during the operation of the BT, i still see the messages like "out-of-order packet arrived" Don't know if this is an issue with ther UART or the BT protocol. Change-Id: I1502ad8178c3c95b4128c564c9f3c1d957195d46
2010-01-21tegra: power management for mouse/keyboard driversVarun Wadekar
Added suspend and resume hooks. tested on harmony bug 642578 Change-Id: I7c5065403e1c5581fce16c6f3653baeb48af5820
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-20tegra: Dynamically control the card clock for SD memory devicesDeepesh Gujarathi
On certain embedded devices, leaving the card clock enabled on SD memory devices with no active transactions can increase power consumption. Enable this option to automatically disable the card clock after a transfer completes. Change-Id: I6da3388c1528bf1334c3534b7251a526812199f1
2010-01-19tegra usb: fix build break when OTG not configuredGary King
commit 98968646e2f ("Adding USB OTG feature") causes the build to break due to dependencies on otg_get_transceiver if OTG isn't enabled for the platform. Change-Id: I97af1bb032297f922932a30fa4ef7e4607133592
2010-01-20Merge change I860e1f4b into android-tegra-2.6.29Gerrit Code Review
* changes: TEGRA - Adding USB OTG feature
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-15linux kernel:Added new product id for PANJIT touch screen.Krishna Reddy
Added the new product id in the usb id table, for PANJIT touch screen to work. Enabled the PANJIT touch screen in the harmony config file. Change-Id: I9914622fb4fe697f2cb7ede0d033aa46578c7d4b
2010-01-14Merge change I1eda05f2 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra spi: Removing the unused api for multipletransfer
2010-01-13Merge change Ic6976ee8 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra usb host: stubbing out ehci_bus suspend/resume
2010-01-13tegra usb host: stubbing out ehci_bus suspend/resumeMayuresh Kulkarni
This is needed as ehci_bus_suspend() gets called during bootup which causes the boot process to hang when tegra suspend ops is registered with kernel. Change-Id: Ic6976ee8c04e284d3fb89a8f69cb662f5dbeffa6
2010-01-12tegra HS UART driver: Use PIO when DMA is not available.Venkata(Muni) Anda
Tested by pairing with BT devices in PIO mode. DMA mode is not working properly yet. Change-Id: I3328855354d4b2cd50da1ba30298cefc439beca8
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-10Merge change Ibd96432d into android-tegra-2.6.29Gerrit Code Review
* changes: tegra nand: remove unnecessary wake lock from nand driver
2010-01-10tegra nand: remove unnecessary wake lock from nand driverMayuresh Kulkarni
NAND driver was always taking a wake lock before any transaction which is not needed. Hence removing it. Change-Id: Ibd96432d79cf304e711453845708ed9bf268899e
2010-01-08serial: compile fixes for tegra native serial driverGary King
when the serial driver was merged to git from perforce, some errors were introduced during the reformatting of it. these are now fixed. add a Kconfig to specify the maximum number of high-speed UARTs supported by the kernel, which will be used to ensure that enough DMA channels are reserved from the Tegra RM to allow the driver initialization to succeed Change-Id: I363a8375ebbdda004161672ff3700eb09be474ae
2010-01-09Merge change Iba7be830 into android-tegra-2.6.29Gerrit Code Review
* changes: tegra: usbnet workaround for 32Byte buffer allignment requirement
2010-01-07tegra: usbnet workaround for 32Byte buffer allignment requirementUday Raval
Work-around for Tegra USB EHCI host controller limitation. Outgoing USB network packets must be 32 byte alligned. Bug 631234, 634022, 638227 Change-Id: Iba7be8305037e93df4d47d9b1f63a0907fafded1
2010-01-07hid: add a config to force all usb keyboards to return the same name.Laxman Dewangan
Registering usb keyboard as the input device with common name defined in the Kconfig variable CONFIG_USB_KEYBOARD_COMMON_NAME. This behavior is controlled by variable CONFIG_USB_KEYBOARD_USES_COMMON_NAME by setting it to y in the config files. Bug 627123 improve USB key layout support Bug 637759 [firefly2/Harmony]Caps lock of Usb keyboard is not functional. Bug 637320 [Harmony/USB_keyboard]ESC key of USB keyboard is not working. Change-id: I9e3fac88b8f4c2517af322a428892831be4ec205
2009-12-23keyboard: add error cleanup to tegra KBC driverGary King
if the keyboard DDK failed to initialize, the keyboard driver would panic due to inadequate error handling between the KBC init and the KBC event thread. this is now fixed Change-Id: Ic0d1f66ba2294e8ea3408d5ed321195fa7454847
2009-12-23keyboard: add a keyboard driver for buttons connected to Tegra SoC GPIOsGary King
Change-Id: If8d57293b0d6ba1bbf493f4e5ea1d5cc27eb25bc
2009-12-21mmc: don't bug when EMBEDDED_MMC_START_OFFSET > CSD capacityGary King
for sector-addressed cards, the CSD capacity will generally be a small number, and this will often be less than the byte offset of the EMBEDDED_MMC_START_OFFSET. bugging in this case is wrong.
2009-12-21tegra: fix typos in / remove various debug printsGary King
removes some unnecessary status prints in tegra_udc.c and sdhci-tegra.c fixes the type in the tegra driver name in fsl_udc_core.c
2009-12-21ehci: enable clocks on tegra during shutdownGary King
tegra dynamically clocks access to the controller, so if no peripherals are attached the controller clocks will be disabled to conserve power since shutdown accesses the controller registers, the controller must have its clocks enabled, regardless of the presence of peripherals Change-Id: Ia95859fda514001cb8ad58260c3e58b4f470080c
2009-12-16input: various build fixes for tegra driversGary King
drivers were originally submitted before compilation, now they compile cleanly
2009-12-16serial: update tegra UART driver to match new system DMA APIGary King
updates the tegra serial driver to use the new tegra system DMA API
2009-12-16power: enable charger status in tegra NvEc battery driverGary King
enables charger status in tegra NvEc battery driver modify the reported status to match Android expectations: * HIGH returns FULL * NO_BATTERY returns UNKNOWN * any unmatched case returns UNKNOWN
2009-12-16nand: add clock suspend/resume on every transfer to tegra MTD driverGary King
for power savings, only leave the clock to the NAND controller enabled when a transfer is in process on tegra.
2009-12-16power: add support in tegra for voltage and temperatureGary King
adds properties for querying voltage and temperature removes code to create attributes, since the power supply framework already does this
2009-12-16tegra: reduce power of USB phy and USB pllGary King
use VBUS_WAKEUP_EVENT rather than A_SESSION_VALID for cable detection. disable OTG_BIAS circuitry when no cable connected set UTMIP to reset when device is suspended reduces measured idle USB power from 36mW to 3mW
2009-12-16video: remove hardware panning from tegraGary King
the extra display clock acquisition required to support the framebuffer driver negatively affects power management of the user-space display driver. removing it allows the clock reference count to drop to 0 as needed.
2009-12-15spi: update tegra spi driver to use correct location for rm_spi_slink.hGary King
4736b6e67 moved rm_spi_slink.h to the top-level mach-tegra/include path, but didn't update the SPI driver
2009-12-15MTD: include tegra_devices.h in tegra NAND driver for NV_DEBUG definitionGary King
2009-12-15keyboard: add missing comma to tegra NvEc-based keyboard driverGary King
Change-Id: I35bf210bdb50582e38276962c6a53ef79857678a
2009-12-15i2c: fix i2c-tegra driverGary King
remove unused variable and spurious parenthesis
2009-12-15power: fix build break in nvec_battery.cGary King
- current is not a valid variable name, conflicts with the global task' - include tegra_devices.h in nvec_battery.c Change-Id: Ibba45c3a17a9f81958f6a4848186b8e10d2f17be
2009-12-15serial: include tegra_devices.h in tegra uart driver for NV_DEBUG definitionGary King
Change-Id: I8feddce13e3b30d1a376e572e9c598f84172a36b
2009-12-15rtc: tegra RTC driver build fixesGary King
source was moved to rtc-tegra-odm.c, but the Makefile wasn't updated include tegra_devices.h in source code
2009-12-15char: include tegra_devices.h in nvmap.c to get NV_DEBUG definitionGary King
Change-Id: I48fab12a10b527e10d6e98063ca677a413dda36a
2009-12-15mouse: include tegra_devices.h in nvec_mouse.c to get NV_DEBUG definitionGary King
Change-Id: I149c47b3537c1e81ee3d744e7af46635083896a8
2009-12-15udc: include tegra_devices.h in tegra_udc.c to get NV_DEBUG definitionGary King
Change-Id: I962aa72e0c2ad0448ea052512a35bf60b7e902cc
2009-12-15ehci: controller_resets_phy was missing a semicolon, simple fixGary King
Change-Id: I2ed267fc2e68dc9455b396b8d2b39e681abb7ff1
2009-12-15fsl_udc_core: fix glue of _UDC_NAME macro onto function prefixesGary King
copy __glue / ___glue from the ARM include files if they aren't already defined Change-Id: I9ca516b42ee5cb0d774ffc4ba7b2f091aed99c72
2009-12-15tegra: use sdio_platform_data from tegra_devices.h, not sdio_pdataGary King
update sdhci driver to reflect correct typename Change-Id: I350196cdde9c52a8cac7e74d041a15a683f8bc1c
2009-12-15tegra: declare tegra_spi_platform_data in tegra_devices.hGary King
Change-Id: I0d8c628df3c9c3bb2482fcc8af905c24f9e51418
2009-12-15char/tegra: add DPRAM character device attached to Tegra SNOR interfaceGary King
adds support for dual-ported RAM devices attached to Tegra's internal SNOR controller interface Change-Id: I7ce65c87c9cdcf6c1625f223ee54ee2cf84f995b
2009-12-15usb: fix typo in Tegra gadget dependenciesGary King
USB_TEGRA was incorrectly dependent on USB_GADGET_TAGRA, should have been USB_GADGET_TEGRA Change-Id: I0f04140ab1237bf85c1b254259fb49d535801fb5
2009-12-15Merge change I86c38957 into android-tegra-2.6.29Gerrit Code Review
* changes: mmc: add MMC driver for NVIDIA Tegra SDIO DDK
2009-12-15Merge changes I792427d5,I4c604b35,I5e9838b7,Ie2ac1e43,I1fcfb44e,If4bc6ea8 ↵Gerrit Code Review
into android-tegra-2.6.29 * changes: tegra: add nvrm user-land stub tegra: remove GLOBAL_LOCK / GLOBAL_UNLOCK ioctls from nvos_user framebuffer : remove nvrm_linux_shim.h reference from tegra-fb char: add Tegra nvmap device driver Tegra ODM: adds additional Makefiles to build ODM kit tegra ODM: add keymapping implementations for whistler & harmony.