phy-generic.h (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) | phy-generic.h (e9f2cefb0cdc2aea8b70dbf68a3f78b88e57cf34) |
---|---|
1#ifndef _PHY_GENERIC_H_ 2#define _PHY_GENERIC_H_ 3 4#include <linux/usb/usb_phy_generic.h> | 1#ifndef _PHY_GENERIC_H_ 2#define _PHY_GENERIC_H_ 3 4#include <linux/usb/usb_phy_generic.h> |
5#include <linux/gpio/consumer.h> |
|
5 6struct usb_phy_generic { 7 struct usb_phy phy; 8 struct device *dev; 9 struct clk *clk; 10 struct regulator *vcc; | 6 7struct usb_phy_generic { 8 struct usb_phy phy; 9 struct device *dev; 10 struct clk *clk; 11 struct regulator *vcc; |
11 int gpio_reset; 12 bool reset_active_low; | 12 struct gpio_desc *gpiod_reset; |
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_generic *nop, 19 struct usb_phy_generic_platform_data *pdata); 20 21#endif | 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_generic *nop, 19 struct usb_phy_generic_platform_data *pdata); 20 21#endif |