arm: meson-gx: add board_usb_init()/cleanup() for USB gadget
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 30 Mar 2020 09:27:25 +0000 (11:27 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 20 Apr 2020 12:19:10 +0000 (14:19 +0200)
commitdc999e5759d7ed7082a36c99709fd905f28c6dd5
tree1e04d0e9c204b3b862f674383d19b8b5b02c75e4
parent838c0af9d25daa6f783acf0091deca0512baf0df
arm: meson-gx: add board_usb_init()/cleanup() for USB gadget

Add arch code to initialize USB Gadget mode using the DWC2 controller,
and using the previously added set_mode() phy functions.

[narmstrong: fixup board_usb_cleanup call to phy_meson_gxl_usb2_set_mode]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
arch/arm/mach-meson/board-gx.c