phy-generic.h 440 B

12345678910111213141516171819
  1. #ifndef _PHY_GENERIC_H_
  2. #define _PHY_GENERIC_H_
  3. struct usb_phy_gen_xceiv {
  4. struct usb_phy phy;
  5. struct device *dev;
  6. struct clk *clk;
  7. struct regulator *vcc;
  8. int gpio_reset;
  9. bool reset_active_low;
  10. };
  11. int usb_gen_phy_init(struct usb_phy *phy);
  12. void usb_gen_phy_shutdown(struct usb_phy *phy);
  13. int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop,
  14. enum usb_phy_type type, u32 clk_rate, bool needs_vcc);
  15. #endif