- 19 4月, 2015 3 次提交
-
-
由 Simon Glass 提交于
Add a private data pointer that clients of EHCI can use to access their private information. This establishes a link between struct ehci_ctrl and its associated controller data structure. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Simon Glass 提交于
Adjust this function so that it is passed an EHCI controller pointer so that implementations can look up their controller. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Simon Glass 提交于
Put these at the top of the file so they are in one place. Also add function prototypes to the header file to avoid call site mismatches. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
- 07 11月, 2014 1 次提交
-
-
由 Masahiro Yamada 提交于
CMD_IAAD (Interrupt on Async Advance Doorbell) is bit 6, not bit 5. While we are here, sort the flags. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
- 06 10月, 2014 1 次提交
-
-
由 Hans de Goede 提交于
Periodic schedules tracks how many int_queue-s are active, and decides whether or not to en/disable the periodic schedule based on this. This is clearly a per controller thing. Signed-off-by: NHans de Goede <hdegoede@redhat.com>
-
- 21 10月, 2013 2 次提交
-
-
由 Troy Kisky 提交于
This paramter will later be used to initialize OTG ports in host or device mode. Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com>
-
由 Vivek Gautam 提交于
Macros defining bmRequestType field of USB device request, given in table 9.2 USB 2.0 spec, are rather generic macros which can be further used by other Host controller stacks. So moving them to usb_defs header. Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com> Cc: Julius Werner <jwerner@chromium.org> Cc: Simon Glass <sjg@chromium.org> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Dan Murphy <dmurphy@ti.com> Cc: Marek Vasut <marex@denx.de>
-
- 30 7月, 2013 1 次提交
-
-
由 Marek Vasut 提交于
Move the struct ehci_ctrl defition from ehci-hcd.c into ehci.h so it can be re-used by drivers. In particular, the mv_udc driver can benefit from this move. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Lei Wen <leiwen@marvell.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
-
- 19 3月, 2013 2 次提交
-
-
由 Vincent Palatin 提交于
The interrupt endpoint handling code stores the buffer pointer in the QH padding field. We need to make it the size of a pointer to avoid strict aliasing issue with the compiler. Signed-off-by: NVincent Palatin <vpalatin@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Patrick Georgi 提交于
Interrupt transfers aren't meant to be used from the async list (the EHCI spec indicates trouble with low/full-speed intr on async). Build a periodic list instead, and provide an API to make use of it. Then, use that API from the existing interrupt transfer API. This provides support for USB keyboards using EHCI. Use timeouts to ensure we cannot get stuck in the keyboard scanning if something wrong happens (USB device unplugged or fatal I/O error) Signed-off-by: NVincent Palatin <vpalatin@chromium.org> Signed-off-by: NJulius Werner <jwerner@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 16 10月, 2012 1 次提交
-
-
由 Lucas Stach 提交于
Kill off ehci-core.h It was used to specify some static controller data. To support more than one controller being active at any time we have to carry the controller data ourselfes. Change the ehci interface accordingly. NOTE: OMAP implemented the ehci stuff a bit backwards and should be fixed to do the same thing as other platforms. But the change for now is at least compile clean. Signed-off-by: NLucas Stach <dev@lynxeye.de> Reviewed-by: NMarek Vasut <marex@denx.de>
-
- 01 9月, 2012 2 次提交
-
-
由 Benoît Thébaudeau 提交于
Make some light cosmetic code cleanup by the way. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Marek Vasut <marex@denx.de> Cc: Ilya Yanok <ilya.yanok@cogentembedded.com> Cc: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
-
由 Benoît Thébaudeau 提交于
Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Marek Vasut <marex@denx.de> Cc: Ilya Yanok <ilya.yanok@cogentembedded.com> Cc: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
-
- 29 3月, 2012 1 次提交
-
-
由 Simon Glass 提交于
CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning field in the EHCI controller on reset. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NRemy Bohmer <linux@bohmer.net> Signed-off-by: NTom Warren <twarren@nvidia.com>
-
- 04 9月, 2011 1 次提交
-
-
由 Jason Kridner 提交于
Remove __attribute__ ((packed)) to prevent byte access to soc registers in some gcc versions. Having patches to enable ehci for the BeagleBoard lying around for several months, this one was the show-stopper. Switched to align(4), rather than remove the attribute, per suggestion from Alexander. Credits have to go to Laine Walker-Avina <lwalkera@ieee.org> for finding the problem. Signed-off-by: NJason Kridner <jkridner@beagleboard.org> Signed-off-by: NJoel A Fernandes <agnel.joel@gmail.com> Cc: Alexander Holler <holler@ahsoftware.de> Cc: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 23 10月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
Commit 3ed16071 "USB: sync Queue Element Transfer Descriptor against EHCI spec" added an "__attribute__ ((aligned (32)))" to the declaration of struct qTD, as used for example in the Linux kernel as well. However, it turns out that this attribute causes errors in "usb start" (like "ERROR: NOT USB_CONFIG_DESC 7b" and similar). Drop the attribute again. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Dan Lykowski <lykowdk@gmail.com> Cc: Remy Bohmer <linux@bohmer.net> Cc: Stefano Babic <sbabic@denx.de>
-
- 20 10月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
Appendix B "EHCI 64-Bit Data Structures" of the "Enhanced Host Controller Interface Specification for Universal Serial Bus" (Rev. 1.0, March 12, 2002) defines additional fields which were missing in U-Boot's struct qTD; as these are also present in recent versions of struct ehci_qtd in the Linux kernel, we add them here, too. This fixes some nasty memory corruption problems. Reported-by: NDan Lykowski <lykowdk@gmail.com> See http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/76942Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Remy Bohmer <linux@bohmer.net> Cc: Dan Lykowski <lykowdk@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Tested-by: NStefano Babic <sbabic@denx.de>
-
- 19 10月, 2010 1 次提交
-
-
由 Damien Dusha 提交于
Signed-off-by: NFrancesco Rendine <francesco.rendine@valueteam.com> Signed-off-by: NDamien Dusha <d.dusha@gmail.com> Signed-off-by: NAnatolij Gustschin <agust@denx.de> Coding style cleanup; slight file restructuring. Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NRemy Bohmer <linux@bohmer.net>
-
- 07 4月, 2009 1 次提交
-
-
move to linux usb driver organisation as following drivers/usb/gadget drivers/usb/host drivers/usb/musb Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NRemy Bohmer <linux@bohmer.net>
-
- 29 1月, 2009 5 次提交
-
-
由 Stefan Roese 提交于
This patch adds routines to handle (flush/invalidate) the dcache for the QH and qTD structures and data buffers. This is needed on platforms using this EHCI support with dcache enabled (like the MIPS VCT board port). Signed-off-by: NStefan Roese <sr@denx.de> Signed-off-by: NRemy Bohmer <linux@bohmer.net>
-
由 Remy Böhmer 提交于
USB ehci configuration parameter: #define CONFIG_CMD_USB 1 #define CONFIG_USB_STORAGE 1 #define CONFIG_USB_EHCI #define CONFIG_USB_EHCI_IXP4XX 1 #define CONFIG_EHCI_IS_TDI 1 #define CONFIG_EHCI_DESC_BIG_ENDIAN 1 #define CONFIG_EHCI_MMIO_BIG_ENDIAN 1 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 2 #define CONFIG_LEGACY_USB_INIT_SEQ 1 2 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found => usb tree Device Tree: 1 Hub (1.5MBit/s, 0mA) | u-boot EHCI Host Controller | |+-2 Mass Storage (12MBit/s, 100mA) Sony Storage Media 0C07040930296 => Signed-off-by: NMichael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: NRemy Böhmer <linux@bohmer.net>
-
由 michael 提交于
- fix ehci_readl, ehci_writel - introduce new define in ehci.h - introduce the handshake function for waiting on a register - fix usb_ehci_fsl with the new HC_LENGTH macro Signed-off-by: NMichael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: NRemy Böhmer <linux@bohmer.net>
-
由 michael 提交于
IXP465 board and I find some errors in the code. This patch fix: - descriptor initizialization (config, interface and endpoint must be one next-to the other when the USB_DT_CONFIG message is send. - FIX little/endian bigendian (introduce the CONFIG_EHCI_DESC_BIG_ENDIAN and the CONFIG_EHCI_MMIO_BIG_ENDIAN) - Introduce the linux version of the usb_config_descriptor and usb_interface descriptor. This descriptor does't contains u-boot extension. Signed-off-by: NMichael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: NRemy Böhmer <linux@bohmer.net>
-
由 Michael Trimarchi 提交于
Add USB ehci core support Signed-off-by: NMichael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: NRemy Böhmer <linux@bohmer.net>
-