diff options
author | Douglas Anderson <dianders@chromium.org> | 2019-05-20 13:56:03 -0400 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-06-18 04:58:28 -0400 |
commit | cd5f9726773b654f8e1cfd6ec1a989c558fa164b (patch) | |
tree | a5e95316bb03a16c10def39627f0a13a0cba4084 | |
parent | 1112cf4c4109473fd8a30a4678d25f9321ef5d67 (diff) |
Documentation: dt-bindings: Add snps,need-phy-for-wake for dwc2 USB
Some SoCs with a dwc2 USB controller may need to keep the PHY on to
support remote wakeup. Allow specifying this as a device tree
property.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
-rw-r--r-- | Documentation/devicetree/bindings/usb/dwc2.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt index 49eac0dc86b0..aafff3a6904d 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.txt +++ b/Documentation/devicetree/bindings/usb/dwc2.txt | |||
@@ -42,6 +42,8 @@ Refer to phy/phy-bindings.txt for generic phy consumer properties | |||
42 | - g-rx-fifo-size: size of rx fifo size in gadget mode. | 42 | - g-rx-fifo-size: size of rx fifo size in gadget mode. |
43 | - g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode. | 43 | - g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode. |
44 | - g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode. | 44 | - g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode. |
45 | - snps,need-phy-for-wake: If present indicates that the phy needs to be left | ||
46 | on for remote wakeup during suspend. | ||
45 | - snps,reset-phy-on-wake: If present indicates that we need to reset the PHY when | 47 | - snps,reset-phy-on-wake: If present indicates that we need to reset the PHY when |
46 | we detect a wakeup. This is due to a hardware errata. | 48 | we detect a wakeup. This is due to a hardware errata. |
47 | 49 | ||
@@ -58,4 +60,5 @@ Example: | |||
58 | clock-names = "otg"; | 60 | clock-names = "otg"; |
59 | phys = <&usbphy>; | 61 | phys = <&usbphy>; |
60 | phy-names = "usb2-phy"; | 62 | phy-names = "usb2-phy"; |
63 | snps,need-phy-for-wake; | ||
61 | }; | 64 | }; |