usb: dwc3: Add missing defines
Add bit definition for the GUSB2PHYCFG ENBLSLPM bit. Add definition for DWC3_GUCTL_REFCLKPER which is used to set the reference clock frequency. Also add definition for DWC3_GDBGLTSSM_LINKSTATE_MASK used to query the HW for the current LTSSM link state. Signed-off-by: Jack Pham <jackp@codeaurora.org>
This commit is contained in:
parent
a1ee10d4cc
commit
abeac45ef6
1 changed files with 7 additions and 0 deletions
|
@ -184,8 +184,15 @@
|
|||
#define DWC3_GCTL_GBLHIBERNATIONEN (1 << 1)
|
||||
#define DWC3_GCTL_DSBLCLKGTNG (1 << 0)
|
||||
|
||||
/* Global User Control Register */
|
||||
#define DWC3_GUCTL_REFCLKPER (0x3FF << 22)
|
||||
|
||||
/* Global Debug LTSSM Register */
|
||||
#define DWC3_GDBGLTSSM_LINKSTATE_MASK (0xF << 22)
|
||||
|
||||
/* Global USB2 PHY Configuration Register */
|
||||
#define DWC3_GUSB2PHYCFG_PHYSOFTRST (1 << 31)
|
||||
#define DWC3_GUSB2PHYCFG_ENBLSLPM (1 << 8)
|
||||
#define DWC3_GUSB2PHYCFG_SUSPHY (1 << 6)
|
||||
#define DWC3_GUSB2PHYCFG_ULPI_UTMI (1 << 4)
|
||||
#define DWC3_GUSB2PHYCFG_ENBLSLPM (1 << 8)
|
||||
|
|
Loading…
Add table
Reference in a new issue