hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/include/linux/usb/tegra_usb_phy.h
....@@ -17,6 +17,7 @@
1717 #define __TEGRA_USB_PHY_H
1818
1919 #include <linux/clk.h>
20
+#include <linux/gpio.h>
2021 #include <linux/reset.h>
2122 #include <linux/usb/otg.h>
2223
....@@ -76,8 +77,9 @@
7677 struct usb_phy u_phy;
7778 bool is_legacy_phy;
7879 bool is_ulpi_phy;
79
- int reset_gpio;
80
+ struct gpio_desc *reset_gpio;
8081 struct reset_control *pad_rst;
82
+ bool powered_on;
8183 };
8284
8385 void tegra_usb_phy_preresume(struct usb_phy *phy);