usb-gx.h 445 B

1234567891011121314151617
  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. #include <generic-phy.h>
  9. #include <linux/usb/otg.h>
  10. /* TOFIX add set_mode to struct phy_ops */
  11. void phy_meson_gxl_usb2_set_mode(struct phy *phy, enum usb_dr_mode mode);
  12. int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode);
  13. #endif