mediatek: backport upstream mediatek patches
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.14 / 0115-dt-bindings-usb-mtu3-remove-optional-pinctrls.patch
1 From df2f0d10213798a806c90bc06db6bed501e7bf7d Mon Sep 17 00:00:00 2001
2 From: Chunfeng Yun <chunfeng.yun@mediatek.com>
3 Date: Fri, 13 Oct 2017 17:10:49 +0800
4 Subject: [PATCH 115/224] dt-bindings: usb: mtu3: remove optional pinctrls
5
6 Remove optional pinctrls due to using FORCE/RG_IDDIG to implement
7 manual switch function.
8
9 Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
10 Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
11 ---
12 Documentation/devicetree/bindings/usb/mediatek,mtu3.txt | 7 ++++---
13 1 file changed, 4 insertions(+), 3 deletions(-)
14
15 diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
16 index 49c982bb5bfc..b2271d8e6b50 100644
17 --- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
18 +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
19 @@ -30,9 +30,10 @@ Optional properties:
20 when supports dual-role mode.
21 - vbus-supply : reference to the VBUS regulator, needed when supports
22 dual-role mode.
23 - - pinctl-names : a pinctrl state named "default" must be defined,
24 - "id_float" and "id_ground" are optinal which depends on
25 - "mediatek,enable-manual-drd"
26 + - pinctrl-names : a pinctrl state named "default" is optional, and need be
27 + defined if auto drd switch is enabled, that means the property dr_mode
28 + is set as "otg", and meanwhile the property "mediatek,enable-manual-drd"
29 + is not set.
30 - pinctrl-0 : pin control group
31 See: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
32
33 --
34 2.11.0
35