[PATCH v2] usb: imx-us-phy: add vbus_valid ro parameter

Sascha Hauer sha at pengutronix.de
Mon Oct 4 04:57:30 PDT 2021


On Tue, Aug 24, 2021 at 02:12:08PM +0200, Marco Felsch wrote:
> The parameter can be used by init scripts to detect a plugged usb cable.
> Upon a plugged usb cable the barebox behaviour can be changed which can
> be useful e.g. during production to apply a special production
> environment.
> 
> Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
> ---
> v2:
> - move vbus_valid into 'struct imx_usbphy' to avoid global vars
> - add comment

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list