47 lines
1.4 KiB
Diff
47 lines
1.4 KiB
Diff
From 65bfdb21c26a922b2ada21140782251465159ae3 Mon Sep 17 00:00:00 2001
|
|
From: Peter Chen <peter.chen@nxp.com>
|
|
Date: Thu, 18 May 2017 08:48:59 +0800
|
|
Subject: [PATCH 3/9] binding-doc: usb: usb-device: add optional properties for
|
|
power sequence
|
|
|
|
Add optional properties for power sequence.
|
|
|
|
Signed-off-by: Peter Chen <peter.chen@nxp.com>
|
|
Acked-by: Rob Herring <robh@kernel.org>
|
|
---
|
|
Documentation/devicetree/bindings/usb/usb-device.txt | 9 ++++++++-
|
|
1 file changed, 8 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt
|
|
index 036be172b1ae..cb85f82a12bb 100644
|
|
--- a/Documentation/devicetree/bindings/usb/usb-device.txt
|
|
+++ b/Documentation/devicetree/bindings/usb/usb-device.txt
|
|
@@ -65,6 +65,9 @@ Required properties for host-controller nodes with device nodes:
|
|
- #address-cells: shall be 1
|
|
- #size-cells: shall be 0
|
|
|
|
+Optional properties:
|
|
+power sequence properties, see
|
|
+Documentation/devicetree/bindings/power/pwrseq/pwrseq-generic.txt for detail
|
|
|
|
Example:
|
|
|
|
@@ -72,9 +75,13 @@ Example:
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
- hub@1 { /* hub connected to port 1 */
|
|
+ genesys: hub@1 { /* hub connected to port 1 */
|
|
compatible = "usb5e3,608";
|
|
reg = <1>;
|
|
+
|
|
+ clocks = <&clks IMX6SX_CLK_CKO>;
|
|
+ reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; /* hub reset pin */
|
|
+ reset-duration-us = <10>;
|
|
};
|
|
|
|
device@2 { /* device connected to port 2 */
|
|
--
|
|
2.20.1
|
|
|