An error occurred fetching the project authors.
- 23 Mar, 2007 2 commits
-
-
David Brownell authored
Update peripheral side suspend support: - Work around some IRQ strangeness (disconnect not detected reliably while suspended). - Swaps out clearly-broken SRP logic (from Mentor?) with code which at least matches the documentation. - Track whether peripheral is suspended; this helps detect invalid remote wakeup requests, and will also help work around a tusb6010 peripheral side issue (separate patch). - For tusb6010, don't be so noisy with tps65030 idle/suspend messaging; among other things, it interferes with debugging. - In OTG mode, host side can now autosuspend when peripheral side is active (connected or otherwise). USBCV remote wakeup tests now pass. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Minor cleanups involving name changes, primarily on the peripheral side: - musb->bMayWakeup becomes may_wakeup (camelcase bad) - musb->bIsSelfPowered becomes is_self_powered (camelcase bad) - pThis (as parameter or variable) becomes musb (camelcase bad) - tusb_set_power becomes tusb_draw_power (more meaningful name) - tusb_set_vbus becomes tusb_source_power (more meaningful name) Also, add a flag to track if a B-Peripheral device draws any VBUS power (currently only tusb6010 can set that). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 17 Jan, 2007 1 commit
-
-
David Brownell authored
Move musb_hdrc driver init into the init section, by switching over to use platform_driver_probe(). Shrinks this driver's run-time footprint by about 5KB ... pretty good for linker level tweaks to just one (big) driver, and there's a bit more shrinkage yet to be had (for DMA init). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 09 Nov, 2006 2 commits
-
-
David Brownell authored
Teach host side VBUS powerup and connect logic about the problem whereby the HDRC core wrongly reports VBUS_ERROR during initial powerup. Remove previous non-working workaround for tusb powering VBUS: don't try handling CPEN by hand. Rest of the fix for disconnection issues in A_SUSPEND. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
A collection of mostly orthogonal and small fixes: - Update various corner cases in the side suspend/resume code, triggered mostly on the host side: * avoid spurious gadget driver resume callbacks in B_IDLE state * avoid spurious gadget driver suspend callbacks in A_HOST state * cope better with some spurious resume irqs * partial fix for disconnection issues in A_SUSPEND - Resolve some TUSB rmmod races by disabling IRQs at the proper moment, and killing the idle timer. - Only mark TUSB device as wakeup-capable if it's connected to an IRQ which allows that. - Don't idle the TUSB chip until khubd handles all pending port status change events; dump that status in procfs. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 27 Oct, 2006 1 commit
-
-
David Brownell authored
Various bugfixes: - gadget side does dma_sync_single_for_*() if the buffer was mapped by the gadget driver (none do that just yet) - host side rx, always force dma request off "just in case", instead of just for Mentor's DMA (i.e. not just OMAP2430) - complain louder about the board needing different driver config - iounmap() registers on rmmod - fault handling fixes in tusb_start() - (from TI) save dma mask so modprobe after use_dma=n can use dma - (from TI) gadget side zero-length IN likes TXPKTRDY before status stage Other updates: - catch up to pt_regs finally leaving the irq path, other build fixes - remove pointless headers like <linux/pci.h> - RemoveMoreCamelCaseNastiness - resolve some config-specific compiler warning/error messages - dump tusb irq status register too - remove that MIN_DMA thing; dma logic must now handle zlps in all cases, not just to terminate a transfer - comment fixes Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 23 Oct, 2006 1 commit
-
-
Tony Lindgren authored
-
- 04 Oct, 2006 1 commit
-
-
David Brownell authored
Speling fix: PRCM_WID for wake-on-id, not PRCM_WLD for bits-gone-WLD. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 18 Sep, 2006 1 commit
-
-
David Brownell authored
When booting with a USB Mini-B connecting TUSB to a host, the peripheral will agin notice the connection and let the host enumerate it. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 14 Sep, 2006 2 commits
-
-
David Brownell authored
Add more host/OTG functionality. New Features: - Cable based role switching (using the ID pin) mostly works. This gives much of the end-user value for USB OTG; there's also dynamic role switching (using special HNP protocol with another OTG device), which surely won't work yet. - Root can write 0/N to /sys/module/musb_hdrc/parameters/musb_otg to disable OTG functionality, forcing B-Default mode (with optional SRP support, but without 8mA current limits) when it's set. Change this before the gadget driver initializes (e.g. before "modprobe"). Bugfixes: - Fix many OTG mode startup glitches, notably for the root hub. - Add workaround for "issue 4". Cleanups: - Remove more mode-specific #ifdeffery - ReMoveSomeCamelCasing - Quieter startup - Quash another Kconfig rebellion - Add missing bit declaration - Tersify TUSB irq messages Open Issues: - Nothing passes remote wakeup down to root hub (unchanged) - Strange VBUS errors (unchanged; workaround: use hub modified for N770, providing 5V supply till TUSB board does so reliably); - Plug in/out as peripheral many times; fine. As host (with modified hub), ditto. Now peripheral again ... fails. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
This gives TUSB host side enumeration support for low speed devices (like USB mice), through a Mini-A connector that's not removed ... basically, a non-OTG configuration, with the ID pin always grounded. Basically it punts the "turn VBUS power on/off" to board-specific logic, and implements it for TUSB using software switching (rather than having the controller do it). There are various issues, notably (a) remote wakeup not getting passed to the root hub then down to the device (mouse) that issued the wakeup; (b) strange "vbus error" reports on device connection if nothing is hooked up at driver initialization; and (c) full or high speed devices see spurious disconnect events right after they've been reset (hw bug?); Includes various small cleanups too, notably starting to obey the OTG state machine and use the OTG timer. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 12 Sep, 2006 1 commit
-
-
David Brownell authored
Lots of miscellaneous updates: - bugfixes * flag hcd-framework "got irq" state earlier * reject urb submission if port is suspended * linkage fix: unbind became optional * initialize vbus error retry count earlier * tusb init removes diagnostic-only settings - procfs updates * always show otg state info in procfs * show some TUSB-specific registers in procfs - cleanups * remove pointless MUSB_ERR stuff (handled better now) * tusb init removes dead code * more informative vbus error debug message * comment fixes * etc Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 08 Sep, 2006 2 commits
-
-
Tony Lindgren authored
This is needed to avoid sleeping function called from invalid context. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Second pass over TUSB power related code: - Add new field in board-specific platform data, giving a nonzero floor to the amount of VBUS power that peripherals could draw; pass that to the platform code. - Implement the call letting gadget drivers say how much VBUS power their current configuration may draw, and use that to initialize appropriately (pure-peripheral vs OTG modes) on USB reset and disconnect. - Provide TUSB-specific hook into OTG transceiver logic to support that VBUS call; and _only_ change the VBUS usage through that call. - Remove obsolete comment and bitmask declarations. On one board I measured 36 mA (at 5.1V) coming from VBUS not the battery using the default gadget drivers in non-OTG TUSB configuration. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 07 Sep, 2006 2 commits
-
-
David Brownell authored
Minor cleanups (symbols don't get exported) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
Tony Lindgren authored
Add workarounds for various chip issues relating to the TUSB chip PLL getting properly initialized after resume. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 06 Sep, 2006 2 commits
-
-
Tony Lindgren authored
Clean up cable status sysfs_notify() events Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
Start updating the TUSB power related code ... first pass, use the chip's idle mode whenever the USB link is inactive (disconnected or suspended). That rule applies to both host and peripheral roles, and saves a fair amount of power (50mA at 3.3V, etc). Plus some cleanups. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
- 05 Sep, 2006 5 commits
-
-
Tony Lindgren authored
Make TUSB DMA debug less verbose Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
tusb multipoint fixes
-
David Brownell authored
Whitespace, indentation, and line length fixes. Constify the gadget ep0 method table.
-
Tony Lindgren authored
TUSB uses non-flat register model, and also has TUSB specific ep registers in addition to shared MUSB ep registers. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
This patch adds support for MUSB and TUSB controllers integrated into omap2430 and davinci. It also adds support for external tusb6010 controller. This patch still needs clean-up work before it will be submitted to the mainline kernel. For more information, please see: http://sourceforge.net/mailarchive/forum.php?thread_id=30389954&forum_id=5398
-