X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fusb%2Fulpi.h;h=99166c44a08c053386028113952e81acbf3ad24d;hb=b41d7d05b7a7ab56d961c144ca93b15de0fc4308;hp=9a75c24bdd146d0364fb949a98afd29872175b11;hpb=5675b509165b67465a20e5cf71e07f40b449ef0c;p=u-boot diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h index 9a75c24bdd..99166c44a0 100644 --- a/include/usb/ulpi.h +++ b/include/usb/ulpi.h @@ -61,8 +61,17 @@ int ulpi_select_transceiver(struct ulpi_viewport *ulpi_vp, unsigned speed); * * returns 0 on success, ULPI_ERROR on failure. */ -int ulpi_set_vbus(struct ulpi_viewport *ulpi_vp, - int on, int ext_power, int ext_ind); +int ulpi_set_vbus(struct ulpi_viewport *ulpi_vp, int on, int ext_power); + +/* + * Configure VBUS indicator + * @external - external VBUS over-current indicator is used + * @passthru - disables ANDing of internal VBUS comparator + * with external VBUS input + * @complement - inverts the external VBUS input + */ +int ulpi_set_vbus_indicator(struct ulpi_viewport *ulpi_vp, int external, + int passthru, int complement); /* * Enable/disable pull-down resistors on D+ and D- USB lines.