diff mbox

[v4,1/2] Documentation: dt-bindings: Add documentation for the Meson GXL USB2 PHY

Message ID 20170520135041.25679-2-martin.blumenstingl@googlemail.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Martin Blumenstingl May 20, 2017, 1:50 p.m. UTC
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>
---
 .../devicetree/bindings/phy/meson-gxl-usb2-phy.txt      | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt

Comments

Kishon Vijay Abraham I June 6, 2017, 8:54 a.m. UTC | #1
Hi,

On Saturday 20 May 2017 07:20 PM, Martin Blumenstingl wrote:
> 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>

changed $subject to
dt-bindings: phy: meson-gxl-usb2-phy: Add documentation for the Meson GXL USB2 PHY

and merged.

Thanks
Kishon
Martin Blumenstingl June 6, 2017, 6:17 p.m. UTC | #2
Hi Kishon,

On Tue, Jun 6, 2017 at 10:54 AM, Kishon Vijay Abraham I <kishon@ti.com> wrote:
> Hi,
>
> On Saturday 20 May 2017 07:20 PM, Martin Blumenstingl wrote:
>> 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>
>
> changed $subject to
> dt-bindings: phy: meson-gxl-usb2-phy: Add documentation for the Meson GXL USB2 PHY
>
> and merged.
oh, excellent catch - many thanks for fixing this up (and thus saving
me another round)!


Regards,
Martin
diff mbox

Patch

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
index 000000000000..a105494a0fc9
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt
@@ -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>;
+	};