aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-4.14/0165-mtd-nand-mtk-update-DT-bindings.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-05-07 12:07:32 +0200
committerJohn Crispin <john@phrozen.org>2018-06-18 21:21:53 +0200
commitda8fc1511fc83f6ba2cf0e1e1feadbe1b9b58f4d (patch)
treec8093d2f8d65636ed5a6e9b89fb68844b5ffdbc8 /target/linux/mediatek/patches-4.14/0165-mtd-nand-mtk-update-DT-bindings.patch
parent763c0473c8137b236b6d7504b1c6df3d48f90ea4 (diff)
downloadupstream-da8fc1511fc83f6ba2cf0e1e1feadbe1b9b58f4d.tar.gz
upstream-da8fc1511fc83f6ba2cf0e1e1feadbe1b9b58f4d.tar.bz2
upstream-da8fc1511fc83f6ba2cf0e1e1feadbe1b9b58f4d.zip
mediatek: backport upstream mediatek patches
Signed-off-by: John Crispin <john@phrozen.org> (cherry picked from commit 050da2107a7eb2a571a8a3d0cee21cc6a44b72b8)
Diffstat (limited to 'target/linux/mediatek/patches-4.14/0165-mtd-nand-mtk-update-DT-bindings.patch')
-rw-r--r--target/linux/mediatek/patches-4.14/0165-mtd-nand-mtk-update-DT-bindings.patch46
1 files changed, 46 insertions, 0 deletions
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
index 0000000000..d60383eadd
--- /dev/null
+++ b/target/linux/mediatek/patches-4.14/0165-mtd-nand-mtk-update-DT-bindings.patch
@@ -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
+