diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2012-09-06 18:57:06 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-06 21:14:53 +0400 |
commit | 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6 (patch) | |
tree | 37862b7feec66ad89ca111ed88662fedb122698e /Documentation/devicetree | |
parent | a4c3ddec5c5293953d8472eb151c48a3205b738b (diff) | |
download | linux-657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6.tar.xz |
usb: phy: add a new driver for omap usb2 phy
All phy related programming like enabling/disabling the clocks, powering
on/off the phy is taken care of by this driver. It is also used for OTG
related functionality like srp.
This also includes device tree support for usb2 phy driver and
the documentation with device tree binding information is updated.
Currently writing to control module register is taken care in this
driver which will be removed once the control module driver is in place.
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/usb/usb-phy.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb-phy.txt b/Documentation/devicetree/bindings/usb/usb-phy.txt new file mode 100644 index 000000000000..80d4148cb661 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/usb-phy.txt @@ -0,0 +1,17 @@ +USB PHY + +OMAP USB2 PHY + +Required properties: + - compatible: Should be "ti,omap-usb2" + - reg : Address and length of the register set for the device. Also +add the address of control module dev conf register until a driver for +control module is added + +This is usually a subnode of ocp2scp to which it is connected. + +usb2phy@4a0ad080 { + compatible = "ti,omap-usb2"; + reg = <0x4a0ad080 0x58>, + <0x4a002300 0x4>; +}; |