blob: 61f1809df9ce2467364e7f134316f04e143e523a [file] [log] [blame]
Neil Armstrong13b06b42020-03-30 11:27:24 +02001/* 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);
Neil Armstrong13b06b42020-03-30 11:27:24 +020014
Neil Armstrongc1a7e72c2020-09-10 10:48:13 +020015int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode);
16
Neil Armstrong13b06b42020-03-30 11:27:24 +020017#endif