From patchwork Thu Sep 30 08:00:46 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hu Mingkai-B21284 X-Patchwork-Id: 219172 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8U8fMYY015571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 30 Sep 2010 08:41:42 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1P1Ehd-00088l-P8; Thu, 30 Sep 2010 08:41:21 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1P1Ehc-00088c-4z for spi-devel-general@lists.sourceforge.net; Thu, 30 Sep 2010 08:41:20 +0000 X-ACL-Warn: Received: from va3ehsobe006.messaging.microsoft.com ([216.32.180.16] helo=VA3EHSOBE009.bigfish.com) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-MD5:128) (Exim 4.69) id 1P1Ehb-0007vK-6V for spi-devel-general@lists.sourceforge.net; Thu, 30 Sep 2010 08:41:20 +0000 Received: from mail68-va3-R.bigfish.com (10.7.14.245) by VA3EHSOBE009.bigfish.com (10.7.40.29) with Microsoft SMTP Server id 8.1.340.0; Thu, 30 Sep 2010 08:26:05 +0000 Received: from mail68-va3 (localhost.localdomain [127.0.0.1]) by mail68-va3-R.bigfish.com (Postfix) with ESMTP id C1B0115C04A8 for ; Thu, 30 Sep 2010 08:26:04 +0000 (UTC) X-SpamScore: 2 X-BigFish: VS2(z37d5kzbb2cKzz1202hzz8275bh92fbjz2dh2a8h63h) X-Spam-TCS-SCL: 2:0 Received: from mail68-va3 (localhost.localdomain [127.0.0.1]) by mail68-va3 (MessageSwitch) id 1285835164534522_30280; Thu, 30 Sep 2010 08:26:04 +0000 (UTC) Received: from VA3EHSMHS036.bigfish.com (unknown [10.7.14.238]) by mail68-va3.bigfish.com (Postfix) with ESMTP id 763AD22004E for ; Thu, 30 Sep 2010 08:26:04 +0000 (UTC) Received: from de01egw01.freescale.net (192.88.165.102) by VA3EHSMHS036.bigfish.com (10.7.99.46) with Microsoft SMTP Server (TLS) id 14.0.482.44; Thu, 30 Sep 2010 08:26:02 +0000 Received: from de01smr01.freescale.net (de01smr01.freescale.net [10.208.0.31]) by de01egw01.freescale.net (8.14.3/8.14.3) with ESMTP id o8U8Q2Zl006836 for ; Thu, 30 Sep 2010 01:26:02 -0700 (MST) Received: from zch01exm21.fsl.freescale.net (zch01exm21.ap.freescale.net [10.192.129.205]) by de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id o8U8eU0G025766 for ; Thu, 30 Sep 2010 03:40:43 -0500 (CDT) Received: from localhost ([10.193.20.106]) by zch01exm21.fsl.freescale.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 30 Sep 2010 16:25:49 +0800 From: Mingkai Hu To: linuxppc-dev@ozlabs.org, spi-devel-general@lists.sourceforge.net, linux-mtd@lists.infradead.org Subject: [PATCH v3 7/7] DTS: add fsl,spi-quirk-trans-len-limit property Date: Thu, 30 Sep 2010 16:00:46 +0800 Message-ID: <1285833646-12006-8-git-send-email-Mingkai.hu@freescale.com> X-Mailer: git-send-email 1.6.4 In-Reply-To: <1285833646-12006-7-git-send-email-Mingkai.hu@freescale.com> References: <1285833646-12006-1-git-send-email-Mingkai.hu@freescale.com> <1285833646-12006-2-git-send-email-Mingkai.hu@freescale.com> <1285833646-12006-3-git-send-email-Mingkai.hu@freescale.com> <1285833646-12006-4-git-send-email-Mingkai.hu@freescale.com> <1285833646-12006-5-git-send-email-Mingkai.hu@freescale.com> <1285833646-12006-6-git-send-email-Mingkai.hu@freescale.com> <1285833646-12006-7-git-send-email-Mingkai.hu@freescale.com> X-OriginalArrivalTime: 30 Sep 2010 08:25:49.0882 (UTC) FILETIME=[16BA79A0:01CB6079] MIME-Version: 1.0 X-Reverse-DNS: de01egw01.freescale.net X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 AWL AWL: From: address is in the auto white-list X-Headers-End: 1P1Ehb-0007vK-6V Cc: kumar.gala@freescale.com, tie-fei.zang@freescale.com, Mingkai Hu X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 30 Sep 2010 08:41:43 +0000 (UTC) diff --git a/Documentation/powerpc/dts-bindings/fsl/spi.txt b/Documentation/powerpc/dts-bindings/fsl/spi.txt index 777abd7..e1cb84e 100644 --- a/Documentation/powerpc/dts-bindings/fsl/spi.txt +++ b/Documentation/powerpc/dts-bindings/fsl/spi.txt @@ -41,6 +41,9 @@ Required properties: - interrupts : should contain eSPI interrupt, the device has one interrupt. - fsl,espi-num-chipselects : the number of the chipselect signals. +Optional properties: +- fsl,spi-quirk-trans-len-limit : the max trans length is limited to 0xFFFF. + Example: spi@110000 { #address-cells = <1>; diff --git a/arch/powerpc/boot/dts/mpc8536ds.dts b/arch/powerpc/boot/dts/mpc8536ds.dts index a75c10e..6911c76 100644 --- a/arch/powerpc/boot/dts/mpc8536ds.dts +++ b/arch/powerpc/boot/dts/mpc8536ds.dts @@ -116,6 +116,7 @@ interrupts = <59 0x2>; interrupt-parent = <&mpic>; fsl,espi-num-chipselects = <4>; + fsl,spi-quirk-trans-len-limit; flash@0 { #address-cells = <1>; diff --git a/arch/powerpc/boot/dts/p4080ds.dts b/arch/powerpc/boot/dts/p4080ds.dts index 5b7fc29..060fc45 100644 --- a/arch/powerpc/boot/dts/p4080ds.dts +++ b/arch/powerpc/boot/dts/p4080ds.dts @@ -243,6 +243,7 @@ interrupts = <53 0x2>; interrupt-parent = <&mpic>; fsl,espi-num-chipselects = <4>; + fsl,spi-quirk-trans-len-limit; flash@0 { #address-cells = <1>;