Hi, While converting dwc3 to the unified device property interface, I noticed that there is really nothing preventing of_usb_get_dr_mode and of_usb_get_maximum_speed from being converted as well. Hope that's OK. The only special case was dwc3-st.c, where the dr_mode is requested before the platform device has been populated. I changed it so that the dr_mode property is requested after the platform device is populated in a separate patch. Changes since v1: - Rebased on top of Felipe's testing/next branch Heikki Krogerus (5): usb: common: of_usb_get_maximum_speed to usb_get_maximum_speed usb: dwc3: st: prepare the driver for generic usb_get_dr_mode function usb: common: of_usb_get_dr_mode to usb_get_dr_mode usb: dwc3: core: convert to unified device property interface usb: dwc3: pci: passing forward the ACPI companion drivers/usb/chipidea/core.c | 4 +-- drivers/usb/common/common.c | 59 +++++++++++++++-------------------------- drivers/usb/dwc2/platform.c | 2 +- drivers/usb/dwc3/core.c | 55 +++++++++++++++++++------------------- drivers/usb/dwc3/dwc3-pci.c | 1 + drivers/usb/dwc3/dwc3-st.c | 12 +++++++-- drivers/usb/musb/musb_dsps.c | 4 +-- drivers/usb/musb/sunxi.c | 2 +- drivers/usb/phy/phy-msm-usb.c | 2 +- drivers/usb/phy/phy-tegra-usb.c | 2 +- include/linux/usb/ch9.h | 11 +++++++- include/linux/usb/of.h | 12 --------- include/linux/usb/otg.h | 9 +++++++ 13 files changed, 87 insertions(+), 88 deletions(-) -- 2.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html