kernel: bump 4.14 to 4.14.44
[openwrt/staging/lynxis.git] / target / linux / mediatek / patches-4.14 / 0134-dt-bindings-usb-mtk-xhci-remove-dummy-clocks-and-add.patch
1 From a96468412cac8abd66667c322fbcda756cc3abc9 Mon Sep 17 00:00:00 2001
2 From: Chunfeng Yun <chunfeng.yun@mediatek.com>
3 Date: Fri, 13 Oct 2017 16:26:41 +0800
4 Subject: [PATCH 134/224] dt-bindings: usb: mtk-xhci: remove dummy clocks and
5 add optional ones
6
7 Remove dummy clocks for usb wakeup and add optional ones for
8 MCU_BUS_CK and DMA_BUS_CK.
9
10 Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
11 Acked-by: Rob Herring <robh@kernel.org>
12 Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
13 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 ---
15 .../devicetree/bindings/usb/mediatek,mtk-xhci.txt | 18 ++++++++----------
16 1 file changed, 8 insertions(+), 10 deletions(-)
17
18 --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt
19 +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt
20 @@ -26,10 +26,11 @@ Required properties:
21 - clocks : a list of phandle + clock-specifier pairs, one for each
22 entry in clock-names
23 - clock-names : must contain
24 - "sys_ck": for clock of xHCI MAC
25 - "ref_ck": for reference clock of xHCI MAC
26 - "wakeup_deb_p0": for USB wakeup debounce clock of port0
27 - "wakeup_deb_p1": for USB wakeup debounce clock of port1
28 + "sys_ck": controller clock used by normal mode,
29 + the following ones are optional:
30 + "ref_ck": reference clock used by low power mode etc,
31 + "mcu_ck": mcu_bus clock for register access,
32 + "dma_ck": dma_bus clock for data transfer by DMA
33
34 - phys : a list of phandle + phy specifier pairs
35
36 @@ -57,9 +58,7 @@ usb30: usb@11270000 {
37 clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>,
38 <&pericfg CLK_PERI_USB0>,
39 <&pericfg CLK_PERI_USB1>;
40 - clock-names = "sys_ck", "ref_ck",
41 - "wakeup_deb_p0",
42 - "wakeup_deb_p1";
43 + clock-names = "sys_ck", "ref_ck";
44 phys = <&phy_port0 PHY_TYPE_USB3>,
45 <&phy_port1 PHY_TYPE_USB2>;
46 vusb33-supply = <&mt6397_vusb_reg>;
47 @@ -91,9 +90,8 @@ Required properties:
48
49 - clocks : a list of phandle + clock-specifier pairs, one for each
50 entry in clock-names
51 - - clock-names : must be
52 - "sys_ck": for clock of xHCI MAC
53 - "ref_ck": for reference clock of xHCI MAC
54 + - clock-names : must contain "sys_ck", and the following ones are optional:
55 + "ref_ck", "mcu_ck" and "dma_ck"
56
57 Optional properties:
58 - vbus-supply : reference to the VBUS regulator;