phy-generic.h 467 B

123456789101112131415161718192021
  1. #ifndef _PHY_GENERIC_H_
  2. #define _PHY_GENERIC_H_
  3. #include <linux/usb/usb_phy_generic.h>
  4. struct usb_phy_generic {
  5. struct usb_phy phy;
  6. struct device *dev;
  7. struct clk *clk;
  8. struct regulator *vcc;
  9. int gpio_reset;
  10. bool reset_active_low;
  11. };
  12. int usb_gen_phy_init(struct usb_phy *phy);
  13. void usb_gen_phy_shutdown(struct usb_phy *phy);
  14. int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop,
  15. struct usb_phy_generic_platform_data *pdata);
  16. #endif