kernel/include/linux/usb/tegra_usb_phy.h
.. .. @@ -17,6 +17,7 @@ 17 17 #define __TEGRA_USB_PHY_H 18 18 19 19 #include <linux/clk.h> 20 +#include <linux/gpio.h>20 21 #include <linux/reset.h> 21 22 #include <linux/usb/otg.h> 22 23 .. .. @@ -76,8 +77,9 @@ 76 77 struct usb_phy u_phy; 77 78 bool is_legacy_phy; 78 79 bool is_ulpi_phy; 79 - int reset_gpio;80 + struct gpio_desc *reset_gpio;80 81 struct reset_control *pad_rst; 82 + bool powered_on;81 83 }; 82 84 83 85 void tegra_usb_phy_preresume(struct usb_phy *phy);