]> git.baikalelectronics.ru Git - kernel.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)
commitb87f08b3f5430af7c52f32422534df15d8b7d254
treec21dfcbc13fddab0897284f159f7765d862c7ad6
parentea2b2f5cd8f52840d6c608e1c184e5600aae6997
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