dt-bindings: phy: meson-gxl-usb2-phy: Add documentation for the Meson GXL USB2 PHY
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 20 May 2017 13:50:40 +0000 (15:50 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 6 Jun 2017 09:19:36 +0000 (14:49 +0530)
This adds the DT binding documentation for the USB2 PHY(s) found in the
Meson GXL and GXM SoCs.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt
new file mode 100644 (file)
index 0000000..a105494
--- /dev/null
@@ -0,0 +1,17 @@
+* Amlogic Meson GXL and GXM USB2 PHY binding
+
+Required properties:
+- compatible:  Should be "amlogic,meson-gxl-usb2-phy"
+- reg:         The base address and length of the registers
+- #phys-cells: must be 0 (see phy-bindings.txt in this directory)
+
+Optional properties:
+- phy-supply:  see phy-bindings.txt in this directory
+
+
+Example:
+       usb2_phy0: phy@78000 {
+               compatible = "amlogic,meson-gxl-usb2-phy";
+               #phy-cells = <0>;
+               reg = <0x0 0x78000 0x0 0x20>;
+       };