Commit Graph

1306 Commits

Author SHA1 Message Date
patacongo
40471f14d2 Add support for lowspeed devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3244 42af7a65-404d-4744-a932-0658087f49c3
2011-01-12 04:03:27 +00:00
patacongo
70bbbb086a Improve endpoint management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3240 42af7a65-404d-4744-a932-0658087f49c3
2011-01-11 01:41:06 +00:00
patacongo
3d8e23f6d5 Basic USB host functionality in place
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3236 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 15:35:08 +00:00
patacongo
08508f1a27 Remove some unnecessary tests
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3235 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 02:42:02 +00:00
patacongo
d04467620b Fix misc race conditions and use of stale pointer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3234 42af7a65-404d-4744-a932-0658087f49c3
2011-01-09 02:15:30 +00:00
patacongo
cc023c0515 Mostly debug stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3233 42af7a65-404d-4744-a932-0658087f49c3
2011-01-04 03:04:06 +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
964e5cc2f2 Handle case where USB device inserted at power up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3230 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 20:57:50 +00:00
patacongo
dde5fe0ca3 Don't duplicate structures in ohci.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3228 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 15:43:53 +00:00
patacongo
d5ee8a20b8 Misc debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3227 42af7a65-404d-4744-a932-0658087f49c3
2011-01-01 15:08:18 +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
d7de45316d Correct logic that turns on USB host power
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3224 42af7a65-404d-4744-a932-0658087f49c3
2010-12-31 17:25:24 +00:00
patacongo
9e57b6ce35 Handling missing RHSC interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3223 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 23:08:46 +00:00
patacongo
29f9959a97 mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3222 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 02:25:14 +00:00
patacongo
9334b083f7 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3221 42af7a65-404d-4744-a932-0658087f49c3
2010-12-30 01:15:40 +00:00
patacongo
9bec23cc8c Remove some garbage left in the file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3220 42af7a65-404d-4744-a932-0658087f49c3
2010-12-28 03:11:25 +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
patacongo
29492d87e0 Update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3216 42af7a65-404d-4744-a932-0658087f49c3
2010-12-22 03:12:55 +00:00
patacongo
7097a7c993 First debug changes for USB host
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3215 42af7a65-404d-4744-a932-0658087f49c3
2010-12-22 02:02:14 +00:00
patacongo
6209f3d310 Mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3214 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 19:51:41 +00:00
patacongo
50a660ccfc Add logic to get info from the device descriptor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3213 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 17:29:03 +00:00
patacongo
523fa94525 misc resource utilization fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3212 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 15:57:40 +00:00
patacongo
1af49ff4bd Init TDSTATUS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3211 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:26:34 +00:00
patacongo
452832f40f Need to init IO buffer free list
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3210 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:13:16 +00:00
patacongo
3cd91f0fb0 Add some range checking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3209 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 12:05:25 +00:00
patacongo
00f5d3ad1e Correct some initialization sequence issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3208 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 11:44:51 +00:00
patacongo
86707d5624 Clean up comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3207 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 11:21:07 +00:00
patacongo
31f2d9a122 Add USB host support to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3206 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 02:36:11 +00:00
patacongo
1771fc602a backward comparison
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3205 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:45:08 +00:00
patacongo
e8620ef2ca Separate waiting for a device and enumerating a device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3204 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:41:03 +00:00
patacongo
ed9719a040 Final cleanup before testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3203 42af7a65-404d-4744-a932-0658087f49c3
2010-12-21 01:10:29 +00:00
patacongo
56991a648d Finishes first cut
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3202 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 21:48:16 +00:00
patacongo
857a6111bc Add a little more
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3201 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 20:59:12 +00:00
patacongo
4566137cb8 minor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3200 42af7a65-404d-4744-a932-0658087f49c3
2010-12-20 16:51:15 +00:00
patacongo
bfa36c50b7 Add class binding logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3198 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 19:18:29 +00:00
patacongo
868a0f7bac More descriptor stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3197 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 17:49:53 +00:00
patacongo
25ec14575b Make number of user endpoints configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3196 42af7a65-404d-4744-a932-0658087f49c3
2010-12-19 15:58:45 +00:00
patacongo
5824a1642c Finishes first cut at USB host MS class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3195 42af7a65-404d-4744-a932-0658087f49c3
2010-12-18 17:35:54 +00:00
patacongo
c922ad5596 Changes to get USB host driver compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3184 42af7a65-404d-4744-a932-0658087f49c3
2010-12-16 00:33:12 +00:00
patacongo
590c8d3886 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3181 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 12:09:57 +00:00
patacongo
1148c80a3c Need to set global power
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3180 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 04:20:55 +00:00
patacongo
8c243b3182 Add start of USB host controller
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3176 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 02:03:21 +00:00
patacongo
304380c2f0 Create include/nuttx/usb directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3170 42af7a65-404d-4744-a932-0658087f49c3
2010-12-14 03:33:39 +00:00
patacongo
52173a3324 LCD bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3166 42af7a65-404d-4744-a932-0658087f49c3
2010-12-07 03:06:19 +00:00
patacongo
29fafdc323 Add NX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3165 42af7a65-404d-4744-a932-0658087f49c3
2010-12-06 05:15:14 +00:00
patacongo
fbd11d66b3 USB class drivers need to call DEV_CONNECT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3159 42af7a65-404d-4744-a932-0658087f49c3
2010-12-04 17:35:19 +00:00
patacongo
1c5ab5f894 P14201 driver now uses new SPI cmddata method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3158 42af7a65-404d-4744-a932-0658087f49c3
2010-12-04 01:56:50 +00:00
patacongo
d720db1814 Add cmddata method to the SPI interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3157 42af7a65-404d-4744-a932-0658087f49c3
2010-12-03 01:37:56 +00:00
patacongo
f3b5ace554 Fix dma-related register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3152 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 22:31:28 +00:00