]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: tegra: Use DT helpers for dr_mode
authorTuomas Tynkkynen <ttynkkynen@nvidia.com>
Thu, 25 Jul 2013 18:38:09 +0000 (21:38 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:58:27 +0000 (13:58 +0300)
commit6558d7edbe069df1220b525362d4aa854a65a8bc
treec21dfcbc13fddab0897284f159f7765d862c7ad6
parent9fdb07f72088ab5fc7bd6fd6f070fac53d636bd9
usb: phy: tegra: Use DT helpers for dr_mode

Use the new of_usb_get_dr_mode helper function for parsing dr_mode
from the device tree. Also replace the usage of the custom
tegra_usb_phy_mode enum with the standard enum.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-tegra-usb.c
include/linux/usb/tegra_usb_phy.h