Lines Matching full:vbus
40 struct gpio_desc *vbus; member
129 * VBUS SWITCHING IS BOARD-SPECIFIC ... at least for the DM6446 EVM,
146 gpiod_set_value_cansleep(glue->vbus, glue->vbus_state); in evm_deferred_drvvbus()
156 if (!glue->vbus) in davinci_musb_source_power()
169 gpiod_set_value_cansleep(glue->vbus, glue->vbus_state); in davinci_musb_source_power()
203 /* Wait till VBUS falls below SessionEnd (~0.2V); the 1.3 RTL in otg_timer()
205 * case "recover"), in routine "VBUS was valid by the time in otg_timer()
298 /* The Mentor core doesn't debounce VBUS as needed in davinci_musb_interrupt()
301 * to get VBUS errors during enumeration. in davinci_musb_interrupt()
305 * without waiting (on EVM, a **long** time) for VBUS in davinci_musb_interrupt()
311 WARNING("VBUS error workaround (delay coming)\n"); in davinci_musb_interrupt()
328 dev_dbg(musb->controller, "VBUS %s (%s)%s, devctl %02x\n", in davinci_musb_interrupt()
431 /* force VBUS off */ in davinci_musb_exit()
453 dev_dbg(musb->controller, "VBUS %d\n", in davinci_musb_exit()
462 dev_dbg(musb->controller, "VBUS off timeout (devctl %02x)\n", devctl); in davinci_musb_exit()
527 glue->vbus = devm_gpiod_get_optional(&pdev->dev, NULL, GPIOD_OUT_LOW); in davinci_probe()
528 if (IS_ERR(glue->vbus)) { in davinci_probe()
529 ret = PTR_ERR(glue->vbus); in davinci_probe()