[usb]: Add support to enter test mode

For eye diagram test, USB has to be put in test mode on TEST PACKET
from HSET tool.

CRs-Fixed: 295909
Change-Id: I260753d831065e8b3876d7b95672633e6f881fb2
diff --git a/include/dev/udc.h b/include/dev/udc.h
index 0d8cff1..fbc112d 100644
--- a/include/dev/udc.h
+++ b/include/dev/udc.h
@@ -109,6 +109,10 @@
 #define ENDPOINT_READ        0x82
 #define ENDPOINT_WRITE       0x02
 
+#define TEST_PACKET          0x0400
+#define PORTSC_PTC           (0xF << 16)
+#define PORTSC_PTC_TST_PKT   (0x4 << 16)
+
 struct setup_packet {
 	unsigned char type;
 	unsigned char request;