Commit Graph

41 Commits

Author SHA1 Message Date
Gregory Nutt
c973e0d3ba Add the logic necessary to abstract the register lookup information for each candiate class 2016-08-27 10:31:18 -06:00
Gregory Nutt
8a1d6c9ed8 Basic framework that might be used to add USB host support 2016-08-26 09:07:52 -06:00
Gregory Nutt
efb02f2ef1 drivers/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network evernts are not errors. 2016-06-12 08:31:22 -06:00
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt
16b32bbadd Standardize the width of all comment boxes in C files 2015-10-03 07:25:53 -06:00
Gregory Nutt
397f31f061 Another hub-related interface change: Need to pass speed to EP0 2015-04-26 09:53:43 -06:00
Gregory Nutt
2586bc3fcc USB hub fixes. Mostly dealing with setting the hub function address at the right time and powering up downstream ports 2015-04-23 16:42:53 -06:00
Gregory Nutt
fde0bf650e USB host: Integrate logic to assign device function address 2015-04-21 12:17:49 -06:00
Gregory Nutt
d62aa8c158 USB host: Remove getdevinfo() method. Rename hub structure to hubport structure. Get port and function address from hub port structure vs. parameters and other structures. 2015-04-21 07:26:28 -06:00
Gregory Nutt
2ea7a83bf5 USB hub: Move port index out of hub structure and into class structure 2015-04-20 16:50:32 -06:00
Gregory Nutt
f7f3a7f74d USB hub: Decouple class and hub structures 2015-04-20 12:06:47 -06:00
Gregory Nutt
fa778aec07 USB hub: Add EP0 to all control transfers. There can be multiple EP0's with a hub 2015-04-20 09:35:43 -06:00
Gregory Nutt
a6d9f0622c USB hub: First steps to make interfaces backward compatible 2015-04-20 07:45:11 -06:00
Gregory Nutt
8c1c365ae7 Reorder structure members for better packing 2015-04-19 15:58:09 -06:00
Gregory Nutt
8a23c52650 USB Hub: Change an the usbhost_ctrlxfer interface; move some functions around 2015-04-19 14:26:17 -06:00
Gregory Nutt
820bc08c34 USB Hub: Fix a few compilation errors 2015-04-19 12:01:47 -06:00
Gregory Nutt
de182f2a3a Merge remote-tracking branch 'origin/master' into usbhub
Conflicts:
	nuttx/include/nuttx/usb/usbhost.h
2015-04-19 10:55:20 -06:00
Gregory Nutt
e4d2822af8 Make some file section headers more consistent with standard 2015-04-08 07:15:32 -06:00
Gregory Nutt
31a94816b2 USB host drivers: Change all parmeters named class to usbclass to avoid C++ conflicts 2015-01-11 08:05:09 -06:00
Gregory Nutt
6f3cb90c05 Cosmetic changes 2014-05-28 14:09:58 -06:00
Gregory Nutt
48cdbfe5ba examples/touchscreen: Add a configuration option to indicate that there is or is not an architecture-specific initialization function 2014-04-14 12:26:49 -06:00
Gregory Nutt
3ae029fbe7 STM32 OTGFS Host: Fix a logic error introduced in the last check-in 2014-04-12 09:33:52 -06:00
Gregory Nutt
89c829d1ae SAMA5 EHCI: Did not work with DEBUG off. Appears to be because of some D-Cache flushing that was performed only with DEBUG ON. Now is unconditional 2013-09-10 10:12:51 -06:00
Gregory Nutt
a3af5b3aaf SAMA5 OHCI+EHCI: Using cp15_clean instead of cp15_coherent; EHCI: Need to set alt pointer in order to handle short transfers. 2013-08-27 13:07:21 -06:00
Gregory Nutt
12beaf4b1a Add a new method to the USB host driver interface: getdevinfo. This method will return information about the currently connected device. At present, it only returns the device speed. The speed is needed by the enumeration logic in order to set a credible initial EP0 max packet size 2013-08-26 15:46:16 -06:00
Gregory Nutt
b575450a04 Separate SAMA5 OHCI interrupt handling into separate functions 2013-08-13 13:34:35 -06:00
patacongo
de3bd929d8 Slightly improved delay logic for the USB host
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5064 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 22:28:49 +00:00
patacongo
5e396971a5 Several more bug fixes for STM32 OTG FS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5044 42af7a65-404d-4744-a932-0658087f49c3
2012-08-21 20:14:42 +00:00
patacongo
4de4ad33e1 Changes for clean STM32 USB host driver build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5040 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 16:06:39 +00:00
patacongo
ee04a259db ADS7843E driver is code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4018 42af7a65-404d-4744-a932-0658087f49c3
2011-10-04 17:08:59 +00:00
patacongo
541a4d9c0b Fix USB host error handling logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3593 42af7a65-404d-4744-a932-0658087f49c3
2011-05-12 12:58:56 +00:00
patacongo
52ffd1bf08 RTL bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3421 42af7a65-404d-4744-a932-0658087f49c3
2011-03-26 17:52:06 +00:00
patacongo
91f3674d8f RTL8187 driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3356 42af7a65-404d-4744-a932-0658087f49c3
2011-03-09 12:59:00 +00:00
patacongo
16508e595b Add logic to get the VID and PID
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3282 42af7a65-404d-4744-a932-0658087f49c3
2011-02-11 02:36:01 +00:00
patacongo
c95ceda9b2 Don't include ohci.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3249 42af7a65-404d-4744-a932-0658087f49c3
2011-01-13 22:50:48 +00:00
patacongo
dbc7da47da Missed part of last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3232 42af7a65-404d-4744-a932-0658087f49c3
2011-01-02 20:16:16 +00:00
patacongo
1b2c057215 FunctionAddress no longer hard-coded
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3231 42af7a65-404d-4744-a932-0658087f49c3
2011-01-02 20:05:28 +00:00
patacongo
64f711fec3 Initial debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3226 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 20:59:23 +00:00
patacongo
de172f1792 Address should not be shifted in SET_ADDRESS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3225 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 18:50:39 +00:00
patacongo
52d7dfc5f8 Separate enumeration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3219 42af7a65-404d-4744-a932-0658087f49c3
2010-12-28 02:22:11 +00:00