kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297)
[oweals/openwrt.git] / target / linux / mediatek / patches-4.14 / 0135-dt-bindings-mtd-add-new-compatible-strings-and-impro.patch
1 From 2af9a8582cb28e786a8cbd913f41e6db9adcf3dc Mon Sep 17 00:00:00 2001
2 From: Guochun Mao <guochun.mao@mediatek.com>
3 Date: Thu, 21 Sep 2017 20:45:05 +0800
4 Subject: [PATCH 135/224] dt-bindings: mtd: add new compatible strings and
5  improve description
6
7 Add "mediatak,mt2712-nor" and "mediatek,mt7622-nor"
8 for nor flash node's compatible strings.
9 Explicate the fallback compatible.
10
11 Acked-by: Rob Herring <robh@kernel.org>
12 Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
13 Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
14 ---
15  Documentation/devicetree/bindings/mtd/mtk-quadspi.txt | 15 +++++++++------
16  1 file changed, 9 insertions(+), 6 deletions(-)
17
18 --- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
19 +++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
20 @@ -1,13 +1,16 @@
21  * Serial NOR flash controller for MTK MT81xx (and similar)
22  
23  Required properties:
24 -- compatible:    The possible values are:
25 -                 "mediatek,mt2701-nor"
26 -                 "mediatek,mt7623-nor"
27 +- compatible:    For mt8173, compatible should be "mediatek,mt8173-nor",
28 +                 and it's the fallback compatible for other Soc.
29 +                 For every other SoC, should contain both the SoC-specific compatible
30 +                 string and "mediatek,mt8173-nor".
31 +                 The possible values are:
32 +                 "mediatek,mt2701-nor", "mediatek,mt8173-nor"
33 +                 "mediatek,mt2712-nor", "mediatek,mt8173-nor"
34 +                 "mediatek,mt7622-nor", "mediatek,mt8173-nor"
35 +                 "mediatek,mt7623-nor", "mediatek,mt8173-nor"
36                   "mediatek,mt8173-nor"
37 -                 For mt8173, compatible should be "mediatek,mt8173-nor".
38 -                 For every other SoC, should contain both the SoC-specific compatible string
39 -                 and "mediatek,mt8173-nor".
40  - reg:                   physical base address and length of the controller's register
41  - clocks:        the phandle of the clocks needed by the nor controller
42  - clock-names:           the names of the clocks