Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e933359 authored by Roger Quadros's avatar Roger Quadros Committed by Felipe Balbi
Browse files

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: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent e79c8a06
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)