Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753185AbdLNNqH (ORCPT ); Thu, 14 Dec 2017 08:46:07 -0500 Received: from mail-bn3nam01on0074.outbound.protection.outlook.com ([104.47.33.74]:55568 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751078AbdLNNp7 (ORCPT ); Thu, 14 Dec 2017 08:45:59 -0500 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=bestguesspass action=none header.from=xilinx.com; From: Naga Sureshkumar Relli To: , , , , CC: , , , , , , Naga Sureshkumar Relli Subject: [PATCH v9 1/2] mtd: arasan: Add device tree binding documentation Date: Thu, 14 Dec 2017 19:14:44 +0530 Message-ID: <20171214134445.4985-2-nagasure@xilinx.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20171214134445.4985-1-nagasure@xilinx.com> References: <20171214134445.4985-1-nagasure@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23528.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(376002)(39860400002)(346002)(2980300002)(438002)(199004)(189003)(47776003)(305945005)(36756003)(77096006)(63266004)(106466001)(54906003)(16586007)(356003)(106002)(110136005)(7696005)(51416003)(2201001)(316002)(59450400001)(36386004)(76176011)(107886003)(2906002)(8936002)(81156014)(48376002)(9786002)(478600001)(5660300001)(8676002)(1076002)(81166006)(50226002)(6666003)(4326008)(50466002)(2950100002)(39060400002)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR02MB1342;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-60-83.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT003;1:Zvk+5o/LBsy7gb7bAzcFmEV7zhnUWU+b5x71eMLYAXLSQiU3leZ8BpcLhprLWex3BC3xrCZYUMAhepE1xHQ8HmV1hvV4RqTjlg/7JrXlSVrGT53CV+s3snCHA95e90bT MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 69e0ab74-5814-41fa-7391-08d542f8fff1 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307);SRVR:SN1PR02MB1342; X-Microsoft-Exchange-Diagnostics: 1;SN1PR02MB1342;3:TYx1fdaBQ3GGLqclCBs49BTuWItBcaZ7+l0rHeCrwc2CD5l6XZeO+LtuRJkPSMIGDEpdv2Yf9Ekj2FGDY8I52LqlfH0NzkZrQNBtKW5128R5Gm5MZxKlwB40sj9uO0E/Q5lEwWtt/9NGxR8cfu02pDXZosDQ4pPYMkDPcXRZec5pWZDJkFZ3Qh/fXTAUIst3GnJGwP7DiBNLltbZ6CIXUevNbCoZXaLIYH4cG1N1wNRiLomR477Zsrrl5SR91GyFwPiuQ53DoGJhoeF+BSN77iZXrBn9skeS+pDe6+hLSHhEPHWToRKo0ZzMhiTqcjkDE004YyIUZaFzpWXlCGUDLJ68DH0YPEPAwvy+otc6f10=;25:+7stK5ibZ3a0xmCdmal2kUxxDstywlGmvRiXV0jpqkD1lmPLMdOGvIA6ws9P013rQY8Kl2m6dF8pdjjjvGJajwz38qLxcOsuKonJ3dd1Dx5S3opsFaU2D58MkLX2sxRu+EVZLWSXpvpjTty9fxUw3hJu/aHqoVhbqwVXxnJEpTijXgf20oaq3RUdYFR8NBYKSDlgwuXndtL5oxtvfopZFb7xHo27LJkeDah9/8KPAkTwWymG4XAR7EzuGd/qBLL7JdOOaxz85shBXLQiM2zcjQ5USrbWra3y1/75CrI/irTanF99NSXaBB59k9GSxM1hWXOJVi+6jFP/iArAXDjB3w== X-MS-TrafficTypeDiagnostic: SN1PR02MB1342: X-Microsoft-Exchange-Diagnostics: 1;SN1PR02MB1342;31:d5C8VX4MslzQ/KvM+i9ekwGQI2xP22CWGWultjyimLWBAAvYumiwlIWFf1VrgsbggOO0zAqxqTjcCcXvF/ViHwhhJ954cePkPweF/2lK8lchd4euwMAHGgoH49PEMsdyZVoE3zQNhd8srQzM71vWTsPntJUrMvLx83nSPeDmWeZv3agRYD5tMDkIgFe9RXGrfvqdZOuAtobb1R8RKwLRiv178gHoWPorTWlhSfkUvK0=;20:fyCNOePitvQZWCs5gh+06TbmkYaElbv8S3GvLeOZYohL29ei2XzlY+3Q3YGDFGTDUofRpwP56kwZdXrEaF05A5xLtt6Tw9ckj2mL1LMQgx3L7eXfQ3ZZmkwtinuMcei62UAbi2Y1BxHX7XajxdE/Ye50OpMsO/Y8vYi1norutLTGEeIxizJDvupNIud+BL/+t3vkpLoUDAtviz3BT67gDabQgDaTxeiADlWJnnsuALlLc1WmzFjnPpvlutxlz33E5DuVETe9UT9VQtRByzSAt5LYX6gwmFseZqTjW/LVUQdDuIcy0UBwVVNV7pmmbxXOLUJs5TbAdpeimbX6k2FIJMPRnICzR86OdBbDFyM5Jz8yKlF981D4ho2g5d3v583dZb33ybPm8C2EH1yFzVkFfHMR7OuRsnPjwFf1nahj1JRDkJa4biuQqe0KnKIekKZQ085GVZlncvT4frogEwITr9OQ6Un0ELkBf9BUSZ05hWRFDouDC6F+EmSRId5wSYp1 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(93004095)(3231023)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123555025)(20161123558100)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:SN1PR02MB1342;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:SN1PR02MB1342; X-Microsoft-Exchange-Diagnostics: 1;SN1PR02MB1342;4:bdmHBKr8hacWzyWpz3EBHZal1oU/mFXA4nQcPmCTdvazCkceqJoAuDlLLv2KmSwD0xniqCPqJXHovt3sykijQ/CDf67SIzhUZ0CuhQEdi8I+7prcdu4akTtWGF/hoAso8W+sP9RZNKX1ktOtsWaaF4r5iHffnzpkSttv1vsN7hfFIh8rYOCtKPPylJX5pa+IHS/d5P1bairenqWAianJ4t9NJERGYNmNzHSVXMuEtp5mAi0qt6QH2bQfY7ngFrhOc/kosks8DyfOBEgHx2St8NtWIzR1nyllG1TDkGW+pjt/nWmksfCluDcwOyl1Xeeq X-Forefront-PRVS: 05214FD68E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR02MB1342;23:j8KBDsQiw/Oyjav9RNQSWQI7ucuwzLvu7t+y4h46U?= =?us-ascii?Q?E9Vw6EneVNcks1bSPsV6bImUzIc2Qe/K/eNXVD3MGegQOp5lSIUhzfw2AECU?= =?us-ascii?Q?sRe8EnwpgObwCeyOaSZGC+WaqjcSeuyiqSQO9Tqi5eudvkWq/XCdEFASkTQx?= =?us-ascii?Q?Wu4XE0ZkBRTJsnC50uHjF1vi2nMMSFQaf3Xj+5sOcHQ1bdyZEHdeTxGiaK5I?= =?us-ascii?Q?d5cc95vPblw94KteUxUXoWSsoXOII+3dlxaOZJ7nnAhUx96f0SbIznB71Qra?= =?us-ascii?Q?YEyxL3WxS+IZ56GCz1CAdEF7nH4cVHWC65VXKez4aeHT7SFuvWYs+XHNMKmS?= =?us-ascii?Q?LBEaiLshfsrFOK8tyWXeluQlsdaStvhH/SSvDEHL135jHLBFbSoN9fere8J2?= =?us-ascii?Q?o9fhey7EVQ79b40oFuVuu/mEL5CFz/h3PR+BsFPxx7+QolfXhXRlGwrIN+4n?= =?us-ascii?Q?wfMJmEwQU5IS/VV2BuPPW6TA8+H41mHtzAlx9F8zEAmJobbUgbZWjkO/rEas?= =?us-ascii?Q?mY8fmgtiS2EL3Ju9gVAxFcHa6zBvHmYoZFxYfTKGTBgDtmimKD/zNj3kRmew?= =?us-ascii?Q?VJr76xC2LxHCb9GovFZY2fpkwUS9knV8UfV5vL0T6nqIcW7HEKA0t6mdPSxl?= =?us-ascii?Q?numwjM075zZ16XqwFmTNjRexhnBM1GNa+bWDDVZAiSKK8LijTyXnbVKq80kG?= =?us-ascii?Q?LfsWZ0G6YvifVVfLsDjacMOCXhp7CHj0qRgTJhM9mve+wJLm2x3CFmvlD4kd?= =?us-ascii?Q?LE4Ooag1T6cRCvdTXCSnuyKHStljqf+QmEKtVk+TS/sdmlOTLtOf2MEm7YMO?= =?us-ascii?Q?sBCugcKguXYcbOXhHfgQeu8xRvBtMrsOsr8ChRj5sDb88n/5+yFWPWLHBHve?= =?us-ascii?Q?tQjDiftLqF7fR9NwJT+w+627YGDZYmd2LVdFquxcKf3Clucn15/ZLCYp7Yng?= =?us-ascii?Q?YOYZVU8WXl/w56QANAWDw/8BxHatCeIZZBcks7bLFZscykYkyu4O/fIOS2Kx?= =?us-ascii?Q?Ijbl1hzsFZpWqBKwotxW1d8oseVVF1xSIMHof5EOirq5A=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR02MB1342;6:MEMvJytHTOIRJZH2VjVy1PuVFHFhb1/65kxF/Kp0W1dlKW6efh2VdAObv4KvVgbFe2md/d7v7LacJYwsL8DrWvNs87t0zzp7fJacZY12kU+Qyyim8QETAAIqIMYLF000U+lWW+E5vFyr0rXKayHPGItuaGe0DTL9nDnQbQFrpME3vUvBpTD52zz+GEFV2uBJ+K/jSnW6MVLQn9CXNRFRAcaeCDqATlBjI4WG67efcE9Hy3FssmsaJp22AQWjg7rQOh6M8npqFK0CtujyrPXOhBb+5u/MV5aNoAYAv/EN+89ecTmMi5ZEawkW9PYBsai4XdFVUUujzAewGOdn1h3BLLlBluO+Q5uVYyHZ2bZf6bU=;5:pZ6eDT5Or4OLTsFMLIORB3aIDi1uPoix6O5g7IpaCcypTxxv2vTB+e6rOKJOxJez6cDqmLOIgsz2ig9qYgTGdVfRqhGVBXOSaM/vYVuZUrX1AXVhlCPVk5TuK0F7T8DUGrDnzlQGMkW5Tev0v2SxKjtuzG+RlFLLo5o1Y4QQeu4=;24:SJJZTB5t4D38t1Me9nTq3JLW1bklOdjC1/fAHMctM4WH0KP8aOUHgFkfi5Aex3ZBhywRTzpJ11IxBRcV9hvLP3LuTfkvnlu8tMGmBKY8bpw=;7:KP2vdfvNa2oka6gB7u5WqY3Nz98GZC/q77lmyoDT92h5XG3GIqqeM4ubJFGXLlGZrWnziSfTkpn9xHz3AnOjjBq/uYNkfC/SrbJzW1fc5QPKwCOrqPkptoKNgrkVyPHvGwsV4Cj3x74ub34bWQgm7m4uj/vaGxMWNaWoqhC+c9ctYSBY2UPFeEl9Ie/ujFc9HTX17JcbY6LmYioEC0opI4TfBi2jzZ/wc0QuoiCPRhSHYk/QCJ8UOOpjBl2WpB+w SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2017 13:45:55.2379 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 69e0ab74-5814-41fa-7391-08d542f8fff1 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1342 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2136 Lines: 75 This patch adds the dts binding document for arasan nand flash controller. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Punnaiah Choudary Kalluri --- Changes in v9: - None Changes in v8: - Updated compatible and clock-names as per Boris comments Changes in v7: - Corrected the acronyms those should be in caps changes in v6: - Removed num-cs property - Separated nandchip from nand controller changes in v5: - None Changes in v4: - Added num-cs property - Added clock support Changes in v3: - None Changes in v2: - None --- .../devicetree/bindings/mtd/arasan_nand.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/arasan_nand.txt diff --git a/Documentation/devicetree/bindings/mtd/arasan_nand.txt b/Documentation/devicetree/bindings/mtd/arasan_nand.txt new file mode 100644 index 000000000000..1a870153a909 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/arasan_nand.txt @@ -0,0 +1,38 @@ +Arasan NAND Flash Controller with ONFI 3.1 support + +Required properties: +- compatible: Should be "xlnx,zynqmp-nand" or "arasan,nfc-v3p10" +- reg: Memory map for module access +- interrupt-parent: Interrupt controller the interrupt is routed through +- interrupts: Should contain the interrupt for the device +- clock-name: List of input clocks - "sys", "flash" + (See clock bindings for details) +- clocks: Clock phandles (see clock bindings for details) + +Optional properties: +- arasan,has-mdma: Enables DMA support + +For NAND partition information please refer the below file +Documentation/devicetree/bindings/mtd/partition.txt + +Example: + nand0: nand@ff100000 { + compatible = "xlnx,zynqmp-nand", "arasan,nfc-v3p10" + reg = <0x0 0xff100000 0x1000>; + clock-name = "sys", "flash" + clocks = <&misc_clk &misc_clk>; + interrupt-parent = <&gic>; + interrupts = <0 14 4>; + arasan,has-mdma; + #address-cells = <1>; + #size-cells = <0> + + nand@0 { + reg = <0> + partition@0 { + label = "filesystem"; + reg = <0x0 0x0 0x1000000>; + }; + (...) + }; + }; -- 2.13.0