From patchwork Thu Sep 25 10:24:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chao Fu X-Patchwork-Id: 4974261 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 997E99F1D4 for ; Thu, 25 Sep 2014 11:33:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EE5CA2025A for ; Thu, 25 Sep 2014 11:33:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A73B52020E for ; Thu, 25 Sep 2014 11:33:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751302AbaIYLdb (ORCPT ); Thu, 25 Sep 2014 07:33:31 -0400 Received: from mail-bn1on0145.outbound.protection.outlook.com ([157.56.110.145]:2445 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751368AbaIYLda (ORCPT ); Thu, 25 Sep 2014 07:33:30 -0400 X-Greylist: delayed 919 seconds by postgrey-1.27 at vger.kernel.org; Thu, 25 Sep 2014 07:33:30 EDT Received: from CH1PR03CA008.namprd03.prod.outlook.com (10.255.156.153) by BLUPR03MB166.namprd03.prod.outlook.com (10.255.212.142) with Microsoft SMTP Server (TLS) id 15.0.1039.15; Thu, 25 Sep 2014 11:17:59 +0000 Received: from BN1AFFO11FD005.protection.gbl (10.255.156.132) by CH1PR03CA008.outlook.office365.com (10.255.156.153) with Microsoft SMTP Server (TLS) id 15.0.1039.15 via Frontend Transport; Thu, 25 Sep 2014 11:17:59 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD005.mail.protection.outlook.com (10.58.52.65) with Microsoft SMTP Server (TLS) id 15.0.1029.15 via Frontend Transport; Thu, 25 Sep 2014 11:17:57 +0000 Received: from rock.ap.freescale.net (rock.ap.freescale.net [10.193.20.106]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s8PBHkAF013230; Thu, 25 Sep 2014 04:17:54 -0700 From: Chao Fu To: , , CC: , , , Chao Fu , Chao Fu Subject: [PATCH 3/3] Documentation:spi:fsl-dspi:add DSPI tcf transfer support Date: Thu, 25 Sep 2014 18:24:25 +0800 Message-ID: <1411640665-20671-3-git-send-email-b44548@freescale.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1411640665-20671-1-git-send-email-b44548@freescale.com> References: <1411640665-20671-1-git-send-email-b44548@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(120916001)(107046002)(217423001)(74662003)(10300001)(62966002)(48376002)(84676001)(106466001)(44976005)(31966008)(83072002)(19580405001)(6806004)(47776003)(20776003)(83322001)(19580395003)(85852003)(46102003)(21056001)(81542003)(90102001)(77982003)(95666004)(81342003)(85306004)(64706001)(74502003)(79102003)(89996001)(80022003)(104016003)(102836001)(97736003)(86362001)(50986999)(77156001)(87936001)(36756003)(99396003)(92566001)(92726001)(93916002)(2201001)(50226001)(4396001)(33646002)(88136002)(105606002)(104166001)(76176999)(87286001)(76482002)(68736004)(229853001)(50466002)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB166; H:tx30smr01.am.freescale.net; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB166; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 0345CFD558 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=B44548@freescale.com; X-OriginatorOrg: freescale.com Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Chao Fu Add bool value tcfq-mode or eoq-mode. The bool will determine DSPI transfer data mode (tcfq or eoq) in a platform. Signed-off-by: Chao Fu --- Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt index cbbe16e..635387c 100644 --- a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt +++ b/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt @@ -10,6 +10,8 @@ Required properties: - pinctrl-names: must contain a "default" entry. - spi-num-chipselects : the number of the chipselect signals. - bus-num : the slave chip chipselect signal number. +- eoq-mode/tcfq-mode: enable EOQ/TCFQ interrupt to receive data + according to different platform. Optional property: - big-endian: If present the dspi device's registers are implemented @@ -28,6 +30,7 @@ dspi0@4002c000 { clock-names = "dspi"; spi-num-chipselects = <5>; bus-num = <0>; + eoq-mode; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_dspi0_1>; big-endian;