phy-generic.h (258d2fbf874c87830664cb7ef41f9741c1abffac) phy-generic.h (af9f51c5512f9d55972603dd5dd90d0fa300b200)
1#ifndef _PHY_GENERIC_H_
2#define _PHY_GENERIC_H_
3
1#ifndef _PHY_GENERIC_H_
2#define _PHY_GENERIC_H_
3
4#include <linux/usb/usb_phy_gen_xceiv.h>
5
4struct 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
13int usb_gen_phy_init(struct usb_phy *phy);
14void usb_gen_phy_shutdown(struct usb_phy *phy);
15
16int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop,
6struct usb_phy_gen_xceiv {
7 struct usb_phy phy;
8 struct device *dev;
9 struct clk *clk;
10 struct regulator *vcc;
11 int gpio_reset;
12 bool reset_active_low;
13};
14
15int usb_gen_phy_init(struct usb_phy *phy);
16void usb_gen_phy_shutdown(struct usb_phy *phy);
17
18int 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);
19 struct usb_phy_gen_xceiv_platform_data *pdata);
18
19#endif
20
21#endif