usb: dwc2: Add missing register field definitions
Added register field definitions, register names are according DWC-OTG databook. Tested-by: John Keeping <john@metanate.com> Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com> Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
parent
b89e5f1a67
commit
106528b21d
|
@ -459,6 +459,9 @@
|
|||
#define DSTS_SUSPSTS (1 << 0)
|
||||
|
||||
#define DIEPMSK HSOTG_REG(0x810)
|
||||
#define DIEPMSK_NAKMSK (1 << 13)
|
||||
#define DIEPMSK_BNAININTRMSK (1 << 9)
|
||||
#define DIEPMSK_TXFIFOUNDRNMSK (1 << 8)
|
||||
#define DIEPMSK_TXFIFOEMPTY (1 << 7)
|
||||
#define DIEPMSK_INEPNAKEFFMSK (1 << 6)
|
||||
#define DIEPMSK_INTKNEPMISMSK (1 << 5)
|
||||
|
@ -470,6 +473,7 @@
|
|||
|
||||
#define DOEPMSK HSOTG_REG(0x814)
|
||||
#define DOEPMSK_BACK2BACKSETUP (1 << 6)
|
||||
#define DOEPMSK_STSPHSERCVDMSK (1 << 5)
|
||||
#define DOEPMSK_OUTTKNEPDISMSK (1 << 4)
|
||||
#define DOEPMSK_SETUPMSK (1 << 3)
|
||||
#define DOEPMSK_AHBERRMSK (1 << 2)
|
||||
|
@ -486,6 +490,7 @@
|
|||
#define DTKNQR2 HSOTG_REG(0x824)
|
||||
#define DTKNQR3 HSOTG_REG(0x830)
|
||||
#define DTKNQR4 HSOTG_REG(0x834)
|
||||
#define DIEPEMPMSK HSOTG_REG(0x834)
|
||||
|
||||
#define DVBUSDIS HSOTG_REG(0x828)
|
||||
#define DVBUSPULSE HSOTG_REG(0x82C)
|
||||
|
@ -544,6 +549,14 @@
|
|||
#define DIEPINT(_a) HSOTG_REG(0x908 + ((_a) * 0x20))
|
||||
#define DOEPINT(_a) HSOTG_REG(0xB08 + ((_a) * 0x20))
|
||||
#define DXEPINT_SETUP_RCVD (1 << 15)
|
||||
#define DXEPINT_NYETINTRPT (1 << 14)
|
||||
#define DXEPINT_NAKINTRPT (1 << 13)
|
||||
#define DXEPINT_BBLEERRINTRPT (1 << 12)
|
||||
#define DXEPINT_PKTDRPSTS (1 << 11)
|
||||
#define DXEPINT_BNAINTR (1 << 9)
|
||||
#define DXEPINT_TXFIFOUNDRN (1 << 8)
|
||||
#define DXEPINT_OUTPKTERR (1 << 8)
|
||||
#define DXEPINT_TXFEMP (1 << 7)
|
||||
#define DXEPINT_INEPNAKEFF (1 << 6)
|
||||
#define DXEPINT_BACK2BACKSETUP (1 << 6)
|
||||
#define DXEPINT_INTKNEPMIS (1 << 5)
|
||||
|
|
Loading…
Reference in New Issue