diff options
| author | Tom Rini <[email protected]> | 2022-05-20 22:07:56 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-05-20 22:07:56 -0400 |
| commit | 6f00b97d7e5760d92566317dde6c4b9224790827 (patch) | |
| tree | d68a530716d7eccd361be9ecb5eb581b9e264a9f /include/linux | |
| parent | 658d38e193073846af0514ca7c39d03c16b6cddc (diff) | |
| parent | 868d58f69c7ceda5c886293cf15f4e39493517a2 (diff) | |
Merge https://source.denx.de/u-boot/custodians/u-boot-usb
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/otg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h index c19b916be9d..5d0dac950ef 100644 --- a/include/linux/usb/otg.h +++ b/include/linux/usb/otg.h @@ -28,6 +28,16 @@ enum usb_dr_mode { enum usb_dr_mode usb_get_dr_mode(ofnode node); /** + * usb_get_dr_mode() - Get dual role mode for given device + * @node: ofnode of the given device + * + * The function gets phy interface string from property + * 'role-switch-defaulr-mode', and returns the correspondig enum + * usb_dr_mode + */ +enum usb_dr_mode usb_get_role_switch_default_mode(ofnode node); + +/** * usb_get_maximum_speed() - Get maximum speed for given device * @node: ofnode of the given device * |
