mediatek: backport upstream mediatek patches
[openwrt/staging/blogic.git] / target / linux / mediatek / patches-4.14 / 0165-mtd-nand-mtk-update-DT-bindings.patch
diff --git a/target/linux/mediatek/patches-4.14/0165-mtd-nand-mtk-update-DT-bindings.patch b/target/linux/mediatek/patches-4.14/0165-mtd-nand-mtk-update-DT-bindings.patch
new file mode 100644 (file)
index 0000000..d60383e
--- /dev/null
@@ -0,0 +1,46 @@
+From 42611c6d9f12d16ce4247d76b16218e54ef5b949 Mon Sep 17 00:00:00 2001
+From: RogerCC Lin <rogercc.lin@mediatek.com>
+Date: Thu, 30 Nov 2017 22:10:43 +0800
+Subject: [PATCH 165/224] mtd: nand: mtk: update DT bindings
+
+Add MT7622 NAND Flash Controller dt bindings documentation.
+
+Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com>
+Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
+Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
+---
+ Documentation/devicetree/bindings/mtd/mtk-nand.txt | 11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/Documentation/devicetree/bindings/mtd/mtk-nand.txt b/Documentation/devicetree/bindings/mtd/mtk-nand.txt
+index dbf9e054c11c..0025bc4c94a0 100644
+--- a/Documentation/devicetree/bindings/mtd/mtk-nand.txt
++++ b/Documentation/devicetree/bindings/mtd/mtk-nand.txt
+@@ -12,8 +12,10 @@ tree nodes.
+ The first part of NFC is NAND Controller Interface (NFI) HW.
+ Required NFI properties:
+-- compatible:                 Should be one of "mediatek,mt2701-nfc",
+-                              "mediatek,mt2712-nfc".
++- compatible:                 Should be one of
++                              "mediatek,mt2701-nfc",
++                              "mediatek,mt2712-nfc",
++                              "mediatek,mt7622-nfc".
+ - reg:                                Base physical address and size of NFI.
+ - interrupts:                 Interrupts of NFI.
+ - clocks:                     NFI required clocks.
+@@ -142,7 +144,10 @@ Example:
+ ==============
+ Required BCH properties:
+-- compatible: Should be one of "mediatek,mt2701-ecc", "mediatek,mt2712-ecc".
++- compatible: Should be one of
++              "mediatek,mt2701-ecc",
++              "mediatek,mt2712-ecc",
++              "mediatek,mt7622-ecc".
+ - reg:                Base physical address and size of ECC.
+ - interrupts: Interrupts of ECC.
+ - clocks:     ECC required clocks.
+-- 
+2.11.0
+