Received: by 10.213.65.68 with SMTP id h4csp903939imn; Wed, 14 Mar 2018 03:50:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELv3kR5ELDZbTjUq0txNYT14lNN0IrxeA8KmVLttQh+3tXY3yL6DoWlzmCKjsQaBgJjvT8Fq X-Received: by 10.99.96.66 with SMTP id u63mr3342060pgb.22.1521024646381; Wed, 14 Mar 2018 03:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521024646; cv=none; d=google.com; s=arc-20160816; b=hQaSM5hYO1BcFLcg3ZhIQovjvQZuBvGgaMwskSfVFPTLURNbtN9e9+UpKzHlIN7kRC 8jaZ8PKlBU+8gZGnqjj8UOxOBXjduLmMG/Iegr89uqTRO2yupJtSNGC6pNwWY/j1e1ai 3Nu5J37VVVXJIBPW4EdpsouH90dBxnIe9EqrwK7hRqztj+HCkyQnVPNUn0K2na9+ukCQ 2g4kjZi6aHXZbZcWDFc50oPls/ME+RB6Tqgr8aiAsdTGAmNopdLT8FKqaDT0I2z8f4ui LPdEd92RteDvhAKpM+zrvycPYddHSysJyq4BAwU2dYSV69BY2nBVBAhp2mJooheNsDeY uWHQ== 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:arc-authentication-results; bh=/rjxmTcrR+Ijir26oRqROF3WxDGjy5HjIsOwjPl8Qz8=; b=Cp8vcIGYoOkrlXETZgV7cfMvsm0PbujdFcWMaPf7U3ZpXG62qus2P4o3JLFH695X7B bsDI7vRhU5doiuk2MyNOCu6NYugFmNoZzC26V9GcnEsY+tca7x0NW+W1U3uEbNtyuqUc Hhpn0H+Kaykj1n1JVe6UpsCXTwPzCEmNAK/PjFgyzW0SVOdeoBNl1RWRk46Y4V74SDn1 ZGV75uv9g+K1yqjIspg4qlS8Uc1QnJ8DjeIrc+Q4gGpq0fk5N8nZrWYdIAWfZkVMnfy2 7LnwG7xj7iB2B9aVdINDlyJVeX0SFBi6smpKlcsQBc79xo1DZihX48SZ5gN/Y+fNYthw OpBw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13si1660544pgt.572.2018.03.14.03.50.31; Wed, 14 Mar 2018 03:50:46 -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; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751983AbeCNKtG (ORCPT + 99 others); Wed, 14 Mar 2018 06:49:06 -0400 Received: from mail-bl2nam02on0071.outbound.protection.outlook.com ([104.47.38.71]:64048 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751131AbeCNKtD (ORCPT ); Wed, 14 Mar 2018 06:49:03 -0400 Received: from MWHPR02CA0020.namprd02.prod.outlook.com (2603:10b6:300:4b::30) by CY4PR02MB2631.namprd02.prod.outlook.com (2603:10b6:903:72::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Wed, 14 Mar 2018 10:49:01 +0000 Received: from SN1NAM02FT057.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::209) by MWHPR02CA0020.outlook.office365.com (2603:10b6:300:4b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.567.14 via Frontend Transport; Wed, 14 Mar 2018 10:49:01 +0000 Authentication-Results: spf=softfail (sender IP is 149.199.60.83) smtp.mailfrom=gmail.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=gmail.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 149.199.60.83 as permitted sender) Received: from xsj-pvapsmtpgw01 (149.199.60.83) by SN1NAM02FT057.mail.protection.outlook.com (10.152.73.105) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.567.18 via Frontend Transport; Wed, 14 Mar 2018 10:49:00 +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 1ew3xr-0007Nw-9x; Wed, 14 Mar 2018 03:48:59 -0700 Received: from [127.0.0.1] (helo=xsj-smtp-dlp1.xlnx.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1ew3xm-0006jD-4v; Wed, 14 Mar 2018 03:48:54 -0700 Received: from xsj-pvapsmtp01 (xsj-smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w2EAmr1H008374; Wed, 14 Mar 2018 03:48:53 -0700 Received: from [172.23.37.108] (helo=xhdnagasure40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1ew3xk-0006ia-Ih; Wed, 14 Mar 2018 03:48:53 -0700 From: To: , , , , , , CC: , , , , Naga Sureshkumar Relli Subject: [LINUX PATCH v8 0/2] Add arm pl353 smc nand driver for xilinx zynq soc Date: Wed, 14 Mar 2018 16:18:00 +0530 Message-ID: <1521024480-30588-1-git-send-email-nagasureshkumarrelli@gmail.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-Result: No--5.387-7.0-31-1 X-imss-scan-details: No--5.387-7.0-31-1;No--5.387-5.0-31-1 X-TM-AS-User-Approved-Sender: No;No X-TM-AS-Result-Xfilter: Match text exemption rules:No X-EOPAttributedMessage: 0 X-Matching-Connectors: 131654981406434221;(f9e945fa-a09a-4caa-7158-08d2eb1d8c44);() X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(39860400002)(346002)(376002)(39380400002)(2980300002)(199004)(189003)(966005)(8936002)(316002)(2876002)(55446002)(356003)(86152003)(498600001)(8676002)(16586007)(110136005)(47776003)(54906003)(4326008)(6306002)(61266001)(81156014)(26005)(77096007)(73392003)(105596002)(63266004)(305945005)(81166006)(50226002)(83322999)(9786002)(106466001)(6666003)(87572001)(86362001)(336012)(50466002)(36756003)(107886003)(76482006)(48376002)(51416003)(2201001)(5660300001)(73972006)(2906002)(82202002)(107986001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR02MB2631;H:xsj-pvapsmtpgw01;FPR:;SPF:SoftFail;PTR:unknown-60-83.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT057;1:fZO+q44WOnb2LXiUoUj9S0WSrxsiAP1YxI2b22o4K6BmlJvtMKvpC1DNHJnenZwRFqLUvSbzigT6XTQGmaqjoHx0W2UBtwEKChWnvIf4IbpMN3R/wJwXpb8Fo4mmuYHv MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fc2d7738-eeb7-4c4c-9a36-08d589993211 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(5600026)(4604075)(2017052603328);SRVR:CY4PR02MB2631; X-Microsoft-Exch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il1wYRpUd4xMxoJ04rqsAy2Jjo4B5MimfOlYk/9d4kRXfxz0J550Au1ZB+Pn32a8MucGCN4Pwgg6aDJP/fQ8wutvDgRYpB4+TG6pcJN1mcTEIwU+dlfZu+rh8Z1f2TD64sSu7Yugc7MKJlYHpyvlu9n/8zDhKCggF6bmTDa7Por6DZCeaG8JKG62YxeN0gQr4P8sn5UXkT9QQdycuQ++A05CcoM5hs2gGwYcv53iAfAUbzsTgz4SUu5WPL3fP1cpGe6M+YySmsDpOFf4kbx6aEZyyupwrLs1t3vNNh75s2ZtzCmvDoXLQbOpoWYmgcTODfgf4bIN/J7E64yeYQVmXBe7gfpbPyUwxJvaOc+9cfO+4x0wIjvH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(192813158149592)(189271028609987); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3231221)(944501244)(52105095)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123563025)(20161123556025)(20161123561025)(20161123565025)(201708071742011);SRVR:CY4PR02MB2631;BCL:0;PCL:0;RULEID:(400006);SRVR:CY4PR02MB2631; X-Forefront-PRVS: 0611A21987 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR02MB2631;23:zMNIlDykOU0a3F2mLpP9V55RcQMxx+L9YhBf5HTjV?= =?us-ascii?Q?/FReQfB57Cw5XOVGV32CEdBcPhTnvy//2FQ67rnXPqzAlfTOnDyl+RjurC1J?= =?us-ascii?Q?iX7xBdiszriNC5Qky6lPjWJxTj/3BJWXgnafYM3pk9ydJ98I4gQSe78Mu9Rd?= =?us-ascii?Q?IMtBe2ZADvUtgc8bGbCLoLFsJmLDdXlMpCnTTyfncfKa0XkYpgsgutYfRxs9?= =?us-ascii?Q?68EUud3mQbRr2yDqRQwywNFteTfz8m5Ful073dnnRSrKg9GsL7i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/1jxCHaS7k+P6/1q+RIi+yoLMve6fBR5xN98CD6+h9DXM2EpFX17kIuihd11bNDYQCmvziTGzyzjSz9VjP3oi8nHZThKr5PTpasOabR+WdYm5yhkfCtkdRxR8N5RDcp8xQie/C70VceE2oJac6dSR5j+nucBpCi1xoZ3EidFcHDxFc8kIogFErzXggtrUyD68CdOx9osjrj3a0F03toRZ2jybUu+Ra1IreUn2USOTv9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2018 10:49:00.1277 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc2d7738-eeb7-4c4c-9a36-08d589993211 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB2631 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Naga Sureshkumar Relli This latest series make use of ->exec_op() . Referenced the marvel driver as pointed by Miquel. Sorry for the long delay to send v8. The following patches add arm pl353 static memory controller driver for xilinx zynq soc. The arm pl353 smc supports two interfaces i.e nand and nor/sram memory interfaces. The current implementation supports only a single SMC instance and nand specific configuration. xilinx zynq TRM link: http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf ARM pl353 smc TRM link: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0380g/ DDI0380G_smc_pl350_series_r2p1_trm.pdf Tested Micron MT29F2G08ABAEAWP (On-die capable) and AMD/Spansion S34ML01G1. The v7 patch series can be found here (https://lkml.org/lkml/2015/6/8/499) Naga Sureshkumar Relli (2): Documentation: nand: pl353: Add documentation for controller and driver mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface Documentation/mtd/nand/pl353-nand.txt | 92 +++ drivers/mtd/nand/raw/Kconfig | 8 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/pl353_nand.c | 1363 +++++++++++++++++++++++++++++++++ 4 files changed, 1464 insertions(+) create mode 100644 Documentation/mtd/nand/pl353-nand.txt create mode 100644 drivers/mtd/nand/raw/pl353_nand.c -- 2.7.4