All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: usb: mediatek,mtk-xhci: add keep-clock-on
@ 2020-11-02  7:18 ` Macpaul Lin
  0 siblings, 0 replies; 30+ messages in thread
From: Macpaul Lin @ 2020-11-02  7:18 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Matthias Brugger, Mathias Nyman,
	Chunfeng Yun, linux-usb, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel
  Cc: Macpaul Lin, Eddie Hung, Ainge Hsu, Mediatek WSD Upstream,
	Macpaul Lin

Option "mediatek,keep-clock-on" means to keep clock on during system
suspend and resume. Some platform will flush register settings if clock has
been disabled when system is suspended. Set this option to avoid clock off.

Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
---
 .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
index ea696c8..a956dde 100644
--- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
+++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml
@@ -104,6 +104,12 @@ properties:
     description: enable USB remote wakeup, see power/wakeup-source.txt
     type: boolean
 
+  mediatek,keep-clock-on:
+    description: |
+      Keep clock on during system suspend and resume. Some platform will flush
+      register settings if clock has been disabled when system is suspended.
+    type: boolean
+
   mediatek,syscon-wakeup:
     $ref: /schemas/types.yaml#/definitions/phandle-array
     maxItems: 1
@@ -175,6 +181,7 @@ examples:
         imod-interval-ns = <10000>;
         mediatek,syscon-wakeup = <&pericfg 0x400 1>;
         wakeup-source;
+        mediatek,keep-clock-on;
         usb3-lpm-capable;
     };
 ...
-- 
1.7.9.5
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2020-11-06 11:11 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-02  7:18 [PATCH 1/2] dt-bindings: usb: mediatek,mtk-xhci: add keep-clock-on Macpaul Lin
2020-11-02  7:18 ` Macpaul Lin
2020-11-02  7:18 ` Macpaul Lin
2020-11-02  7:18 ` [PATCH 2/2] usb: host: XHCI: xhci-mtk.c: support mediatek, keep-clock-on Macpaul Lin
2020-11-02  7:18   ` Macpaul Lin
2020-11-02  7:18   ` [PATCH 2/2] usb: host: XHCI: xhci-mtk.c: support mediatek,keep-clock-on Macpaul Lin
2020-11-03  3:01 ` [PATCH 1/2] dt-bindings: usb: mediatek,mtk-xhci: add keep-clock-on Chunfeng Yun
2020-11-03  3:01   ` Chunfeng Yun
2020-11-03  3:01   ` Chunfeng Yun
2020-11-04 22:39 ` Rob Herring
2020-11-04 22:39   ` Rob Herring
2020-11-04 22:39   ` Rob Herring
2020-11-06  9:29   ` Macpaul Lin
2020-11-06  9:29     ` Macpaul Lin
2020-11-06  9:29     ` Macpaul Lin
2020-11-06  9:46 ` [PATCH v2 1/2] dt-bindings: usb: mediatek,mtk-xhci: add str-clock-on Macpaul Lin
2020-11-06  9:46   ` Macpaul Lin
2020-11-06  9:46   ` Macpaul Lin
2020-11-06  9:46   ` [PATCH v2 2/2] usb: host: XHCI: xhci-mtk.c: support mediatek, str-clock-on Macpaul Lin
2020-11-06  9:46     ` Macpaul Lin
2020-11-06  9:46     ` [PATCH v2 2/2] usb: host: XHCI: xhci-mtk.c: support mediatek,str-clock-on Macpaul Lin
2020-11-06  9:58   ` [PATCH v2 1/2] dt-bindings: usb: mediatek,mtk-xhci: add str-clock-on Macpaul Lin
2020-11-06  9:58     ` Macpaul Lin
2020-11-06  9:58     ` Macpaul Lin
2020-11-06 10:21 ` [PATCH v3 " Macpaul Lin
2020-11-06 10:21   ` Macpaul Lin
2020-11-06 10:21   ` Macpaul Lin
2020-11-06 10:21   ` [PATCH v3 2/2] usb: host: XHCI: xhci-mtk.c: support mediatek, str-clock-on Macpaul Lin
2020-11-06 10:21     ` Macpaul Lin
2020-11-06 10:21     ` [PATCH v3 2/2] usb: host: XHCI: xhci-mtk.c: support mediatek,str-clock-on Macpaul Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.