From patchwork Wed Mar 4 20:31:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tthayer@opensource.altera.com X-Patchwork-Id: 5940411 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D4471BF440 for ; Wed, 4 Mar 2015 21:05:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08E8C2034A for ; Wed, 4 Mar 2015 21:05:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 322C2202F8 for ; Wed, 4 Mar 2015 21:05:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751207AbbCDVFb (ORCPT ); Wed, 4 Mar 2015 16:05:31 -0500 Received: from mail-bl2on0077.outbound.protection.outlook.com ([65.55.169.77]:33158 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750973AbbCDVFb (ORCPT ); Wed, 4 Mar 2015 16:05:31 -0500 Received: from localhost.localdomain (64.129.157.38) by BY2PR03MB428.namprd03.prod.outlook.com (10.141.141.151) with Microsoft SMTP Server (TLS) id 15.1.112.13; Wed, 4 Mar 2015 20:31:26 +0000 From: To: , , , , , , , CC: , , , , , , , , , Subject: [RFC/PATCH 1/2] dt-binding: spi: spi-dw: Select 16b or 32b access for Designware SPI Date: Wed, 4 Mar 2015 14:31:14 -0600 Message-ID: <1425501075-17081-2-git-send-email-tthayer@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1425501075-17081-1-git-send-email-tthayer@opensource.altera.com> References: <1425501075-17081-1-git-send-email-tthayer@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BLUPR01CA034.prod.exchangelabs.com (25.160.23.24) To BY2PR03MB428.namprd03.prod.outlook.com (10.141.141.151) Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB428; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006); SRVR:BY2PR03MB428; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB428; X-Forefront-PRVS: 0505147DDB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(42186005)(86362001)(87976001)(92566002)(47776003)(50466002)(66066001)(76176999)(50986999)(48376002)(40100003)(19580395003)(46102003)(33646002)(50226001)(86152002)(2201001)(229853001)(77156002)(62966003)(19580405001)(2950100001)(122386002)(77096005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB428; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2015 20:31:26.3251 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB428 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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: Thor Thayer Altera's Arria10 architecture requires a 32bit accesses for peripherals. The current spi-dw driver uses 16bit accesses in some locations. This patch updated the bindings with an optional field the devicetree can use to select 32bit accesses. Signed-off-by: Thor Thayer --- Documentation/devicetree/bindings/spi/spi-dw.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-dw.txt b/Documentation/devicetree/bindings/spi/spi-dw.txt index 7b63ed6..034dbdd 100644 --- a/Documentation/devicetree/bindings/spi/spi-dw.txt +++ b/Documentation/devicetree/bindings/spi/spi-dw.txt @@ -11,6 +11,7 @@ Required properties: Optional properties: - cs-gpios: see spi-bus.txt +- 32bit_access : use 32 bit register accesses Example: