1 /* include/linux/usb/otg.h
3 * Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com
5 * USB OTG (On The Go) defines
7 * SPDX-License-Identifier: GPL-2.0+
10 #ifndef __LINUX_USB_OTG_H
11 #define __LINUX_USB_OTG_H
16 USB_DR_MODE_PERIPHERAL,
21 * usb_get_dr_mode() - Get dual role mode for given device
22 * @node: Node offset to the given device
24 * The function gets phy interface string from property 'dr_mode',
25 * and returns the correspondig enum usb_dr_mode
27 enum usb_dr_mode usb_get_dr_mode(int node);
29 #endif /* __LINUX_USB_OTG_H */