usb: dwc2-otg: adjust fifo size via platform data
authorXu Ziyuan <xzy.xu@rock-chips.com>
Thu, 14 Jul 2016 06:52:33 +0000 (14:52 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 02:44:19 +0000 (20:44 -0600)
commit47117882671fbfb5ffa20cd25ec29da5b7143009
treeaf154f368604db8b587b20722e356e80d9d5b2ad
parentfab3357916096d4c61a5e2fe5d28f5aeb78c6957
usb: dwc2-otg: adjust fifo size via platform data

The total FIFO size of some SoCs may be different from the existen, this
patch supports fifo size setting from platform data.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/dwc2_udc_otg_regs.h
include/usb/dwc2_udc.h