aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/bits.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/chipidea/bits.h')
-rw-r--r--drivers/usb/chipidea/bits.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/bits.h b/drivers/usb/chipidea/bits.h
index a85713165688..83d06c1455b7 100644
--- a/drivers/usb/chipidea/bits.h
+++ b/drivers/usb/chipidea/bits.h
@@ -50,12 +50,14 @@
50#define PORTSC_PTC (0x0FUL << 16) 50#define PORTSC_PTC (0x0FUL << 16)
51#define PORTSC_PHCD(d) ((d) ? BIT(22) : BIT(23)) 51#define PORTSC_PHCD(d) ((d) ? BIT(22) : BIT(23))
52/* PTS and PTW for non lpm version only */ 52/* PTS and PTW for non lpm version only */
53#define PORTSC_PFSC BIT(24)
53#define PORTSC_PTS(d) \ 54#define PORTSC_PTS(d) \
54 (u32)((((d) & 0x3) << 30) | (((d) & 0x4) ? BIT(25) : 0)) 55 (u32)((((d) & 0x3) << 30) | (((d) & 0x4) ? BIT(25) : 0))
55#define PORTSC_PTW BIT(28) 56#define PORTSC_PTW BIT(28)
56#define PORTSC_STS BIT(29) 57#define PORTSC_STS BIT(29)
57 58
58/* DEVLC */ 59/* DEVLC */
60#define DEVLC_PFSC BIT(23)
59#define DEVLC_PSPD (0x03UL << 25) 61#define DEVLC_PSPD (0x03UL << 25)
60#define DEVLC_PSPD_HS (0x02UL << 25) 62#define DEVLC_PSPD_HS (0x02UL << 25)
61#define DEVLC_PTW BIT(27) 63#define DEVLC_PTW BIT(27)