diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-09-26 14:58:39 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-10-16 21:14:42 +0100 |
commit | 4fc37eb47f0dd92fadd42aec31a5c8f5d5363eaf (patch) | |
tree | a0c0f350356b69d4acbab70b04103161dfdfb06c /firmware/export/usb-designware.h | |
parent | 24294bda15fc1c8c5e838e21f0bac5b5419e5cd2 (diff) | |
download | rockbox-4fc37eb47f0dd92fadd42aec31a5c8f5d5363eaf.tar.gz rockbox-4fc37eb47f0dd92fadd42aec31a5c8f5d5363eaf.zip |
usb-designware: port to new USB API
List of all platforms using this driver:
- Sansa Clip+ (tested, works)
- Sansa Clip v2 (untested)
- Sansa Clip Zip (tested, works)
- Sansa Fuze v2 (untested)
- iPod 6G (untested)
- iPod Nano 2G (untested)
- FiiO M3K (tested, works)
- Shanling Q1 (tested, works)
- Eros Q (tested, works)
Change-Id: I403ec64b030ea38f22cb52b31865639a78cd11e4
Diffstat (limited to 'firmware/export/usb-designware.h')
-rw-r--r-- | firmware/export/usb-designware.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/usb-designware.h b/firmware/export/usb-designware.h index 428733b4f5..9e5496f0db 100644 --- a/firmware/export/usb-designware.h +++ b/firmware/export/usb-designware.h | |||
@@ -216,8 +216,11 @@ | |||
216 | 216 | ||
217 | #define DWC_DIEPINT(x) (*((REG32_PTR_T)(OTGBASE + 0x908 + 0x20*(x)))) | 217 | #define DWC_DIEPINT(x) (*((REG32_PTR_T)(OTGBASE + 0x908 + 0x20*(x)))) |
218 | #define DWC_DOEPINT(x) (*((REG32_PTR_T)(OTGBASE + 0xb08 + 0x20*(x)))) | 218 | #define DWC_DOEPINT(x) (*((REG32_PTR_T)(OTGBASE + 0xb08 + 0x20*(x)))) |
219 | #define SETUPRECVD (1<<15) /* control OUT */ | ||
219 | #define TXFE (1<<7) /* IN */ | 220 | #define TXFE (1<<7) /* IN */ |
221 | #define BACK2BACKSETUP (1<<6) /* control OUT */ | ||
220 | #define INEPNE (1<<6) /* IN */ | 222 | #define INEPNE (1<<6) /* IN */ |
223 | #define STATUSRECVD (1<<5) /* control OUT */ | ||
221 | #define ITEPMIS (1<<5) /* IN */ | 224 | #define ITEPMIS (1<<5) /* IN */ |
222 | #define ITTXFE (1<<4) /* IN */ | 225 | #define ITTXFE (1<<4) /* IN */ |
223 | #define OTEPDIS (1<<4) /* OUT */ | 226 | #define OTEPDIS (1<<4) /* OUT */ |