[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1468038656-10345-5-git-send-email-rajesh.bhagat@nxp.com>
Date: Sat, 9 Jul 2016 10:00:55 +0530
From: Rajesh Bhagat <rajesh.bhagat@....com>
To: <linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>
CC: <Peter.Chen@....com>, <gregkh@...uxfoundation.org>,
<kishon@...com>, <robh+dt@...nel.org>, <shawnguo@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
Rajesh Bhagat <rajesh.bhagat@....com>
Subject: [PATCH v2 4/5] phy: DT binding documentation for qoriq usb 2.0 phy
Describes the qoriq usb 2.0 phy driver binding, currently used
for LS1021A and LS1012A platform.
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@....com>
---
Changes in v2:
- Adds DT binding documentation for qoriq usb 2.0 phy
- Changed the compatible string to fsl,qoriq-usb2-phy
.../devicetree/bindings/phy/qoriq-usb2-phy.txt | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/qoriq-usb2-phy.txt
diff --git a/Documentation/devicetree/bindings/phy/qoriq-usb2-phy.txt b/Documentation/devicetree/bindings/phy/qoriq-usb2-phy.txt
new file mode 100644
index 0000000..f043855
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/qoriq-usb2-phy.txt
@@ -0,0 +1,22 @@
+QorIQ SoC USB 2.0 PHY
+
+Required properties:
+ - compatible: should be "fsl,qoriq-usb2-phy",
+ Wherever applicable, the version of the USB PHY should
+ also be mentioned (for eg. fsl,qoriq-usb2-phy-vX.Y).
+ where, X = Phy vendor(Legacy = 1, NXP = 2) and Y = PHY version
+ - reg : Address and length of the usb phy control register set.
+ - phy_type : For multi port host USB controllers, should be one of
+ "ulpi", or "serial". For dual role USB controllers, should be
+ one of "ulpi", "utmi", "utmi_wide", or "serial".
+
+The main purpose of this PHY driver is to enable the USB PHY reference clock
+gate on the QorIQ SOC for USB2 PHY OR implement errata workaround in
+future. Otherwise it is just an NOP PHY driver.
+
+usbphy0: usbphy@...0000 {
+ compatible = "fsl,qoriq-usb2-phy" "fsl,qoriq-usb2-phy-vX.Y";
+ reg = <0x0 0x8600000 0x0 0x1000>;
+ #phy-cells = <0>;
+ phy_type = "ulpi";
+};
--
2.6.2.198.g614a2ac
Powered by blists - more mailing lists