usb: common: introduce of_usb_get_maximum_speed()
authorFelipe Balbi <balbi@ti.com>
Sun, 30 Jun 2013 10:56:45 +0000 (13:56 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:46 +0000 (13:56 +0300)
commit1494a1f62bf7cf57345e9282c8189fe2a21fab64
tree16b5e45329a149af37278811b760422ae5e0d46d
parent410aee70f06da60dd8f78c3ec3346cc74c9bed46
usb: common: introduce of_usb_get_maximum_speed()

this helper will be used for controllers which
want to work at a lower speed even though they
support higher USB transfer rates.

One such case is Texas Instruments' AM437x
SoC where it uses a USB3 controller without
a USB3 PHY, rendering the controller USB2-only.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Documentation/devicetree/bindings/usb/generic.txt [new file with mode: 0644]
drivers/usb/usb-common.c
include/linux/usb/of.h