phy-generic.h 506 B

1234567891011121314151617181920
  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. struct regulator *reset;
  9. };
  10. int usb_gen_phy_init(struct usb_phy *phy);
  11. void usb_gen_phy_shutdown(struct usb_phy *phy);
  12. int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop,
  13. enum usb_phy_type type, u32 clk_rate, bool needs_vcc,
  14. bool needs_reset);
  15. void usb_phy_gen_cleanup_phy(struct usb_phy_gen_xceiv *nop);
  16. #endif