diff options
author | Vahram Aharonyan <vahrama@synopsys.com> | 2016-11-14 19:16:34 -0800 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-11-18 13:54:46 +0200 |
commit | a5c18f1131506d23679b896660c73e30c51051cd (patch) | |
tree | fcf4dca447f73cb7556cf92de0caf3e06157fcd0 /drivers/usb/dwc2/hw.h | |
parent | ef750c7142a738d3759f7a644e33fd830b2d6351 (diff) | |
download | op-kernel-dev-a5c18f1131506d23679b896660c73e30c51051cd.zip op-kernel-dev-a5c18f1131506d23679b896660c73e30c51051cd.tar.gz |
usb: dwc2: gadget: Enable descriptor DMA mode
Add DCFG register field macro for descriptor DMA mode and update core
initialization routine to set that bit accordingly.
Signed-off-by: Vahram Aharonyan <vahrama@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/hw.h')
-rw-r--r-- | drivers/usb/dwc2/hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/hw.h b/drivers/usb/dwc2/hw.h index 0e5bfb3..631396b 100644 --- a/drivers/usb/dwc2/hw.h +++ b/drivers/usb/dwc2/hw.h @@ -412,6 +412,7 @@ /* Device mode registers */ #define DCFG HSOTG_REG(0x800) +#define DCFG_DESCDMA_EN (1 << 23) #define DCFG_EPMISCNT_MASK (0x1f << 18) #define DCFG_EPMISCNT_SHIFT 18 #define DCFG_EPMISCNT_LIMIT 0x1f |