mediatek: backport upstream mediatek patches
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.14 / 0165-mtd-nand-mtk-update-DT-bindings.patch
1 From 42611c6d9f12d16ce4247d76b16218e54ef5b949 Mon Sep 17 00:00:00 2001
2 From: RogerCC Lin <rogercc.lin@mediatek.com>
3 Date: Thu, 30 Nov 2017 22:10:43 +0800
4 Subject: [PATCH 165/224] mtd: nand: mtk: update DT bindings
5
6 Add MT7622 NAND Flash Controller dt bindings documentation.
7
8 Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com>
9 Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
10 Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
11 ---
12 Documentation/devicetree/bindings/mtd/mtk-nand.txt | 11 ++++++++---
13 1 file changed, 8 insertions(+), 3 deletions(-)
14
15 diff --git a/Documentation/devicetree/bindings/mtd/mtk-nand.txt b/Documentation/devicetree/bindings/mtd/mtk-nand.txt
16 index dbf9e054c11c..0025bc4c94a0 100644
17 --- a/Documentation/devicetree/bindings/mtd/mtk-nand.txt
18 +++ b/Documentation/devicetree/bindings/mtd/mtk-nand.txt
19 @@ -12,8 +12,10 @@ tree nodes.
20
21 The first part of NFC is NAND Controller Interface (NFI) HW.
22 Required NFI properties:
23 -- compatible: Should be one of "mediatek,mt2701-nfc",
24 - "mediatek,mt2712-nfc".
25 +- compatible: Should be one of
26 + "mediatek,mt2701-nfc",
27 + "mediatek,mt2712-nfc",
28 + "mediatek,mt7622-nfc".
29 - reg: Base physical address and size of NFI.
30 - interrupts: Interrupts of NFI.
31 - clocks: NFI required clocks.
32 @@ -142,7 +144,10 @@ Example:
33 ==============
34
35 Required BCH properties:
36 -- compatible: Should be one of "mediatek,mt2701-ecc", "mediatek,mt2712-ecc".
37 +- compatible: Should be one of
38 + "mediatek,mt2701-ecc",
39 + "mediatek,mt2712-ecc",
40 + "mediatek,mt7622-ecc".
41 - reg: Base physical address and size of ECC.
42 - interrupts: Interrupts of ECC.
43 - clocks: ECC required clocks.
44 --
45 2.11.0
46