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); |
| 14 | void phy_meson_gxl_usb3_set_mode(struct phy *phy, enum usb_dr_mode mode); |
| 15 | |
| 16 | #endif |