OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From bbbbdd36c7311a786d7392f2394b355b1f78cf8b Mon Sep 17 00:00:00 2001 |
2 | From: Chunfeng Yun <chunfeng.yun@mediatek.com> |
||
3 | Date: Wed, 3 Jan 2018 16:53:21 +0800 |
||
4 | Subject: [PATCH 192/224] dt-bindings: usb: mtk-xhci: update USB wakeup |
||
5 | properties |
||
6 | |||
7 | Add two arguments in "mediatek,syscon-wakeup" to support multi |
||
8 | wakeup glue layer between SSUSB and SPM, and use standard property |
||
9 | "wakeup-source" to replace the private "mediatek,wakeup-src" |
||
10 | |||
11 | Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> |
||
12 | Reviewed-by: Rob Herring <robh@kernel.org> |
||
13 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
14 | --- |
||
15 | .../devicetree/bindings/usb/mediatek,mtk-xhci.txt | 16 ++++++++++------ |
||
16 | 1 file changed, 10 insertions(+), 6 deletions(-) |
||
17 | |||
18 | --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt |
||
19 | +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt |
||
20 | @@ -35,10 +35,14 @@ Required properties: |
||
21 | - phys : a list of phandle + phy specifier pairs |
||
22 | |||
23 | Optional properties: |
||
24 | - - mediatek,wakeup-src : 1: ip sleep wakeup mode; 2: line state wakeup |
||
25 | - mode; |
||
26 | - - mediatek,syscon-wakeup : phandle to syscon used to access USB wakeup |
||
27 | - control register, it depends on "mediatek,wakeup-src". |
||
28 | + - wakeup-source : enable USB remote wakeup; |
||
29 | + - mediatek,syscon-wakeup : phandle to syscon used to access the register |
||
30 | + of the USB wakeup glue layer between xHCI and SPM; it depends on |
||
31 | + "wakeup-source", and has two arguments: |
||
32 | + - the first one : register base address of the glue layer in syscon; |
||
33 | + - the second one : hardware version of the glue layer |
||
34 | + - 1 : used by mt8173 etc |
||
35 | + - 2 : used by mt2712 etc |
||
36 | - mediatek,u3p-dis-msk : mask to disable u3ports, bit0 for u3port0, |
||
37 | bit1 for u3port1, ... etc; |
||
38 | - vbus-supply : reference to the VBUS regulator; |
||
39 | @@ -65,8 +69,8 @@ usb30: usb@11270000 { |
||
40 | vusb33-supply = <&mt6397_vusb_reg>; |
||
41 | vbus-supply = <&usb_p1_vbus>; |
||
42 | usb3-lpm-capable; |
||
43 | - mediatek,syscon-wakeup = <&pericfg>; |
||
44 | - mediatek,wakeup-src = <1>; |
||
45 | + mediatek,syscon-wakeup = <&pericfg 0x400 1>; |
||
46 | + wakeup-source; |
||
47 | imod-interval-ns = <10000>; |
||
48 | }; |
||
49 |