Neil Armstrong | 13b06b4 | 2020-03-30 11:27:24 +0200 | [diff] [blame] | 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 */ |
| 13 | void phy_meson_gxl_usb2_set_mode(struct phy *phy, enum usb_dr_mode mode); |
Neil Armstrong | 13b06b4 | 2020-03-30 11:27:24 +0200 | [diff] [blame] | 14 | |
Neil Armstrong | c1a7e72c | 2020-09-10 10:48:13 +0200 | [diff] [blame] | 15 | int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode); |
| 16 | |
Neil Armstrong | 13b06b4 | 2020-03-30 11:27:24 +0200 | [diff] [blame] | 17 | #endif |