summaryrefslogtreecommitdiffstats
path: root/include/usb
Commit message (Collapse)AuthorAgeFilesLines
* usb: set MAXINTERFACES = 16Antony Pavlov2012-05-291-1/+1
| | | | | | | Tegra2 needs MAXINTERFACES > 8, so increase the macro's value. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Completely migrate option ISP1504 to ULPIAlexander Shiyan2012-04-022-8/+1
| | | | | | | Since we do not have ISP1504-related functions, we migrated to ULPI. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Rename function ulpi_init to ulpi_detectAlexander Shiyan2012-04-021-1/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Move set_vbus_power code to ULPI driverAlexander Shiyan2012-04-021-0/+1
| | | | | | | This is ULPI-specific, not ISP1504. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add ULPI detection function.Alexander Shiyan2012-04-021-0/+1
| | | | | | | | | Added ULPI detection function. Same function from isp1504 driver removed. Used implementation from Linux kernel. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Rename definitions for ULPI registersAlexander Shiyan2012-04-021-10/+10
| | | | | | | | These registers can be used for any standart ULPI chip, not only for ISP1504. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* driver: switch driver_d name to const char*Jean-Christophe PLAGNIOL-VILLARD2012-01-111-1/+1
| | | | | | this will allow to save 200 bytes on a9g20 and 180 bytes on ti xlaoder Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* serial gadget: enable/disable on requestEric Bénard2012-01-041-0/+19
| | | | | | | | | | | | | | - add a usbserial command to enable/disable the serial gadget - allow dfu and usbserial to cohexist in the same barebox - add a timeout in u_serial so that we don't get locked if the user enable usbserial from a UART console but doesn't consume the data on the usbserial port created on the PC - remove debug or verbose printf - tested on i.MX25 & i.MX35 & usb-a926x Signed-off-by: Eric Bénard <eric@eukrea.com> Tested-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Extended USB device matching.Rosen Kolev2011-09-231-0/+22
| | | | | Extended the USB device matching, adding checks for interface class, interface subclass, and interface protocol.
* usb: honour timeout fieldsSascha Hauer2011-09-201-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: seperate usb command from usb coreSascha Hauer2011-04-111-0/+2
| | | | | | | | This patch makes the USB command optional and makes usb_rescan a global function. This way we can use USB in noninteractive environments. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: add missing byteorder includeSascha Hauer2011-01-071-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix usage of __LITTLE_ENDIAN macro.Krzysztof Halasa2010-12-211-1/+1
| | | | | | | | | | Fix usage of __LITTLE_ENDIAN macro. Both __LITTLE_ENDIAN and __BIG_ENDIAN are always defined by include/linux/byteorder/generic.h, checking for their existence is pointless. Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: rework the mii supportJean-Christophe PLAGNIOL-VILLARD2010-08-271-2/+2
| | | | | | | this rework is done in order to add a phylib and allow to have phy driver support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: add twl4030 phy supportMichael Grzeschik2010-08-061-0/+28
| | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ehci: Make has_tt configurable via platform dataSascha Hauer2010-08-061-0/+2
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
* Merge remote branch 'origin/assorted-pu' into nextSascha Hauer2010-06-281-2/+0
|\
| * usbnet: remove unused dev member in struct usbnetSascha Hauer2010-06-241-2/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ehci: Make has_tt configurable via platform dataSascha Hauer2010-06-241-0/+10
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* documentation updatesJuergen Beisert2009-12-154-0/+16
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* list: remove duplicated list.hSascha Hauer2009-11-031-1/+1
| | | | | | | | We accidently have two list implementations in the tree: include/list.h and include/linux/list.h. This patch moves the latter (newer one) to include/linux/list.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add USB device supportSascha Hauer2009-09-256-0/+2435
| | | | | | | | | | This patch adds support for USB devices. It uses the Linux Kernel gadget API. Along with this patch comes driver support for the Freescale (arc) USB OTG Core and USB Device Firmware Update (DFU) The serial gadget support is not working at the moment. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: remove unused fields from struct usb_deviceSascha Hauer2009-09-091-4/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add usb include files missing from USB mergeSascha Hauer2009-04-085-0/+972
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>