summaryrefslogtreecommitdiff
path: root/drivers/usb/ulpi
AgeCommit message (Collapse)Author
2013-10-31drivers: usb: convert makefiles to Kbuild styleMasahiro Yamada
Signed-off-by: Masahiro Yamada <[email protected]>
2013-07-24Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <[email protected]>
2013-07-02usb: omap: ulpi: fix ulpi transceiver accessMichael Trimarchi
This patch fix the omap access to the transceiver configuration registers using the ulpi bus. As reported by the documentation the bit31 is used only to check if the transaction is done or still running and the reading and writing operation have different offset and have different values. What we need to do at the end of a transaction is leave the bus in done state. Anyway an error using the ulpi omap register is not recoverable so any error give out the usage of this interface. Tested on a custom OMAP5430 board with a TUSB1210 ULPI PHY on USBB1. Signed-off-by: Michael Trimarchi <[email protected]> Acked-by: Igor Grinberg <[email protected]> Tested-by: Lubomir Popov <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Tom Rini <[email protected]>
2012-10-15usb: ulpi: add indicator configuration functionLucas Stach
Allows for easy configuration of the VBUS indicator related ULPI config bits. Also move the external indicator setup from ulpi_set_vbus() to the new function. Signed-off-by: Lucas Stach <[email protected]> Acked-by: Igor Grinberg <[email protected]>
2012-02-12usb: ulpi: Add omap-ulpi-view port supportGovindraj.R
Based on discussion from this thread [1]. Adding omap-view port that helps us in using the generic ulpi framework for any ulpi phy ops using the INSNREG05_ULPI viewport reg available on omap platform. Currently ehci ports are available on omap3/4 platforms so enable the same for beagle and panda, patch is tested on the same boards. Thanks to Igor Grinberg <[email protected]> for reviewing the omap-ehci patches and suggesting this approach. [1]: http://www.mail-archive.com/[email protected]/msg76076.html Tested-by: Stefano Babic <[email protected]> Acked-by: Igor Grinberg <[email protected]> Signed-off-by: Govindraj.R <[email protected]>
2012-02-12usb: ulpi: Extend the existing ulpi framework.Govindraj.R
Extend the existing ulpi viewport framework to pass the port number information for any ulpi ops. Fix the usage of ulpi api's accordingly. Tested-by: Stefano Babic <[email protected]> Acked-by: Igor Grinberg <[email protected]> Signed-off-by: Govindraj.R <[email protected]>
2011-12-16USB: ULPI: increase error case verbosityIgor Grinberg
Add the argument value to the error message. Signed-off-by: Igor Grinberg <[email protected]> Acked-by: Simon Glass <[email protected]>
2011-12-16USB: ULPI: clean a mixup of return typesIgor Grinberg
Clean a mixup between u32 and int as a return type for functions returning error values. Use int as it is native (and widely used) return type. Signed-off-by: Igor Grinberg <[email protected]> Acked-by: Simon Glass <[email protected]>
2011-12-16USB: ULPI: switch argument type from u8 to unsignedIgor Grinberg
There is no benefit in using u8, so switch to unsigned to reduce the binary image size (by 20 bytes). Signed-off-by: Igor Grinberg <[email protected]> Acked-by: Simon Glass <[email protected]>
2011-12-11USB: Add generic ULPI layer and a viewportJana Rapava
Add partial ULPI specification implementation that should be enough to interface the ULPI PHYs in the boot loader context. Add a viewport implementation for Chipidea/ARC based controllers. Signed-off-by: Jana Rapava <[email protected]> Signed-off-by: Igor Grinberg <[email protected]> Cc: Remy Bohmer <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Wolfgang Grandegger <[email protected]> Cc: Simon Glass <[email protected]>