From patchwork Wed Apr 23 10:16:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huang Shijie X-Patchwork-Id: 341800 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3556D1400DF for ; Wed, 23 Apr 2014 21:30:34 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751609AbaDWLac (ORCPT ); Wed, 23 Apr 2014 07:30:32 -0400 Received: from mail-bl2lp0209.outbound.protection.outlook.com ([207.46.163.209]:26539 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751047AbaDWLab (ORCPT ); Wed, 23 Apr 2014 07:30:31 -0400 Received: from DM2PR03CA004.namprd03.prod.outlook.com (10.141.52.152) by BY2PR03MB427.namprd03.prod.outlook.com (10.141.141.146) with Microsoft SMTP Server (TLS) id 15.0.921.12; Wed, 23 Apr 2014 11:14:13 +0000 Received: from BY2FFO11FD015.protection.gbl (2a01:111:f400:7c0c::182) by DM2PR03CA004.outlook.office365.com (2a01:111:e400:2414::24) with Microsoft SMTP Server (TLS) id 15.0.921.12 via Frontend Transport; Wed, 23 Apr 2014 11:14:12 +0000 Received: from az84smr01.freescale.net (192.88.158.246) by BY2FFO11FD015.mail.protection.outlook.com (10.1.14.131) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Wed, 23 Apr 2014 11:14:12 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s3NBDxmW008408; Wed, 23 Apr 2014 04:14:09 -0700 From: Huang Shijie To: CC: , , , , , , , Huang Shijie Subject: [PATCH v1 3/7] Documentation: mtd: add a new document for SPI NOR flash Date: Wed, 23 Apr 2014 18:16:51 +0800 Message-ID: <1398248215-26768-4-git-send-email-b32955@freescale.com> X-Mailer: git-send-email 1.7.2.rc3 In-Reply-To: References: X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.246; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(6009001)(428001)(199002)(189002)(50986999)(50226001)(77156001)(81542001)(81342001)(87936001)(77982001)(31966008)(74502001)(33646001)(88136002)(74662001)(92566001)(77096999)(93916002)(11926002)(79102001)(76176999)(99396002)(92726001)(4396001)(87286001)(80976001)(89996001)(46102001)(76482001)(62966002)(6806004)(80022001)(19580405001)(19580395003)(83072002)(47776003)(20776003)(83322001)(85852003)(48376002)(44976005)(36756003)(50466002)(42262001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB427; H:az84smr01.freescale.net; FPR:793C44DC.2F35C428.DBF78B20.80DAB6B9.20193; MLV:sfv; PTR:gate-az5.freescale.com; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Forefront-PRVS: 01901B3451 Received-SPF: None (: freescale.com does not designate permitted sender hosts) X-OriginatorOrg: freescale.com Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org We need a DT property to store the dummy cycles for DDR Quad read. This is a common feature for the SPI NOR flash, such as Spansion and Micron chips. Add this file to describe this specific SPI NOR flash features which will be referred by the SPI NOR flash drivers. Signed-off-by: Huang Shijie --- .../devicetree/bindings/mtd/spi-nor-flash.txt | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/spi-nor-flash.txt diff --git a/Documentation/devicetree/bindings/mtd/spi-nor-flash.txt b/Documentation/devicetree/bindings/mtd/spi-nor-flash.txt new file mode 100644 index 0000000..aba4d54 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/spi-nor-flash.txt @@ -0,0 +1,7 @@ +This file defines some DT properties for specific SPI NOR flash features. +The SPI NOR controller drivers may refer to this file, such as fsl-quadspi.txt + +Optional properties: + - spi-nor,ddr-quad-read-dummy: The dummy cycles used by the DDR Quad read. + Please refer to the chip's datasheet. This + property can be 4 or 6 which is less then 8.