Merge branches 'topic/sc18is602' and 'topic/rspi' of git://git.kernel.org/pub/scm...
[linux-block.git] / drivers / usb / phy / phy-generic.h
CommitLineData
53b6fc28
SAS
1#ifndef _PHY_GENERIC_H_
2#define _PHY_GENERIC_H_
3
af9f51c5
FB
4#include <linux/usb/usb_phy_gen_xceiv.h>
5
53b6fc28
SAS
6struct usb_phy_gen_xceiv {
7 struct usb_phy phy;
8 struct device *dev;
9 struct clk *clk;
10 struct regulator *vcc;
bd27fa44
RQ
11 int gpio_reset;
12 bool reset_active_low;
53b6fc28
SAS
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,
af9f51c5 19 struct usb_phy_gen_xceiv_platform_data *pdata);
53b6fc28
SAS
20
21#endif