diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-08-14 05:44:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-14 15:37:19 -0400 |
commit | c10b4f033e7c0ddba2b7b699d01109e4de46e831 (patch) | |
tree | 5bbf40eb6076bfd59c38f8e916f0e686b2eb1cb2 /drivers/usb/chipidea/bits.h | |
parent | d66895f9df6b880fa3a280f5bdfe919169ca37dd (diff) |
usb: chipidea: otg: add otg file used to access otgsc
This file is mainly used to access otgsc currently, it may
add otg related things in the future.
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/bits.h')
-rw-r--r-- | drivers/usb/chipidea/bits.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/bits.h b/drivers/usb/chipidea/bits.h index 1b23e354f9fb..464584c6ccae 100644 --- a/drivers/usb/chipidea/bits.h +++ b/drivers/usb/chipidea/bits.h | |||
@@ -79,11 +79,21 @@ | |||
79 | #define OTGSC_ASVIS BIT(18) | 79 | #define OTGSC_ASVIS BIT(18) |
80 | #define OTGSC_BSVIS BIT(19) | 80 | #define OTGSC_BSVIS BIT(19) |
81 | #define OTGSC_BSEIS BIT(20) | 81 | #define OTGSC_BSEIS BIT(20) |
82 | #define OTGSC_1MSIS BIT(21) | ||
83 | #define OTGSC_DPIS BIT(22) | ||
82 | #define OTGSC_IDIE BIT(24) | 84 | #define OTGSC_IDIE BIT(24) |
83 | #define OTGSC_AVVIE BIT(25) | 85 | #define OTGSC_AVVIE BIT(25) |
84 | #define OTGSC_ASVIE BIT(26) | 86 | #define OTGSC_ASVIE BIT(26) |
85 | #define OTGSC_BSVIE BIT(27) | 87 | #define OTGSC_BSVIE BIT(27) |
86 | #define OTGSC_BSEIE BIT(28) | 88 | #define OTGSC_BSEIE BIT(28) |
89 | #define OTGSC_1MSIE BIT(29) | ||
90 | #define OTGSC_DPIE BIT(30) | ||
91 | #define OTGSC_INT_EN_BITS (OTGSC_IDIE | OTGSC_AVVIE | OTGSC_ASVIE \ | ||
92 | | OTGSC_BSVIE | OTGSC_BSEIE | OTGSC_1MSIE \ | ||
93 | | OTGSC_DPIE) | ||
94 | #define OTGSC_INT_STATUS_BITS (OTGSC_IDIS | OTGSC_AVVIS | OTGSC_ASVIS \ | ||
95 | | OTGSC_BSVIS | OTGSC_BSEIS | OTGSC_1MSIS \ | ||
96 | | OTGSC_DPIS) | ||
87 | 97 | ||
88 | /* USBMODE */ | 98 | /* USBMODE */ |
89 | #define USBMODE_CM (0x03UL << 0) | 99 | #define USBMODE_CM (0x03UL << 0) |