mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-25 00:01:35 +00:00
46 lines
1.3 KiB
Diff
46 lines
1.3 KiB
Diff
From 181913eae18c7edb10f3337eab6800fad9c2ac3c 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/7] 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 | 10 +++++++++-
|
|
1 file changed, 9 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt
|
|
index 1c35e7b665e1..3661dd261a39 100644
|
|
--- a/Documentation/devicetree/bindings/usb/usb-device.txt
|
|
+++ b/Documentation/devicetree/bindings/usb/usb-device.txt
|
|
@@ -13,6 +13,10 @@ Required properties:
|
|
- reg: the port number which this device is connecting to, the range
|
|
is 1-31.
|
|
|
|
+Optional properties:
|
|
+power sequence properties, see
|
|
+Documentation/devicetree/bindings/power/pwrseq/pwrseq-generic.txt for detail
|
|
+
|
|
Example:
|
|
|
|
&usb1 {
|
|
@@ -21,8 +25,12 @@ Example:
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
- hub: genesys@1 {
|
|
+ genesys: hub@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>;
|
|
};
|
|
}
|
|
--
|
|
2.11.0
|
|
|