71e44b31f666b043e93812d1364f3428ef2af79f
[openwrt/staging/chunkeey.git] / target / linux / mediatek / patches-4.14 / 0114-dt-bindings-usb-mtu3-remove-dummy-clocks-and-add-opt.patch
1 From 2c90367440a0dbf9962e7a7f701b0e7a320d325a Mon Sep 17 00:00:00 2001
2 From: Chunfeng Yun <chunfeng.yun@mediatek.com>
3 Date: Fri, 13 Oct 2017 17:10:48 +0800
4 Subject: [PATCH 114/224] dt-bindings: usb: mtu3: remove dummy clocks and add
5 optional ones
6
7 Remove dummy clocks for usb wakeup and add optional ones for
8 mcu_bus and dma_bus bus.
9
10 Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
11 Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
12 ---
13 Documentation/devicetree/bindings/usb/mediatek,mtu3.txt | 10 ++++------
14 1 file changed, 4 insertions(+), 6 deletions(-)
15
16 diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
17 index 7c611d14a0a0..49c982bb5bfc 100644
18 --- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
19 +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
20 @@ -14,9 +14,9 @@ Required properties:
21 - vusb33-supply : regulator of USB avdd3.3v
22 - clocks : a list of phandle + clock-specifier pairs, one for each
23 entry in clock-names
24 - - clock-names : must contain "sys_ck" and "ref_ck" for clock of controller;
25 - "wakeup_deb_p0" and "wakeup_deb_p1" are optional, they are
26 - depends on "mediatek,enable-wakeup"
27 + - clock-names : must contain "sys_ck" for clock of controller,
28 + the following clocks are optional:
29 + "ref_ck", "mcu_ck" and "dam_ck";
30 - phys : a list of phandle + phy specifier pairs
31 - dr_mode : should be one of "host", "peripheral" or "otg",
32 refer to usb/generic.txt
33 @@ -65,9 +65,7 @@ ssusb: usb@11271000 {
34 clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>,
35 <&pericfg CLK_PERI_USB0>,
36 <&pericfg CLK_PERI_USB1>;
37 - clock-names = "sys_ck", "ref_ck",
38 - "wakeup_deb_p0",
39 - "wakeup_deb_p1";
40 + clock-names = "sys_ck", "ref_ck";
41 vusb33-supply = <&mt6397_vusb_reg>;
42 vbus-supply = <&usb_p0_vbus>;
43 extcon = <&extcon_usb>;
44 --
45 2.11.0
46