Commit ff17d328 authored by Chunfeng Yun's avatar Chunfeng Yun Committed by Greg Kroah-Hartman

dt-bindings: usb: mtk-xhci: update USB wakeup properties

Add two arguments in "mediatek,syscon-wakeup" to support multi
wakeup glue layer between SSUSB and SPM, and use standard property
"wakeup-source" to replace the private "mediatek,wakeup-src"
Signed-off-by: default avatarChunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a2ecc4df
...@@ -35,10 +35,14 @@ Required properties: ...@@ -35,10 +35,14 @@ Required properties:
- phys : a list of phandle + phy specifier pairs - phys : a list of phandle + phy specifier pairs
Optional properties: Optional properties:
- mediatek,wakeup-src : 1: ip sleep wakeup mode; 2: line state wakeup - wakeup-source : enable USB remote wakeup;
mode; - mediatek,syscon-wakeup : phandle to syscon used to access the register
- mediatek,syscon-wakeup : phandle to syscon used to access USB wakeup of the USB wakeup glue layer between xHCI and SPM; it depends on
control register, it depends on "mediatek,wakeup-src". "wakeup-source", and has two arguments:
- the first one : register base address of the glue layer in syscon;
- the second one : hardware version of the glue layer
- 1 : used by mt8173 etc
- 2 : used by mt2712 etc
- mediatek,u3p-dis-msk : mask to disable u3ports, bit0 for u3port0, - mediatek,u3p-dis-msk : mask to disable u3ports, bit0 for u3port0,
bit1 for u3port1, ... etc; bit1 for u3port1, ... etc;
- vbus-supply : reference to the VBUS regulator; - vbus-supply : reference to the VBUS regulator;
...@@ -65,8 +69,8 @@ usb30: usb@11270000 { ...@@ -65,8 +69,8 @@ usb30: usb@11270000 {
vusb33-supply = <&mt6397_vusb_reg>; vusb33-supply = <&mt6397_vusb_reg>;
vbus-supply = <&usb_p1_vbus>; vbus-supply = <&usb_p1_vbus>;
usb3-lpm-capable; usb3-lpm-capable;
mediatek,syscon-wakeup = <&pericfg>; mediatek,syscon-wakeup = <&pericfg 0x400 1>;
mediatek,wakeup-src = <1>; wakeup-source;
imod-interval-ns = <10000>; imod-interval-ns = <10000>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment