1 #ifndef _PHY_GENERIC_H_ 2 #define _PHY_GENERIC_H_ 3 4 struct usb_phy_gen_xceiv { 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 13 int usb_gen_phy_init(struct usb_phy *phy); 14 void usb_gen_phy_shutdown(struct usb_phy *phy); 15 16 int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop, 17 enum usb_phy_type type, u32 clk_rate, bool needs_vcc); 18 19 #endif 20