]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: meson-gxl-usb: add set_mode call to force switch to peripheral mode
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 30 Mar 2020 09:27:24 +0000 (11:27 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 20 Apr 2020 12:19:10 +0000 (14:19 +0200)
commit838c0af9d25daa6f783acf0091deca0512baf0df
tree4c2efbd15f42f13832e62e6c64abbc854ffddcd8
parentc2b9aa98bf44e9537222c5c8d6ea365d5220f2e4
phy: meson-gxl-usb: add set_mode call to force switch to peripheral mode

Add set_mode function in the Amlogic GXL PHYs that will be called by
the arch code to switch PHYs from/to gadget mode.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
arch/arm/include/asm/arch-meson/usb-gx.h [new file with mode: 0644]
drivers/phy/meson-gxl-usb2.c
drivers/phy/meson-gxl-usb3.c