]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: Setup dwc3_device (for non-dm gadgets)
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 19 Nov 2019 08:26:22 +0000 (13:56 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 23 Nov 2019 15:41:44 +0000 (23:41 +0800)
commitc618bb00429238ab23b1607f8190bda1575ec990
tree9ea4ef2b3deb57a614b7ef2e423ad76e4b4220fc
parent3d3b83a5731bab26e8d822659e7d8ff906f6149a
rockchip: Setup dwc3_device (for non-dm gadgets)

Setup dwc3_device structure for non-dm gadgets, which is used
in rk3399 platforms.

dwc3_device would have basic regbase, dr_mode, high speed
and 16-bit UTMI+ etc.

Cc: Marek Vasut <marex@denx.de>
Tested-by: Levin Du <djw@t-chip.com.cn>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
(Fix to use CONFIG_USB_DWC3_GADGET instead of CONFIG_USB_DWC3)
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/board.c