Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751574AbdLNHuH (ORCPT ); Thu, 14 Dec 2017 02:50:07 -0500 Received: from mail-dm3nam03on0083.outbound.protection.outlook.com ([104.47.41.83]:54428 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750808AbdLNHuD (ORCPT ); Thu, 14 Dec 2017 02:50:03 -0500 Authentication-Results: spf=pass (sender IP is 149.199.60.100) 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: , , , , , Subject: [PATCH v8 1/2] mtd: arasan: Add device tree binding documentation Date: Thu, 14 Dec 2017 13:19:05 +0530 Message-ID: <20171214074906.2147-2-nagasure@xilinx.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20171214074906.2147-1-nagasure@xilinx.com> References: <20171214074906.2147-1-nagasure@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23526.005 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.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(346002)(396003)(376002)(39860400002)(2980300002)(438002)(189003)(199004)(81166006)(77096006)(5660300001)(2906002)(356003)(63266004)(8676002)(50226002)(7696005)(81156014)(110136005)(36756003)(106466001)(54906003)(39060400002)(2201001)(51416003)(106002)(16586007)(76176011)(9786002)(316002)(305945005)(2950100002)(478600001)(36386004)(1076002)(48376002)(50466002)(47776003)(8936002)(6666003)(59450400001)(4326008)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR02MB3386;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT026;1:X1HDc4eHKtLQqOdu9oxTeoKkEnI6o49j3gvws6cwq5IaFMSwUhvyiwz5zrOMBM9c6aPxOGG9AQmkd6T+b3zE7MgdLJLR5tv7ywx3ZdwyJMeBJ5nhX/dsZ4y3IuGNABiA MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4ac67fe3-ceea-446f-6cb8-08d542c74697 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307);SRVR:DM5PR02MB3386; X-Microsoft-Exchange-Diagnostics: 1;DM5PR02MB3386;3:+ekB5FSS1XlxizeMTZtzhhFptx3WSLztHQyyk3ue/5ZAPO6LXsE8md/l8n3vBggAy0WjEvGaLXL1s2IbWCRDVPyVpZ9R2i++MMJgPZOw68UXFIWpUZIzUAJxJj4YHtqFntXccVclTh/bkqiHcyJyaO7Ssq/TcoGmG2DxBooH8Ws8H/vwZnOTz0Mtkgmf72gE+f5CtpotHlFv2XerMovEXv2CTvSmgDTkaYc23PPfk0AViAa4OoTb6Smhg1bmNkeG64uRzWmRr0XIHSjzRQ6F3rERA9J6Fx/3+VmSSzOWTkt1wziBfQxG2ua1ZO1RmPrtPRO8mPtp4I+xnK3lN/WhWCUzqV+Ptvjjz9/d6pP06O0=;25:PNY2Itk2TBtTGEX1JlB55CAzlgAoYPcaCSVMjIoV68CEFmERK1Sok8nnD+MX7VVC6vlsJEniX0D5r9pZAMgDmdYq8Dm59qGVuzfxKBJSC1fiUSL9557rq+b2I2DNn5TBVX6stOZwz8foOlo0nCl0f86poNeYGAgLZQXZQW6OlTCocbv0ddZLcNR5niHAMWeQVWSJYdqYkOUafC21rNf5QdTwZII5tyfEghkdZQoZJTUs8QDp6kRB8GXi9iKsU7t02COLA2HRAGhBZlSFvkcXBrl+DOEyDvtvgspOfsK82sWC/rmH1aMcCAObs+2RhR+cNJ48Pd+J5+0CwP/K2THpQA== X-MS-TrafficTypeDiagnostic: DM5PR02MB3386: X-Microsoft-Exchange-Diagnostics: 1;DM5PR02MB3386;31:QPoAxGvdJ43lCScP8EUNuTDPRQJeh1pw/coknTD5H2WgXvxJ1bo0xUo0ckD2Lq7xhTlAGLuQbiPe6jAtIcmizDaG7qCt80Xr6tcDFBLH6mRLyozCoBKTcQoJB0dHEuvdZATxD9SrbjO6RyLT1QkEt9Xev0PjT1HXYVr/tQE3/xLU65jTr78wNpW52Vj884W66/SoiQsBlwYK0O2fmS30gTK1BEpH6BAgzBpCUWW46DQ=;20:ecF2KSMmRUEYZl6jZOF0+m0I5+RJR2JQS0bDqKcRls3/vgehEqQPspDAsFr5yF3Ftg111uRsmMzUl8kXGQQNTf9ZRMXkwGuRc7SLxRcgW1xuepmM3jGlE99clziaZJQ1kY2joN5TMwedGQsp06FNQfGdpq1CijrhjjhgqVwfiq/L0JNSlMYK4h3jiInO6F0+81P2bWjv7GLffeyzESEUCDVBAepCBfgI/ELmFg9ghZEIIBVA0qw7uixZaAlb35zWsHPQXCVYhgqEwu+uA7CCc694C/LS30HNXJfMgoBsTvq8+2ggNbZYFU1Nbyr/+WJtgOv+MSex+T659V5A12MEvU3pEvS3R2qst34fhy/YvdOiklxXxRwRgaxZR/jjZu1zl9IdMxp3w25eGy930cN94++LaGNNXV23vMFlyIgfGSZN8QRT0zeXNf6dhJ42vcb2OOc/RlwFbXURQA2EWx0QBGgrPgQTTo11BM5IaWfixL5u3tGrZkpJecJBwHcLkWNF X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93004095)(3231023)(10201501046)(3002001)(6055026)(6041248)(20161123562025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(6072148)(201708071742011);SRVR:DM5PR02MB3386;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DM5PR02MB3386; X-Microsoft-Exchange-Diagnostics: 1;DM5PR02MB3386;4:S53FzLOQRq2dw4O7ZEOFD0O1VqOjlJxUz+l6dbCONAdcd+yXlgo1DisQpSCuwIuXgv6N8yKFyxbD2xnMcVKyOXbtwF7P6GP7kC5hT6bMbyczA2d4V7KtjM0jETFBaS5mzeENI8YAJ7+wcw8aUTMtfJaKJ0BNBxaRgAYUVEl0Pr6h8UQlOGeTa4az3NFNOwLYQFVvNkcQsrNAWNjg5zbJl1s43sGarA/si5xFM29XKpnpiUtnxBdCgNJG7VH28tv9ZvQQ6OKBfeIJueyY9Ae2YBeKKQSGVkDDTc4o0K/bF5bcPEF6xCdIZEMb8yEog1BO X-Forefront-PRVS: 05214FD68E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR02MB3386;23:ew0iLoP1Xn/b/rLIGNLDrfvXFmxgQydMtRSmBJT//?= =?us-ascii?Q?S8778Ht0SI9HbEh+corggak3Hu0DNIoTJaVhbyvaibeKBLQoCUk0Kng+Pv2n?= =?us-ascii?Q?wyh2sGm9kCBHuNS8IW0HrtsvZ7GASxVOFB9fQK69DXa4XqIwL4eQRQ8/sUY6?= =?us-ascii?Q?T3x9KfSQU3FoEsoPAMRv7j1lPDsq52Px5Qa8wjEpK6M5I7bmBYFX0s7Ilooi?= =?us-ascii?Q?MLSxMD9KQ/FAiWlYJKD+81kpcs2H10/EjqpVvTfELrpXuoLcDdiLDSpdZxNz?= =?us-ascii?Q?aKLxBrSA4Vrho8mRBPjPh6BFFWykJSCiPShpw4iL54cCB1jCM4O+ujYyY2SV?= =?us-ascii?Q?UwZDYNWPs7aO93kZi4h9X/JNwbTHwzaSBgxkaRoBBpOFp7woP2R5SqFj5+kV?= =?us-ascii?Q?2CaF0HZDBRA8+9mtNZHH1B78OSO12N6N0eeKbqhH1NPI0UjLNmylY7AOpP+e?= =?us-ascii?Q?+4YpYzwuEP5DEHPha0zLs3rqcZ5iDe155jG6IUlL4KE6sdWc61OfoEb+vPYd?= =?us-ascii?Q?uWeKdcL0YV0fL7V1WPz69DvpkBlR7SzF6tHm56rlilwYMpmE+weUZ7RRk52w?= =?us-ascii?Q?uUkdG456MVRX6R1yc4dKL629/RKnfxbot36EPTfmcVYCmZlh4aO6CDv8TNoL?= =?us-ascii?Q?MmhulqkwIP2a2IDEUxib8ecBf3+C6M+s2xAjrZ703K01OM06dGDwG/C2YClV?= =?us-ascii?Q?6WEu9uWeD5nE3uq3o8UBEa8XT4+v8hLaokjdhzqH176nCsns4oBBlkghLFxq?= =?us-ascii?Q?3vp6ERSstd1PchLZ/wm24gKNwPqmLLGKhLC4/u6TK9Ntsqu3v7YEQeG6/uQO?= =?us-ascii?Q?EPEZNZumdpDsWQslxOXjBnXgzAbadVR2O0hyhg80DRA/TAizPs9YVk7kBNGj?= =?us-ascii?Q?FSC5YOyE/AMtk8bIGBh3FkK40p+V2o44VmzhxVP0P1ABFcRqvVazJKs8YSH5?= =?us-ascii?Q?+P+Wi7v5X0PNnTn8iZNBLFOcWxPJabDUUU2OlCaffB6ARLemwCvoP0jb/Nbn?= =?us-ascii?Q?WCWxkwSJd1q4eWlaOA432lzr0oldC4VH64aQaDEImOYuKyoOG27h8cfOZl9X?= =?us-ascii?Q?bvRFpE=3D?= X-Microsoft-Exchange-Diagnostics: 1;DM5PR02MB3386;6:rif4AszIj2KuCCRW+M+AK/Snau6rWaYU7RbSjPMnNAJ83i2aSLwzqXdy1/esGVEeTkwpOBHc0gS9BOhJ7ydqVTZpNQmUbNVrs36xgnD7gReRbIK3svulRXzznJPGHN2HjfbHqsoKC4tZp+2kuFo9GzMU24qiCpDF8fZpqY9SRwJaLVZVs5YE5zqorALSAvlicz4zzqid92ixL6M3FTldbXlx+HBYGlyIHMFnDDIMK6nYx3igDQXGAlvilO/TkaJXn5JDv0RuxXTmcoD0L4n7V+YQFn7ttEJ6KS0rd2aDq/JEEQ4S9PuNfnTRBYI2hj9WFyIxpf9TV1nEJFRI9z4Xv3JxBQkasAYXsfaBLQ6vvfg=;5:oJDqJ98IbQD26FpYiL4sWSl/ackgAVKk8vbINlOcP5OGXKchkO3UirkMt3a9rnFCzmSB2U3fCyyF9qvh8Vs4/moGa+GQ5dBurldA8M+WrHPLOKZeIJxzGWsrFziA7fx7bzFzlDpU5YOtyjlHzSGj398nN0oZBqdrzjh1R7b22to=;24:7iKTCiQyrjniRzEAShBKnQJDe/3U14ENHMusy+cMDZFTWytnduuKkaFe2vnzlFtFuC/rZKXH/OyPDFxG46x4WYCAt25+XEMqw5oURDZ3IEk=;7:XI7HvUSVLiqCwti2LMx8DMW73ArEiMg0cr6IqjPeOcoTb8POghZZhQJuHq/5a79AKBE2pvSN+vh9JvwizypOXSXSIOATsnm/w1K48BRGE+LcqcQGxX7GNReAq7kC0KqqbpLfr4mXfXeIrCewXndTSwr54hT2zvjKM80+bIvUZurjvTLB+AZ4lfCW1GvTyxO47xx8Ru+g7jcyhJx0esJOQI1FSXlnspSqQ+G2Sj54DP1UYImaonKLHidYUl+uAcvi SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2017 07:49:55.9921 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4ac67fe3-ceea-446f-6cb8-08d542c74697 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.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB3386 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2114 Lines: 73 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 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