Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10686211imu; Thu, 6 Dec 2018 05:18:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ua56zrd7E9ApbbpTh8XLA3Ip48HtMKaKJ12mdQlxVEWQLp6rgp3qDDQiTclh3iEos5nXdx X-Received: by 2002:a17:902:2867:: with SMTP id e94mr28531674plb.264.1544102280024; Thu, 06 Dec 2018 05:18:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544102279; cv=none; d=google.com; s=arc-20160816; b=BJvptBU9P34HknhtGKpPN/bbuFTdhjG9ojUNzbR6Dd6djJjVbQTI2jyzfGj1teyNvf Ag1qcYyGXTUYeIdilD/XDzthd2Yc0NzgY8gebJoODGw+L4T+n3ah38AUsJZJcr6gNeOB GMj+U2fhHPzp/gHJpTJGBpeY/aCug+IivjKeW2WkidDj1PNEhcvQfdnfggR8Cs5e2AcE sepy7wQ0ubqYi1XxV0Tp3cF8j+fjwaeGTGrkicjw0TChXY7OWCJB/edgnE3qcDxaRAPu ewxjZsM2ztLGoBV+exdk55a+bJ7iPos0U6BQU8g3g9ZO/8BBcnlkvgl/lwieNKaVeUG/ LqUA== 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=EHtsIsf1u+UERrki6Quec0vj9dGqS5HgoWTacNA2jeQ=; b=z0+6hfZ5AQVLlJVh6mLuUbqxA/lxTUzQC/ywuIuJlMdbEVrLyG00h5sGjM3bt3YWIp y7DMKozvXf+fkOHr9P4GHl19hWGfJmgAGYC8vH2iWiAOJ7LIuNbazb8CeC1/ArItSNII sBMh3aIP6DorU1dr5VCnHNC3J5rvgfV7zWncFCgcZA9LvRwagnkoJ/fVienTdOLFU40u 3PpBUa+YSWCzlkRby6xH4m3cC7sytmOyVVarKRpn7Sc/xjQyO71iiCQ5fMes1E807R6+ H3q1Vx+8a9rUZ2W9YJHgXVOY1v4y435pK62DRuqvKptbo7Lw6OAujsOib+BgRV208wPH cWaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b="JSG+zL/F"; 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 k72si249785pge.310.2018.12.06.05.17.36; Thu, 06 Dec 2018 05:17:59 -0800 (PST) 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="JSG+zL/F"; 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 S1729472AbeLFNQ2 (ORCPT + 99 others); Thu, 6 Dec 2018 08:16:28 -0500 Received: from mail-eopbgr710047.outbound.protection.outlook.com ([40.107.71.47]:55908 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728482AbeLFNQ1 (ORCPT ); Thu, 6 Dec 2018 08:16:27 -0500 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=EHtsIsf1u+UERrki6Quec0vj9dGqS5HgoWTacNA2jeQ=; b=JSG+zL/FeTr6IipLwy52QJG8iRkGhWGoqIwo4kohdsjTpMMaB+lfcvgrav+LQQ3FIqtmozvtie+m8yuZ/Wr3yr/RNkjFtfKcjwThLaEPPLNtTVp/5bRQW9nxLg2OOBy44yZciXqz2plu7FmYf4X+4uKhbeicmSnFmSQEA6k4VZ4= Received: from MWHPR0201CA0099.namprd02.prod.outlook.com (2603:10b6:301:75::40) by BL0PR02MB4324.namprd02.prod.outlook.com (2603:10b6:208:40::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.20; Thu, 6 Dec 2018 13:16:23 +0000 Received: from SN1NAM02FT022.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::209) by MWHPR0201CA0099.outlook.office365.com (2603:10b6:301:75::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1404.19 via Frontend Transport; Thu, 6 Dec 2018 13:16:22 +0000 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; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by SN1NAM02FT022.mail.protection.outlook.com (10.152.72.148) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1404.17 via Frontend Transport; Thu, 6 Dec 2018 13:16:22 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:56267 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1gUt4L-0005HC-14; Thu, 06 Dec 2018 04:47:53 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1gUt4F-0007kA-Tz; Thu, 06 Dec 2018 04:47:47 -0800 Received: from xsj-pvapsmtp01 (xsj-smtp1.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id wB6Cldk2005198; Thu, 6 Dec 2018 04:47:39 -0800 Received: from [172.23.37.108] (helo=xhdnagasure40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1gUt46-0007hn-Ui; Thu, 06 Dec 2018 04:47:39 -0800 From: Naga Sureshkumar Relli To: , , , , , CC: , , , , Naga Sureshkumar Relli Subject: [LINUX PATCH v13 0/2] Add arm pl353 smc memory and nand driver for xilinx zynq soc Date: Thu, 6 Dec 2018 18:17:32 +0530 Message-ID: <1544100454-6357-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.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(136003)(346002)(376002)(396003)(2980300002)(189003)(199004)(39060400002)(186003)(110136005)(54906003)(77096007)(106466001)(16586007)(217873002)(336012)(26005)(9786002)(107886003)(36756003)(48376002)(50466002)(47776003)(7696005)(51416003)(6666004)(356004)(106002)(2906002)(5660300001)(305945005)(8936002)(50226002)(2616005)(476003)(63266004)(126002)(81156014)(486006)(8676002)(81166006)(426003)(316002)(966005)(2201001)(6306002)(478600001)(4326008)(36386004)(107986001)(5001870100001)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BL0PR02MB4324;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;LANG:en;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT022;1:0cR+okOah05vMz0ysHjpcso3F6U0HL6W33SCyVRx7hkxg1K8KLlJV+JMljkqXGQd8t8IzWdYGWL4T+uFHnWw2CArfpBFmnJWNuMped4ZIwtr+9zeEvj16voOQrS/eY9R MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 68af689e-96a0-47b0-02d9-08d65b7d04a7 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060);SRVR:BL0PR02MB4324; X-Microsoft-Exchange-Diagnostics: 1;BL0PR02MB4324;3:K2FsJ3JCjQir02lz7WfLi2/0eCxkFI94ZiMSPZCyr/oPRppacyVzUDNUFCfFkEgz/mJXzabd+d4IfA+9bWsZkug1AHZx01ZpyBPqZljPzbuZrwqNicHNbOZnwvJTzlYWpBnAI0Lzl3RWiBqare0v8hJvzR1AvWFVnrs1kkBAJ5MQRsxjo+sUAeyJDz0pNTaXdhjugufaT5sVwk+bpfWN66XjJfp2uKgbuJiV+MJ/J+s+N+MH9WQNovT8pnC4tT+p9S/lfH/epS9pK0/fd2HFfX96lUN/CPjIZz0tzZfQDbpFThrSjh+ytO5gGaMlgm+WK1DzYfSHhB3AoYfO8Gkeb18XEosAB1s1H+4OXxhyzHs=;25:0w/7ONzTpyb6T4IJDrGhmYaz8PcPN8NX+lmgEXkJEKM31n7NrzI0ZpPohQHEoh45n2d3IlQ0KBIJm3H1Qcz8Jx5p2hB8rSHIerCDnpYEO2ZceeVZpBvvQvKbioXnlnq0GRT4ZR+ox2k0t6ioBEEAZvv6fwKBDNfo4GoBTI0fadViXhNiDIHaKGldH6In4APz/bOTHdCyHzjHBm6nn7V+QxviZUgV9yfOUHTzuVzezgE7qk4CUa4nlKlYRUt4VH00Cg/dySLr6IPRlG6yVqJJomEjd+dnY3riTbpLwMlWGnXqEsq6nn8ITqvY0kpHHKi9C0QImsO8ugBeFclDbiw4dw== X-MS-TrafficTypeDiagnostic: BL0PR02MB4324: X-Microsoft-Exchange-Diagnostics: 1;BL0PR02MB4324;31:O96NPD2bUK0ZhCJvsg33egUkGgIcESdD4fVBw5pDBsxwdqgVnkAEsI/xhofloElkmoXl6pSVUotuAxLvUxknLZAGWKgKIG1fjE3Ak6v45R6opWf1Lnl3VsfurN3smiGcpfgF1PvmwDjgug/co+8QQi3F86EhojwR3KBx7SZlV2z93on48A5QOtKHtbdHVmQm2B+rUXutTN2XepjHiQITFvh/oEYlJS2xQyiLJ6hSfVk=;20:EOSj40JP6MatMcGGLZenr82VC3U4IiwT//cUcQGxPaSl2um42RleQAzQTmXEcWAKpeRmQowfj+d/fnevAKcepQZ3mn6GBkUNHzr8vrPmg/SlZ3FVYhSFCSIG50D5UFI7/npBwOzNGgRhKA4A9Y4bNZ0NRTFiaZD41H5Gl4coHQoGYPjppaa51pOIZixdeiElo/d/HIFlAhnJ/J1eTPhWkNqOZ2sVzd6mA0lAQ0Idg8iIwA/X0NqMoVeqRAgtFUlEfLHCOBDHbNRfRKQr8a2z0SFqaH4JUhhbJc0bRxiEbrNdrHDBfb4cI9CotBEl+1xEBZ3yyJn4Ppp76HpYlVnVyWO44LIw5vN32nCj6fGePmY/OW263NRcosvkUcRhBDd459SInkOWYe2ZPbifIx1QkY5xXucatUDeFuAbS2qmsPc3bJ5yokhXApZfqmdcHS2/kWGVIG0zloyDRkxm7sEb9DIcsS22ejmeKkybEZz3rub+gcPDs5PdSFkgmL4LcL46 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93004095)(3002001)(3231455)(999002)(944501520)(4982022)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:BL0PR02MB4324;BCL:0;PCL:0;RULEID:;SRVR:BL0PR02MB4324; X-Microsoft-Exchange-Diagnostics: 1;BL0PR02MB4324;4:HQqp6N1spDDtdf59rKuOxV7ZVbMwJGQLLrz7tOlcpUxNgeQwtXkadEOztDTlqJOJJ2r+HHzOKfhoVsWdam57WKbmrTDmBEpDGbKc4+L0oszcbKBzi1TcAvAcSzIm2IE5zqfOnmjy8YxL/nKPEn7XTULQ5UbRBBph1hkgIOksbPd3iZEcLrtwKEumRnUS7lEWUErV1+z8/WJcvwbuV4zsz1nEZavoKHiDMpsAEy8rLNzeyqorvEALNnxDxOHphpwMmjR4ffv/jcfR887JjGgncw== X-Forefront-PRVS: 087894CD3C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL0PR02MB4324;23:b1Xt8x0XwWzI2xUUnivsmNdfXwIbHUjiB0/cdBhmD?= =?us-ascii?Q?vLyj0KJKCr7eb7zrCpS6p0Xv7etvslgjrQ1R3QKmZsujmOh9JMketKgDaFle?= =?us-ascii?Q?fN/+lwtjNfvMbpCuTcPxk13QNHw7n9+yShdYcXNqmuqpicpiO1f08KT7ZOJQ?= =?us-ascii?Q?Hzszs2fIVa0XGviT0Hr1nGDYrgxgIZQBD0fSP/hDuM0PG2NByh8ev6G/xJYq?= =?us-ascii?Q?dUWpHFEjcn1HAsRa1TTGYYfHGLEQqq2aHPicJhkFWq+X2BeLM46dZf909r4g?= =?us-ascii?Q?oYweSRh9Q0voYZXGtWMj6LzAwNN0wKNRulVzWXypYnse8MNt4JBztErqOz/U?= =?us-ascii?Q?s+FIRgWwn/C6mtcZ2xRAiftCTiYnFEjSde7G0rVp+OWwhYeiOv1GQvljEdAU?= =?us-ascii?Q?tL2JnL2Tlspt9MYD1cQjEhlMSr+p9/7Zj1r3360W8YQSxYUEs0i87vs2IXvb?= =?us-ascii?Q?6+iCDuM+YMLd93yGVIbdbT7MoLZUbHc9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com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2018 13:16:22.2847 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 68af689e-96a0-47b0-02d9-08d65b7d04a7 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: BL0PR02MB4324 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following patches add arm pl353 static memory controller driver and NAND 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. This latest series make use of ->exec_op(). Naga Sureshkumar Relli (2): dt-bindings: memory: Add pl353 smc controller devicetree binding information memory: pl353: Add driver for arm pl353 static memory controller .../bindings/memory-controllers/pl353-smc.txt | 47 +++ drivers/memory/Kconfig | 9 + drivers/memory/Makefile | 1 + drivers/memory/pl353-smc.c | 464 +++++++++++++++++++++ include/linux/pl353-smc.h | 30 ++ 5 files changed, 551 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt create mode 100644 drivers/memory/pl353-smc.c create mode 100644 include/linux/pl353-smc.h -- 2.7.4