commit | 98bfb39466954c69d2a448e6ddcab6d91cd48e25 | [log] [tgz] |
---|---|---|
author | Bin Liu <b-liu@ti.com> | Tue Nov 03 11:51:15 2015 -0600 |
committer | Felipe Balbi <balbi@ti.com> | Tue Dec 15 09:12:41 2015 -0600 |
tree | e5a93ad5f204c67f04663a29c9217500bdd72c42 | |
parent | fa4dce2022241f3c938372af0faf9d263061f6a9 [diff] |
usb: of: add an api to get dr_mode by the phy node Some USB phy drivers have different handling for the controller in each dr_mode. But the phy driver does not have visibility to the dr_mode of the controller. This adds an api to return the dr_mode of the controller which associates the given phy node. Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>