Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[deliverable/linux.git] / drivers / usb / phy / phy-generic.h
CommitLineData
53b6fc28
SAS
1#ifndef _PHY_GENERIC_H_
2#define _PHY_GENERIC_H_
3
d7078df6 4#include <linux/usb/usb_phy_generic.h>
e9f2cefb 5#include <linux/gpio/consumer.h>
7acc9973 6#include <linux/regulator/consumer.h>
af9f51c5 7
4525beeb 8struct usb_phy_generic {
53b6fc28
SAS
9 struct usb_phy phy;
10 struct device *dev;
11 struct clk *clk;
12 struct regulator *vcc;
e9f2cefb 13 struct gpio_desc *gpiod_reset;
7acc9973
RJ
14 struct gpio_desc *gpiod_vbus;
15 struct regulator *vbus_draw;
16 bool vbus_draw_enabled;
17 unsigned long mA;
18 unsigned int vbus;
53b6fc28
SAS
19};
20
21int usb_gen_phy_init(struct usb_phy *phy);
22void usb_gen_phy_shutdown(struct usb_phy *phy);
23
4525beeb
FB
24int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop,
25 struct usb_phy_generic_platform_data *pdata);
53b6fc28
SAS
26
27#endif
This page took 0.187056 seconds and 5 git commands to generate.