Received: by 10.213.65.68 with SMTP id h4csp904108imn; Wed, 14 Mar 2018 03:51:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELu0CzEO4qCallZUsWQIOeMWKnG/OszWwNJUCGx4jS+7prq7EhcVnTRrUQ37o56WMpF3w9of X-Received: by 10.99.154.18 with SMTP id o18mr3382048pge.344.1521024671313; Wed, 14 Mar 2018 03:51:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521024671; cv=none; d=google.com; s=arc-20160816; b=K9F1fLHUS0mC1s4LA2zDde/6WCvvVOLaZTYPqcicdY5KLlvZ2EVv++Cd7gsIWwe/QZ U68Agudm2VrXkU3ctdKoaSBdiS877zj8y1jleyDjT9ax9AjZBAPSPC6HeWkRSza44Mdw k/Wnu9bhSgDhAfvAuqAsWUcXO9yN9gqsnnfQeTE5TKwWPLEBtF1b0i3iTqDexiq/VnTs 137V0sy7woOq5hcnbtoR5TicuR2R5EqR2tC4cqyN9iqViMwN2qYnkupEWCY4kzNytv9K XEa+R2TqjsPOApUBtz1UT0nwe1kqWe66QGQWSqu++v7JCot5lL4Kfa3z90eOGYqG3i1q CBLw== 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=jmcBgFs1YewqZGfsCFJxE3BtCBxc9gAT41CvQvFpaa0=; b=OkV3Q3IQ8Xe+gTECFoA0uYqb57V9o1zyKct0ZFm91nii7BeA6GWdk0+3p+IYZszC4v t/e0QR1t2xGFg9tMyWW9wFTmJdCAauD1/bzk9XEHZKL5lLp3yfjvZU82K+zQ1uUOdYrT AhccYzg1iipZTT+3NaMa48Sau7Z8Y35kizdWGADJIG0GDaRA/DOzovF87X/y5zfvR+x0 c7sUokWQj2pV2MMqciRiwVxAIPuHYI3yvH8iB5SZacGdT4HbyZ/2lVbQAaZ/SHkk5AbH MChFIUBYDVdzU/2QLeiNhdcNV3iEFNl7uhCLzes3oDXKTJCN8FVuJl4k6MrxXhKwppLf saEg== 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 e7si1064335pgu.760.2018.03.14.03.50.56; Wed, 14 Mar 2018 03:51:11 -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 S1752034AbeCNKtS (ORCPT + 99 others); Wed, 14 Mar 2018 06:49:18 -0400 Received: from mail-co1nam03on0059.outbound.protection.outlook.com ([104.47.40.59]:52352 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751131AbeCNKtQ (ORCPT ); Wed, 14 Mar 2018 06:49:16 -0400 Received: from SN4PR0201CA0048.namprd02.prod.outlook.com (10.162.76.34) by MWHPR02MB2542.namprd02.prod.outlook.com (10.168.205.20) 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:14 +0000 Received: from SN1NAM02FT005.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::203) by SN4PR0201CA0048.outlook.office365.com (2603:10b6:803:2e::34) 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:14 +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 SN1NAM02FT005.mail.protection.outlook.com (10.152.72.117) 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:13 +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 1ew3y4-0007O3-T2; Wed, 14 Mar 2018 03:49:12 -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 1ew3xz-0006q7-Nu; Wed, 14 Mar 2018 03:49:07 -0700 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w2EAn62P008514; Wed, 14 Mar 2018 03:49:06 -0700 Received: from [172.23.37.108] (helo=xhdnagasure40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1ew3xy-0006mB-4c; Wed, 14 Mar 2018 03:49:06 -0700 From: To: , , , , , , CC: , , , , Naga Sureshkumar Relli Subject: [LINUX PATCH v8 1/2] Documentation: nand: pl353: Add documentation for controller and driver Date: Wed, 14 Mar 2018 16:18:14 +0530 Message-ID: <1521024494-30632-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--10.615-7.0-31-1 X-imss-scan-details: No--10.615-7.0-31-1;No--10.615-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: 131654981543436926;(f9e945fa-a09a-4caa-7158-08d2eb1d8c44);() X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39380400002)(39860400002)(346002)(396003)(376002)(2980300002)(189003)(199004)(106466001)(77096007)(16586007)(47776003)(54906003)(356003)(107886003)(86152003)(61266001)(26005)(6306002)(87572001)(105596002)(110136005)(55446002)(498600001)(83322999)(73392003)(316002)(63266004)(82202002)(4326008)(51416003)(36756003)(9786002)(73972006)(2906002)(6666003)(48376002)(50466002)(336012)(76482006)(8676002)(50226002)(81156014)(2876002)(81166006)(86362001)(2201001)(305945005)(8936002)(5660300001)(107986001)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR02MB2542;H:xsj-pvapsmtpgw01;FPR:;SPF:SoftFail;PTR:unknown-60-83.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT005;1:uLQW32x4ZnNnIMRWwMEtQVVbAU8uz+Z4QU1+n1sA2fv+hTs4Z/c0Lw3MT3DYpPPwMn0spTWwUtubzXcXtxUGSxeZAc0CXxF2nSZV8o3t7d5FYtlIcQvC4p3Xaho2Zq3o MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 81a77753-84b4-49d8-1916-08d589993a3c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(5600026)(4604075)(2017052603328);SRVR:MWHPR02MB2542; X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2542;3:xOlad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yxmSDXdq1ENtEgACdhZ2Ns2Co4/bGfXQqXUA3GzwNYhsb0IkRBjm8tXmo4feqFH89jmfxBq/BhLtmg6ebTRLW1xI9/jjKePmDtxdG756K2iZkrg6H6kGedXXoxNOnNR9Jf+mg4D6mSflKvk5wVmBz3ZwNLXVJQJ/PWD9HfvaKx/5aVpKSxrYiXd5mOz7lxNRojsseh32gzco6ZlVPsPwSMeXGvZ+yphJk7Qp3+Z7BU1xnQDwx8RmC312d5xsTc0GXc1PDx2qKVYklrQRUPHdU9KnRsHBCi+YDJdKBSW5c5+Uugzqg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231221)(944501244)(52105095)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(20161123563025)(20161123561025)(20161123565025)(20161123556025)(201708071742011);SRVR:MWHPR02MB2542;BCL:0;PCL:0;RULEID:(400006);SRVR:MWHPR02MB2542; X-Forefront-PRVS: 0611A21987 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHPR02MB2542;23:XDtepdve8J38F/VdXj1uMJsahBxLNhAURrGEpSIUd?= =?us-ascii?Q?d2K6Y0H3jzvkn8z1TRrIxXCTkl9emY7dODPJy85WJhn1EmNQfPnWBmLvzlw7?= =?us-ascii?Q?gDQ5WmxQqBE/JdjvMjx8hIVmpBV02mSq9WFad+eeTCEWfSr2MvrlfsmH2Hm9?= =?us-ascii?Q?mfDMaetLPkDdw1ALnvVqugnLc6LXfZRQhi4X8r2uULUzfSbjEFaTvSfAle+N?= =?us-ascii?Q?MRCrEGFpo8aKJgzN0Xmf9bKdsFRWm9rhJfZj9jkaWgjWnxfzu6HJbMYIocY4?= =?us-ascii?Q?xSF9Xd1V/PzWmTfR778GFnHu0nQvj67BBBKAMyF/HS4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LHGtP/erzqnYPEe1k5gWG0LUtUZYt5oQ5c2/ME9U8B9cX73xTZuEb0Vklnu49ox8HccYvwFxHdCw3l0n3mYf0SaPFZ9Ni6v9fuHaLahI44zd2Xe2/3ilJv SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2018 10:49:13.7499 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 81a77753-84b4-49d8-1916-08d589993a3c 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: MWHPR02MB2542 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Naga Sureshkumar Relli Added notes about the controller and driver Signed-off-by: Naga Sureshkumar Relli --- Changes in v8 - None Changes in v7: - None Changes in v6: - None Changes in v5: - Fixed the review comments Changes in v4: - None --- Documentation/mtd/nand/pl353-nand.txt | 92 +++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 Documentation/mtd/nand/pl353-nand.txt diff --git a/Documentation/mtd/nand/pl353-nand.txt b/Documentation/mtd/nand/pl353-nand.txt new file mode 100644 index 0000000..ac6fbd5 --- /dev/null +++ b/Documentation/mtd/nand/pl353-nand.txt @@ -0,0 +1,92 @@ +This documents provides some notes about the ARM pl353 smc controller used in +Zynq SOC and confined to NAND specific details. + +Overview of the controller +========================== + The SMC (PL353) supports two memory interfaces: + Interface 0 type SRAM. + Interface 1 type NAND. + This configuration supports the following configurable options: + . 32-bit or 64-bit AXI data width + . 8-bit, 16-bit, or 32-bit memory data width for interface 0 + . 8-bit, or 16-bit memory data width for interface 1 + . 1-4 chip selects on each interface + . SLC ECC block for interface 1 + +For more information, refer the below link for TRM +http://infocenter.arm.com/help/topic/com.arm.doc.ddi0380g/ +DDI0380G_smc_pl350_series_r2p1_trm.pdf + +NAND memory accesses +==================== + . Two phase NAND accesses + . NAND command phase transfers + . NAND data phase transfers + +Two phase NAND accesses + The SMC defines two phases of commands when transferring data to or from +NAND flash. + +Command phase + Commands and optional address information are written to the NAND flash. +The command and address can be associated with either a data phase operation to +write to or read from the array, or a status/ID register transfer. + +Data phase + Data is either written to or read from the NAND flash. This data can be either +data transferred to or from the array, or status/ID register information. + +NAND AXI address setup + AXI address Command phase Data phase + [31:24] Chip address Chip address + [23] NoOfAddCycles_2 Reserved + [22] NoOfAddCycles_1 Reserved + [21] NoOfAddCycles_0 ClearCS + [20] End command valid End command valid + [19] 0 1 + [18:11] End command End command + [10:3] Start command [10] ECC Last + [9:3] Reserved + [2:0] Reserved Reserved + +ECC +=== + It operates on a number of 512 byte blocks of NAND memory and can be +programmed to store the ECC codes after the data in memory. For writes, +the ECC is written to the spare area of the page. For reads, the result of +a block ECC check are made available to the device driver. + +------------------------------------------------------------------------ +| n * 512 blocks | extra | ecc | | +| | block | codes | | +------------------------------------------------------------------------ + +The ECC calculation uses a simple Hamming code, using 1-bit correction 2-bit +detection. It starts when a valid read or write command with a 512 byte aligned +address is detected on the memory interface. + +Driver details +============== + The NAND driver has dependency with the pl353_smc memory controller +driver for intializing the nand timing parameters, bus width, ECC modes, +control and status information. + +Since the controller expects that the chipselect bit should be cleared for the +last data transfer i.e last 4 data bytes, the existing nandbase page +read/write routines for soft ecc and ecc none modes will not work. So, inorder +to make this driver work, it always updates the ecc mode as HW ECC and +implemented the page read/write functions for supporting the SW ECC. + +HW ECC mode: + Upto 2K page size is supported and beyond that it retuns +-ENOSUPPORT error. If the flsh has ONDIE ecc controller then the +priority has given to the ONDIE ecc controller. Also the current +implementation has support for upto 64 byte oob area + +SW ECC mode: + It supports all the pgae sizes. But since, zynq soc bootrom uses +HW ECC for the devices that have pgae size <=2K so, to avoid any ecc related +issues during boot, prefer HW ECC over SW ECC. + +For devicetree binding information please refer the below dt binding file +Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt. -- 2.7.4