diff options
author | Tom Rini <trini@konsulko.com> | 2016-09-22 16:51:19 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-22 16:51:19 -0400 |
commit | 201c9d884dcadb4e76981c30e9915f73de2d09b5 (patch) | |
tree | af1030f3a441f1538085eaa586e0e8392f2429ab /include/linux/usb | |
parent | 82f5279b0cd99a9163d34cfe926d0316d9dc0d37 (diff) | |
parent | 4f0b8efa50a543efd407fb8b2e9ad0de49467a15 (diff) |
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/dwc3.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/usb/dwc3.h b/include/linux/usb/dwc3.h index 6d1e36505d..a0274461cc 100644 --- a/include/linux/usb/dwc3.h +++ b/include/linux/usb/dwc3.h @@ -180,7 +180,21 @@ struct dwc3 { /* offset: 0xC100 */ /* Global USB2 PHY Configuration Register */ #define DWC3_GUSB2PHYCFG_PHYSOFTRST (1 << 31) +#define DWC3_GUSB2PHYCFG_U2_FREECLK_EXISTS (1 << 30) +#define DWC3_GUSB2PHYCFG_ENBLSLPM (1 << 8) #define DWC3_GUSB2PHYCFG_SUSPHY (1 << 6) +#define DWC3_GUSB2PHYCFG_PHYIF (1 << 3) + +/* Global USB2 PHY Configuration Mask */ +#define DWC3_GUSB2PHYCFG_USBTRDTIM_MASK (0xf << 10) + +/* Global USB2 PHY Configuration Offset */ +#define DWC3_GUSB2PHYCFG_USBTRDTIM_OFFSET 10 + +#define DWC3_GUSB2PHYCFG_USBTRDTIM_16BIT (0x5 << \ + DWC3_GUSB2PHYCFG_USBTRDTIM_OFFSET) +#define DWC3_GUSB2PHYCFG_USBTRDTIM_8BIT (0x9 << \ + DWC3_GUSB2PHYCFG_USBTRDTIM_OFFSET) /* Global USB3 PIPE Control Register */ #define DWC3_GUSB3PIPECTL_PHYSOFTRST (1 << 31) |