1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2019 BayLibre SAS
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 */
6#ifndef _ARCH_MESON_USB_GX_H_
7#define _ARCH_MESON_USB_GX_H_
8
9#include <generic-phy.h>
10#include <linux/usb/otg.h>
11
12/* TOFIX add set_mode to struct phy_ops */
13void phy_meson_gxl_usb2_set_mode(struct phy *phy, enum usb_dr_mode mode);
14
15int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode);
16
17#endif
18