Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp830885oof; Tue, 25 Sep 2018 05:21:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV62HTg4MrrYJH4iFMykCiXTzfjM4Pop9xF4MVH2Ga4v+SQoo1KzjtEDiG3mDVWCto8ocQZhn X-Received: by 2002:a63:745e:: with SMTP id e30-v6mr281805pgn.446.1537878095266; Tue, 25 Sep 2018 05:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537878095; cv=none; d=google.com; s=arc-20160816; b=M9aZUtt0FROEfI0RoFjJ94IZXqFwlVWFeKAWOuTkQD6Oy9OmjKIjRuzBJRtRXJ9yQZ yvLNm6naQ78NVQxkuF+IajFmi686x6cw70msxyKRlKeIoCPrT7pE/wduXKHTHkTM+nH6 e9FcHluzAkM1sxQfR1PJnaPjQxrs6WRGoPqoC/owBL2rKerlfPEi2ShII6NG+kw6WzVH TkXi8OG3F7Al65//yzejXjYHDEmMBo8XcjxnhKt/fX7dx6JIWDFouMJevaNXctbYyfbf ILFwFxNlKHWYN0XhRRJLiuIDR5U47CuZWiFN5iEbIivxpvVjWv5iG4+3X0wcYrIFcG+C DJwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=gP6ZeTSRzx5vyBQhIKcZtxZIiqHfWLLW/M1v83LbOFw=; b=EKbRTrm85A/ngFPNrGOUOpR34CNaA2gSlXzGDVYzA8hzRlsnLGjiykvjEXaBBMKUlv rWOHoU0GNQ6IVoukSwiYNXufKLtRmzhXycG27XztbHsanXcJ2j2YQdunrNLDpqMMKvo3 XHvDDGccyJaoFHcTEzjPnMxQc+d2sT0Z3oFXbF+Sa4e/wqb5YDFybx/mZi9CoFD7QylC 08lbdGtAqU6WagFwcf1JKofDzBVqhJYS0Vjl1FdexzLzA0gY6k+CbnowE8eZ/eEQW5VO mFilZEcpZAE76FA/KdNQZohkTgsrwgkAcdptH0GM8mvbVH92419jo+AuTARaV++UiQiF hPSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=pl51LZ1p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i189-v6si2044966pfg.281.2018.09.25.05.21.18; Tue, 25 Sep 2018 05:21:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=pl51LZ1p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729055AbeIYS2W (ORCPT + 99 others); Tue, 25 Sep 2018 14:28:22 -0400 Received: from mail-eopbgr730081.outbound.protection.outlook.com ([40.107.73.81]:48160 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727617AbeIYS2U (ORCPT ); Tue, 25 Sep 2018 14:28:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gP6ZeTSRzx5vyBQhIKcZtxZIiqHfWLLW/M1v83LbOFw=; b=pl51LZ1pbJQqOibJf2L6adeAgz+GCa/tbqYn0+FrwUPYbO6YRgx83Ns8o2hQu+aLgpcDvh2TeaZBShCyYzDEB7hMFQag1R7gxFOMb9JiFTe1cnK7wkp5f6scoMrECdwKu3vCpK13e65ZADKLkhfoXepn3ty/GyCDuqYi/Us2pxc= Received: from MWHPR02CA0055.namprd02.prod.outlook.com (2603:10b6:301:60::44) by DM6PR02MB4764.namprd02.prod.outlook.com (2603:10b6:5:18::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.25; Tue, 25 Sep 2018 12:20:59 +0000 Received: from CY1NAM02FT059.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::207) by MWHPR02CA0055.outlook.office365.com (2603:10b6:301:60::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1164.22 via Frontend Transport; Tue, 25 Sep 2018 12:20:59 +0000 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; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT059.mail.protection.outlook.com (10.152.74.211) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1185.13 via Frontend Transport; Tue, 25 Sep 2018 12:20:58 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1g4mKn-0008P8-TX; Tue, 25 Sep 2018 05:20:57 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1g4mKi-0004n6-Q2; Tue, 25 Sep 2018 05:20:52 -0700 Received: from xsj-pvapsmtp01 (mailman.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w8PCKlIQ007541; Tue, 25 Sep 2018 05:20:47 -0700 Received: from [172.23.37.108] (helo=xhdnagasure40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1g4mKd-0004mH-7y; Tue, 25 Sep 2018 05:20:47 -0700 From: Naga Sureshkumar Relli To: , , , , , CC: , , , , Naga Sureshkumar Relli Subject: [LINUX PATCH v11 0/3] Add support for Arasan NAND Flash controller Date: Tue, 25 Sep 2018 17:50:28 +0530 Message-ID: <1537878031-22253-1-git-send-email-naga.sureshkumar.relli@xilinx.com> X-Mailer: git-send-email 2.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.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.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(376002)(346002)(136003)(39860400002)(2980300002)(438002)(189003)(199004)(39060400002)(50226002)(2201001)(9786002)(110136005)(2616005)(478600001)(8936002)(5660300001)(476003)(7696005)(8676002)(36386004)(305945005)(77096007)(186003)(26005)(217873002)(2906002)(356003)(81156014)(81166006)(36756003)(48376002)(51416003)(6666003)(336012)(50466002)(486006)(426003)(316002)(16586007)(106466001)(126002)(47776003)(107886003)(63266004)(54906003)(4326008)(106002)(34290500001)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR02MB4764;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT059;1:okIxV5WsHfNq2Q+ASNqO4FDsmxVDXsbrJLUDTYgZWQq8eiW6tiMqNVcDdObLb3u2q+HjkYWlaIm5PaKbTSllx2uEy700ZT2bIX2bjIfBikBZCuMpodg8IKm4BkgrzINN MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d64c6861-2740-4d64-1974-08d622e159bd X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:DM6PR02MB4764; X-Microsoft-Exchange-Diagnostics: 1;DM6PR02MB4764;3:/nlKZgCIUDB8acJQVc0oQRG5IamkjCkWk6Ke1sGBicRHI9xmq+PaDHKma0VqJ3wEJAyzvhbErkBrCEFksYWiQsvqzgNuhlCh9eNh5JcsH0PSAtmzvAqWpEbgPhYytOiYXMXiDDuLPgxyDKiM5tgOCJeKA0Ie02Fb8PmZdcIL/zutANf95/sgl7/h5zXxTlGeRHNl//JG7hTRajZwsWEMtITpTpGfzcZQwt2SltvnPGFee9SbsJYOHDlz/5Iq6thDrJVaqsqeyj5/vI36mxRtXPHU5IxuEhT5Yv2o1L+aUOHoSlJ/D6Q36mmgiAPn6L8KxrScPicufp7EVLyD59QKorbZjv+wIzunc8gPiSKA9ko=;25:QoIJDY+RRpLlpOqJa5e235q1xQlGxdTbTDUvv1/IBxVEnwhTe9fI70TRZ/SMTOMz6uBRrRrtdST+OJVTlARqsb2p5W30VISRfElnhqoMXAQs0BS9M3nt5i+GQMlPRy4YhEElprZHc3n/LI7BDGkUArtBQa/wuYy1erMfJ9fpJlop4vKeHoiZ3QseJuSpplPd0Ic9Gdj/ocbUF+W8zU1oEeqsVMbbAR5rJp101sYuuHM0PtUMVb/9Yl3UJ946vMKHKFedhWv1zJ27h4x3dKeZhaTlGRIUu55Q5AJ8pUifXYNrsC8hb2MryYniKj5WOvBZ+fqFc0Vf+0LKjzkIHewRYw== X-MS-TrafficTypeDiagnostic: DM6PR02MB4764: X-Microsoft-Exchange-Diagnostics: 1;DM6PR02MB4764;31:IR4T7oca4TjCcPrxBN+h/9/ANtMPb/pRz9VlLGLg7qk8Pm3pjC74lR+7IgoAVWgy+k/NPRrlc8G0vQZSlhoVhAzrzxj/tVmUHTuDFWFDs7doHrhBxxL9+VtHw8l5Up16wi0nL+8hnjnRBOAxyGGAfh62nouYazMmTk9Xa1TsfeM58Mf2ycQQk2xLDZ5l1hMqrucGj0uMf8OrzFzYVJVCx2RwhzaR2+4J4hMP2vfYHqQ=;20:iL1jg+sRCivAWsq62WQG5+24eAsmauOY4TmoJ9ae94q27+5teWiTEBuoXzmCwbr0EMJHWCe65p9vdFahJmdwcy4NXufiXOE7bRLQveEJuXRM6EerLlr38FwT4fmWGVrcoYlkpiNKdaFEnSehYclk9v/Z0JspSOW1HNL6ppKf7dIP2bsIm1Vuf9cdYcLxAzxfdaFSnQPktsUOF4iaBc1KghoeVETPSxZQd64pBCv55t9IK7+um5/rjhHpROMsUe8W9D5nwhJsCHXTsqHF/nZRJOep2+N5pdsMUHNXi07N1RcZpKxYWtEFatY2CfsL1uAnv+dNegQVyScDWBB4YXpOH5cgO4MKAQzOzXrc/uGejsx9H4AaU5rPxpycQpyzbwsQ3jXOHPE8VLXQsUodB7Ws7smJZ6IykGdqx466NQX0A5Pp3LHyXYwsCetAv+/zhls+rOGlu0O1gWpTrjFN+VbT39OY6uLyVVDnV8sB+5CSgBcKAyMdOUtYKM5HsDic8VaC X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93004095)(3002001)(10201501046)(3231355)(944501410)(52105095)(6055026)(149066)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201708071742011)(7699051);SRVR:DM6PR02MB4764;BCL:0;PCL:0;RULEID:;SRVR:DM6PR02MB4764; X-Microsoft-Exchange-Diagnostics: 1;DM6PR02MB4764;4:/tu45CYsJud3TPE3wqJgojCGWBmBQmMUck7M1oKQjNERzE6uB121pleu+jYrI0kjR3Xca9UXVVXn/8kkvcoLDJiLEfsROdaZVvXFzW2pb8gzXYPkMRpjN68b5FgK4p6i46Od68GKhJFpStQ+rmI8r8SAhA0jP7dK9/MsnmoWp06/n62tp8AeFA6LRRzMf+dGISZ8e7uGU9U0T/U32rALe+fDBDiDW5XfHmf0PyA36H3YYx2DC/69aKxjxVBHyFYCY1Jfq092Q3KMZfcCoRJtMg== X-Forefront-PRVS: 08062C429B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM6PR02MB4764;23:oh8yNAKxFrLa7aw2tQJGUbXx5mbEU+W7p3pMaOUI1?= =?us-ascii?Q?rA0qbMA+9b7nVycZlrnpsO7xk7/cimcBOqJNT1VEM+pezaS07dTGbcWDOpM0?= =?us-ascii?Q?yGd52T5/E9DDYE6DId/MgKJwdeIYPpy/7enedi6MD41Ho7qaMNOrZ6C3DyVM?= =?us-ascii?Q?lVsIEvAfFrKOYiVs7xnT8dCUXs7Hb19SPab3pYo9hrjYB0jhL3dNgHkCgdu3?= =?us-ascii?Q?DBG7aYc20MFnN2f9UqBGt1618mAkU400BHDfz3rRxM4cWs1MF7uMoXIIrgiu?= =?us-ascii?Q?eJiKcLHF2a+FQ5ZsVsl+1ASInV91KAe7Oz1CSPH1DnOgY/BKOu4VGCwUs/p6?= =?us-ascii?Q?uszGnwHe1xeKj+SDG+wGSCEFM7DDM3Ml8RDFUimRv8TOAeUipH035i1usADH?= =?us-ascii?Q?JxU4v17MxFSkYzsImAPKNBlTgWx2mU7/lddKbEOgqWanZP+tAW4P160fU0HX?= =?us-ascii?Q?k3N8W3usfc+4ijwPq9W8VfAj+A+Mx5sMgbiMl+bFvn/dw+Ohs1sruGXAEcZX?= =?us-ascii?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PM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2018 12:20:58.2584 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d64c6861-2740-4d64-1974-08d622e159bd 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: DM6PR02MB4764 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds the basic driver support for Arasan NAND Flash controller. We are reinitiating the patch series by fixing the comments given by Miquel and Boris. Major changes are exec_op() implementation related. Rebased to 4.19 nand tree. Tested MT29F32G08ABCDBJ4. As suggested by Boris, it also adds a new varaible called mode in struct nand_sdr_timings, which will give directly the sdr operating mode. and it is useful for some controllers, where we can configure direclty the operating mode instead of timings. Naga Sureshkumar Relli (3): dt-bindings: mtd: arasan: Add device tree binding documentation mtd: rawnand: Add an option to get sdr timing mode number mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller .../devicetree/bindings/mtd/arasan_nand.txt | 33 + drivers/mtd/nand/raw/Kconfig | 7 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/arasan_nand.c | 1324 ++++++++++++++++++++ drivers/mtd/nand/raw/nand_timings.c | 6 + include/linux/mtd/rawnand.h | 2 + 6 files changed, 1373 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/arasan_nand.txt create mode 100644 drivers/mtd/nand/raw/arasan_nand.c -- 2.7.4