From 4fc37eb47f0dd92fadd42aec31a5c8f5d5363eaf Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 26 Sep 2021 14:58:39 +0100 Subject: 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 --- firmware/export/config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index 870ae43785..e887796acc 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -1173,7 +1173,10 @@ Lyre prototype 1 */ #if CONFIG_USBOTG == USBOTG_ISP1583 #define USB_HAS_BULK #define USB_LEGACY_CONTROL_API -#elif (CONFIG_USBOTG == USBOTG_ARC) || \ +#elif (CONFIG_USBOTG == USBOTG_DESIGNWARE) +#define USB_HAS_BULK +#define USB_HAS_INTERRUPT +#elif (CONFIG_USBOTG == USBOTG_ARC) || \ (CONFIG_USBOTG == USBOTG_JZ4740) || \ (CONFIG_USBOTG == USBOTG_JZ4760) || \ (CONFIG_USBOTG == USBOTG_M66591) || \ -- cgit v1.2.3