Age | Commit message (Collapse) | Author |
|
* changes:
tegra: power management for mouse/keyboard drivers
|
|
-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
|
|
Added suspend and resume hooks.
tested on harmony
bug 642578
Change-Id: I7c5065403e1c5581fce16c6f3653baeb48af5820
|
|
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
|
|
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
|
|
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
|
|
* changes:
TEGRA - Adding USB OTG feature
|
|
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
|
|
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
|
|
* changes:
tegra spi: Removing the unused api for multipletransfer
|
|
* changes:
tegra usb host: stubbing out ehci_bus suspend/resume
|
|
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
|
|
Tested by pairing with BT devices in PIO mode. DMA mode is not working
properly yet.
Change-Id: I3328855354d4b2cd50da1ba30298cefc439beca8
|
|
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
|
|
* changes:
tegra nand: remove unnecessary wake lock from nand driver
|
|
NAND driver was always taking a wake lock before any transaction
which is not needed. Hence removing it.
Change-Id: Ibd96432d79cf304e711453845708ed9bf268899e
|
|
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
|
|
* changes:
tegra: usbnet workaround for 32Byte buffer allignment requirement
|
|
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
|
|
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
|
|
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
|
|
Change-Id: If8d57293b0d6ba1bbf493f4e5ea1d5cc27eb25bc
|
|
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.
|
|
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
|
|
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
|
|
drivers were originally submitted before compilation, now they compile cleanly
|
|
updates the tegra serial driver to use the new tegra system DMA API
|
|
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
|
|
for power savings, only leave the clock to the NAND controller enabled when
a transfer is in process on tegra.
|
|
adds properties for querying voltage and temperature
removes code to create attributes, since the power supply framework already
does this
|
|
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
|
|
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.
|
|
4736b6e67 moved rm_spi_slink.h to the top-level mach-tegra/include path,
but didn't update the SPI driver
|
|
|
|
Change-Id: I35bf210bdb50582e38276962c6a53ef79857678a
|
|
remove unused variable and spurious parenthesis
|
|
- current is not a valid variable name, conflicts with the global task'
- include tegra_devices.h in nvec_battery.c
Change-Id: Ibba45c3a17a9f81958f6a4848186b8e10d2f17be
|
|
Change-Id: I8feddce13e3b30d1a376e572e9c598f84172a36b
|
|
source was moved to rtc-tegra-odm.c, but the Makefile wasn't updated
include tegra_devices.h in source code
|
|
Change-Id: I48fab12a10b527e10d6e98063ca677a413dda36a
|
|
Change-Id: I149c47b3537c1e81ee3d744e7af46635083896a8
|
|
Change-Id: I962aa72e0c2ad0448ea052512a35bf60b7e902cc
|
|
Change-Id: I2ed267fc2e68dc9455b396b8d2b39e681abb7ff1
|
|
copy __glue / ___glue from the ARM include files if they aren't already
defined
Change-Id: I9ca516b42ee5cb0d774ffc4ba7b2f091aed99c72
|
|
update sdhci driver to reflect correct typename
Change-Id: I350196cdde9c52a8cac7e74d041a15a683f8bc1c
|
|
Change-Id: I0d8c628df3c9c3bb2482fcc8af905c24f9e51418
|
|
adds support for dual-ported RAM devices attached to Tegra's internal SNOR
controller interface
Change-Id: I7ce65c87c9cdcf6c1625f223ee54ee2cf84f995b
|
|
USB_TEGRA was incorrectly dependent on USB_GADGET_TAGRA, should have been
USB_GADGET_TEGRA
Change-Id: I0f04140ab1237bf85c1b254259fb49d535801fb5
|
|
* changes:
mmc: add MMC driver for NVIDIA Tegra SDIO DDK
|
|
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.
|