diff mbox series

[v2,1/2] dt-bindings: usb: usb-nop-xceiv: add wakeup-source property

Message ID 1666764742-4201-1-git-send-email-jun.li@nxp.com (mailing list archive)
State Accepted
Commit 434d806f077cad81d87a757adc631894bfa01ac2
Headers show
Series [v2,1/2] dt-bindings: usb: usb-nop-xceiv: add wakeup-source property | expand

Commit Message

Jun Li Oct. 26, 2022, 6:12 a.m. UTC
USB phy may be a system wakeup source, so add wakeup source property
to keep its resource (e.g. power domain) active to make USB remote
wakeup work.

Signed-off-by: Li Jun <jun.li@nxp.com>
---
Change for v2:
- Remove redundant type definition.
- Improve the property description.

 Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Krzysztof Kozlowski Oct. 26, 2022, 2:43 p.m. UTC | #1
On 26/10/2022 02:12, Li Jun wrote:
> USB phy may be a system wakeup source, so add wakeup source property
> to keep its resource (e.g. power domain) active to make USB remote
> wakeup work.
> 
> Signed-off-by: Li Jun <jun.li@nxp.com>


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml
index 2824c17285ee..326131dcf14d 100644
--- a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml
@@ -39,6 +39,11 @@  properties:
       the VBus line.
     $ref: /schemas/types.yaml#/definitions/phandle
 
+  wakeup-source:
+    description:
+      Specify if the USB phy can detect the remote wakeup signal
+      while the system sleep.
+
 required:
   - compatible
   - '#phy-cells'