kernel: update 4.1 to 4.1.13
[openwrt/staging/chunkeey.git] / target / linux / mediatek / patches / 0048-dt-bindings-mediatek-Modify-pinctrl-bindings-for-mt6.patch
1 From 69b78182d6d7777153323abe3cff8e533ca01143 Mon Sep 17 00:00:00 2001
2 From: Hongzhou Yang <hongzhou.yang@mediatek.com>
3 Date: Mon, 18 May 2015 23:11:12 -0700
4 Subject: [PATCH 48/76] dt-bindings: mediatek: Modify pinctrl bindings for
5 mt6397.
6
7 Since 6397 is no need to support interrupt controller,
8 moving interrupt controller relate property to optional list.
9 Also adding mt8173 and mt8127 to bindings.
10
11 Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
12 ---
13 Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt | 9 +++++++--
14 1 file changed, 7 insertions(+), 2 deletions(-)
15
16 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt
17 +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt
18 @@ -3,9 +3,11 @@
19 The Mediatek's Pin controller is used to control SoC pins.
20
21 Required properties:
22 -- compatible: value should be either of the following.
23 +- compatible: value should be one of the following.
24 (a) "mediatek,mt8135-pinctrl", compatible with mt8135 pinctrl.
25 -- mediatek,pctl-regmap: Should be a phandle of the syscfg node.
26 + (b) "mediatek,mt8173-pinctrl", compatible with mt8173 pinctrl.
27 + (c) "mediatek,mt6397-pinctrl", compatible with mt6397 pinctrl.
28 + (d) "mediatek,mt8127-pinctrl", compatible with mt8127 pinctrl.
29 - pins-are-numbered: Specify the subnodes are using numbered pinmux to
30 specify pins.
31 - gpio-controller : Marks the device node as a gpio controller.
32 @@ -24,6 +26,9 @@ Required properties:
33 Only the following flags are supported:
34 0 - GPIO_ACTIVE_HIGH
35 1 - GPIO_ACTIVE_LOW
36 +
37 +Optional properties:
38 +- mediatek,pctl-regmap: Should be a phandle of the syscfg node.
39 - reg: physicall address base for EINT registers
40 - interrupt-controller: Marks the device node as an interrupt controller
41 - #interrupt-cells: Should be two.