diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2012-09-06 20:27:06 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-06 20:14:53 +0300 |
commit | 657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6 (patch) | |
tree | 37862b7feec66ad89ca111ed88662fedb122698e /Documentation | |
parent | a4c3ddec5c5293953d8472eb151c48a3205b738b (diff) | |
download | op-kernel-dev-657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6.zip op-kernel-dev-657b306a7bdfca4ae1514b533a0e7c3c6d26dbc6.tar.gz |
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')
-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 0000000..80d4148 --- /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>; +}; |