diff options
author | Roger Quadros <rogerq@ti.com> | 2013-09-24 11:53:47 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-10-04 09:25:22 -0500 |
commit | 8e933359ee2c3a861d5022b83110ce88ba3a2dda (patch) | |
tree | d124d5d91558fe0d65df62b42e0f372506f4e450 /include/linux/usb | |
parent | e79c8a06afe4a7d4b4df686e05028cd5660bea96 (diff) |
usb: phy: generic: Add gpio_reset to platform data
The GPIO number of the RESET line can be passed to the
driver using the gpio_reset member.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/usb_phy_gen_xceiv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/usb/usb_phy_gen_xceiv.h b/include/linux/usb/usb_phy_gen_xceiv.h index f9a7e7bc925..42f3b71a977 100644 --- a/include/linux/usb/usb_phy_gen_xceiv.h +++ b/include/linux/usb/usb_phy_gen_xceiv.h @@ -9,7 +9,8 @@ struct usb_phy_gen_xceiv_platform_data { /* if set fails with -EPROBE_DEFER if can't get regulator */ unsigned int needs_vcc:1; - unsigned int needs_reset:1; + unsigned int needs_reset:1; /* deprecated */ + int gpio_reset; }; #if IS_ENABLED(CONFIG_NOP_USB_XCEIV) |