Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751494AbcLEHqp (ORCPT ); Mon, 5 Dec 2016 02:46:45 -0500 Received: from mail-sn1nam02on0089.outbound.protection.outlook.com ([104.47.36.89]:64928 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750785AbcLEHql (ORCPT ); Mon, 5 Dec 2016 02:46:41 -0500 X-Greylist: delayed 11991 seconds by postgrey-1.27 at vger.kernel.org; Mon, 05 Dec 2016 02:46:40 EST Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:1862;Count:16 From: Punnaiah Choudary Kalluri To: , , , , , , , CC: , , , , , , "Punnaiah Choudary Kalluri" Subject: [PATCH v6 1/2] mtd: arasan: Add device tree binding documentation Date: Mon, 5 Dec 2016 09:41:05 +0530 Message-ID: <1480911066-26157-1-git-send-email-punnaia@xilinx.com> X-Mailer: git-send-email 2.1.1 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22740.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-IncomingHeaderCount: 16 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)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(7416002)(63266004)(39450400002)(4001430100002)(50226002)(92566002)(189998001)(36756003)(8676002)(81166006)(81156014)(103686003)(106466001)(8936002)(305945005)(356003)(50986999)(7846002)(39850400001)(5003940100001)(39860400001)(39840400001)(90966002)(5660300001)(42186005)(626004)(2201001)(38730400001)(39060400001)(39410400001)(107886002)(33646002)(4326007)(46386002)(36386004)(45336002)(5001770100001)(47776003)(48376002)(2906002)(50466002)(52956003)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR02MB1202;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-60-83.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT022;1:BFC8KvUFtojNFjTdiaYKl95QGmL2WHcNf4gctFwDlud8odyhRy0Yu/lOoHEAAkPwVoDleIdwM7TGXBj0C7ZbCVtG7wg+cBOoW97TGUOFii5sf0KPVr70oCcOiNyjZ0exUxLUMmUkMSO+OV+p/HOkYu47ewiXanOwK3+ZK64Zgi/V/1qKcR7hQTcLnRu8dzEB5FFt2w5JJMonAu16NZxUIL+1nx+ZAEpQZmIeTda+f3Lobds24S7oCZ5EsOJo4WBLBmCn3oDrggaxnvpZceOgx1F2Bamor8/CAUmOHqdnAPQnvPa0YHM1TCupHATThCWS4TmqoDkWKbMTNblpqbZFvHlO44hb0B7uHYxQ2jNSz5ynQGh+D9LlTaJJcNKBngK0ekHIzR7uj8pDvkf3UH1JulsTkPsqyH2P2/tMokXlm+lsYeI/CuOhezRTOBehn2LJcIN2ns7O85hbkUd/NvZ3BOAWYUGCNlucokRmAww3z2fVx27+fqLlB5kYcPASuNO0F3zdoxYGO8LbkPanKM5J4hyl0w+/RjtnRT3dv45o1GcLyKeVYkZtEpNyUlZ83WmelVuNotWsUj+go6eE4RHELIV2ZCmQ6Sn7sSLI707g6CeOv/XTEX35czzOHmpWFlGF MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 16c244ec-9914-4c58-38be-08d41cc4c1c0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(8251501002);SRVR:BLUPR02MB1202; X-Microsoft-Exchange-Diagnostics: 1;BLUPR02MB1202;3:evSyxzv5o6O2Hzp/Y8OX4Scb2D8Q6M5sxoWxgd+SRFkAXeW8HS27eU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kogQjcnc0FVMQcUO0CffrtBXi0V52rqX5OJ8tGm1b9+yGOREwP5GIGGoRViuXFBv83KAVbJ5Fg137p3ED3P0CoKvk8gRSWYY5lpGAQfk88qMF4gA4vGiQPD8ywSR4Dze0DMR X-Microsoft-Exchange-Diagnostics: 1;BLUPR02MB1202;31:nH4niANv3p31w7FN8EcQjgtIO2DSVWoq65GuEMCQc4eme7BcKGn9reiTIZ8y/v5/Ww30lCoYV2Av13cAPSzu6HAS0+huAP8VVCu5vV158mcfZKb4xaNoJk6PGvf0R9OqkwjbO/LL0iw/z3lRkPyH0NAJ5Ykt/7rQk+K77hTBm9TAvhssAHKoLfUmYmNFwu50n30CROt1PYm2TtWhmNsApaLSGRrZHe6MlhLbS0OgB8YW9ZNe6DzJAHZ5F6L9boDbhR/f1lx12DB6bDt9slftrg==;20:H/nufANEYOK+eHc9wiO2DrDYVBlnu6r0VuSYfeJKxs0QekCK+pwJ6zDMc/fsvNMQlT7rrVlIy6rs46RcxAzI34T8WGmPhCsVCjAknQ2A8X+0gVCnMKfSrnoxQMNHlSQBhDF156b+2xEy9MIyWasidsopkNKNR64qzxwhabzNaJKCXa5/1g/offm4mGIQyzvYuTgxfJ2vliWfqd7hYvSyCDIvtVR8wSJ34EJXfCK0S9ejO2LTNNfRCsX7fGX/sDbStq+A341UGqw+lTGt4xRKhTJZ8P/0lKzNCnCoKj3RcHTD68hVA5coiAyyL+Y3OYrA4CXcpeT3ckXcgy+oh3mt0Y96hwUphAHallge4g3gVq8nK3e2p4t7+c3/Te/x+fPJQY43cwRU3XlM5wJ+TRPqI6Bd+y05unCVBfeldrJYFGoB9bS+RZPg3T3QG6Hf33Bod8c+JDFGzVte7cUPXo+BeCvd1oNI36RLQxRUuG+tJy2o89RxE7/5BitBxgIago+O X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(13024025)(13023025)(13018025)(13017025)(13015025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(20161123558021)(6072148);SRVR:BLUPR02MB1202;BCL:0;PCL:0;RULEID:;SRVR:BLUPR02MB1202; X-Microsoft-Exchange-Diagnostics: 1;BLUPR02MB1202;4:/t/00w2IuQzv23zeVXqAjJpJc9AX3LM8V6BjtaOgflcbtilRdxdCdECEG8nuTMXFyYXeLn7Rw2N+uNDgjokyn6JBcggqUap4rJspGcms9ZChp4HKEb2kb0pGX7/rYTaWT0yIM4v91GufTcJPFMwrssMBMABxA34g1r67fE4aHprGevuHb1ysHLVWVYnW0ZSgMIbpwsUVHwU+dBVL5wx2D+5M+WnjawQot/qBKg47bmPs+Jum8VHlpl/VZmt7lrfEfV3p2IHevJKLSnFSf6hImEplR+LcAZkovpXEIQl4Ad/GeD80dse0v/uqrDcUD8zGbq46t7ZWq6aRIcIylfDS38vhJhtG2oFDNrDuFknJ7dL5THf0OvuwXHA9fHUnM0/ml0WPh8y1Y/fwJyOQabXBQFhtN73l/T3k9fOniKTfx/1kUzlYojLNi75lyVEJGMomXJjIB0KnuJCPgQYD/sTs7hUtF1hZPTX1NfNnTCH54ceQ38/kfQFWdYXZS3MEuFteNDoevl23uuk4lVk40eRC+T3vyhKmtsMCjWFvOvmMOsVDqb4tZMs7K7/GuaydIdCxvgzVU3ZSuCft3/qaaCdySl/a1MWI9qQGte7VZ/OqcEI46lAp5/t8LS4lZ415k2mKckA40mKwi9uUPJYPlyYv5aQR8hVCzYQ6EtocT2uNCvjglNa2N+Os7mgnd4CzZYfuMcQQeC6iVCyA4kjtSsZmNssb0HjGATduuhyhxPcDHXUswH3Nl9TT5wCucfjyXumbyAiO1xw0QVDCQc4wjmQ5IQ== X-Forefront-PRVS: 0147E151B5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR02MB1202;23:i+SyqPpBFc4QiHHergMnv03wd9blHW3rY3tdNx5M9?= =?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+5LQCyFPxMSh6mortycA4A=;24:L+DVBI4y/YWBHWjgPTgEdm4ms4cNbdgXHnKo6bM9N6JdHQpiuaAjtisXwRDl/fSyPga46aXWrnHL9n3Rg23LNGKsNcNEfQMUQ47/EFw97BY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR02MB1202;7:fzxeZjm/rzGuoboIwNwQi7xfKMLtktR0IdYSSTK7ISOvzZGafqkF/TNZD3EXtxOjpo5AqxRkNMGaqAAIw68kntWbyqFx+lbDGe9zFM5seVt1ah+k8WWNjHRZhoHnIImpqeS9wJ8RakDMDWrkoUjOxaMsuFr9g6UDHQaxDAL5L35PbOWaTBlLrL+EEdU+EwpGJPxVviCvrszlFGmDVBjH+P+5bx3xof5q/37slOc5tZSd5qjCyqjJqq+9GcbS1iWJFtO/lGOsB+i2frMgwwcBYsntFJLfrgqA3M9i+cd7f2GOvpFWLalNJi4fImTXUSWf2Io166fegDVzvNjc3TE2BMJLHQFWJspAtFQBV8EVWeqeph/nvLftAfVXccTagt01TahxAVXOt+6BilmscQyadin1g8ZkGglEZEpsu5UlHjwTi4jAdve9eBsZTLG42YSVHuoMvKi1uCkOKTRTwnhMGA== X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2016 04:11:14.9287 (UTC) 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: BLUPR02MB1202 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1914 Lines: 69 This patch adds the dts binding document for arasan nand flash controller. Signed-off-by: Punnaiah Choudary Kalluri Acked-by: Rob Herring --- 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_nfc.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/arasan_nfc.txt diff --git a/Documentation/devicetree/bindings/mtd/arasan_nfc.txt b/Documentation/devicetree/bindings/mtd/arasan_nfc.txt new file mode 100644 index 0000000..dcbe7ad --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/arasan_nfc.txt @@ -0,0 +1,38 @@ +Arasan Nand Flash Controller with ONFI 3.1 support + +Required properties: +- compatible: Should be "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 - "clk_sys", "clk_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 = "arasan,nfc-v3p10" + reg = <0x0 0xff100000 0x1000>; + clock-name = "clk_sys", "clk_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.7.4