From patchwork Thu Aug 16 07:07:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Genoud X-Patchwork-Id: 1329981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 93C11DF280 for ; Thu, 16 Aug 2012 07:10:20 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T1uBL-0007Tl-7f; Thu, 16 Aug 2012 07:07:51 +0000 Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T1uBI-0007T7-FU for linux-arm-kernel@lists.infradead.org; Thu, 16 Aug 2012 07:07:49 +0000 Received: by lagu2 with SMTP id u2so1193226lag.36 for ; Thu, 16 Aug 2012 00:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=W027v0Ks1XtXKVJO01ZDwDoi51QLeiDP4/iSctggf8c=; b=w0HQFpmcyyCAHMauCBZA4lkOUbZyg4pOrV2TACdJjqmMKoRUdTuKDqlQS8eBKUajoP thZeDtl9Yrfpxc6QKZhl3NfWMZrKXR5LBH9/T3SW1teI+tNh6KMntkZBuzsxzYs+HgdK ciQmuWY/KOUNFOXM03k61c9L/7eyYPv+Ma7x1+0WKtPppOVnwj7VR9DloYj25ueiMiUN 8/sbF7XpiUqgjKNZJSHgq74HSOjfqzpZDWTNGwRlLkII84dnTdTm3dREqq0q11nwpOfz ahcTcEha//GpTm5g0Pdj382uiAPejPuVwWquhEoPm0W5jyHmob/oKkkJiDC+Gxjl6bvN zCjA== Received: by 10.152.104.146 with SMTP id ge18mr250739lab.7.1345100865498; Thu, 16 Aug 2012 00:07:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.29.1 with HTTP; Thu, 16 Aug 2012 00:07:25 -0700 (PDT) In-Reply-To: <502A8F5C.6000303@atmel.com> References: <1344952177-18385-1-git-send-email-richard.genoud@gmail.com> <502A6EEC.2010807@atmel.com> <20120814174425.GD8836@game.jcrosoft.org> <502A8F5C.6000303@atmel.com> From: Richard Genoud Date: Thu, 16 Aug 2012 09:07:25 +0200 Message-ID: Subject: Re: [PATCH 00/23] work in progress: SPI controller w/DMA SAM9X5 To: Nicolas Ferre X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (richard.genoud[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Jean-Christophe PLAGNIOL-VILLARD , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 2012/8/14 Nicolas Ferre : >>>> add at91sam9x5 Kconfig ARCH/SOC link >>> >>> Is it fixup for a bug? Jean-Christophe, a though about this one? >> no the ARCH_xxx is old style can not be used on DT only soc >> >> this patch need to be droped > > That is what I suspected, thanks J. Yes, Jean-Christophe is right. This patch needs to be dropped, and this one should be applied instead: help Say Y here if you want the Atmel SPI driver to use the DMA engine. Data transfers Richard. diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 169592a..f45d823 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -76,7 +76,7 @@ config SPI_ATMEL config SPI_ATMEL_DMA bool "Atmel SPI DMA support" - depends on SPI_ATMEL && (ARCH_AT91SAM9G45 || ARCH_AT91SAM9X5) && DMA_ENGINE && EXPERIMENTAL + depends on SPI_ATMEL && (SOC_AT91SAM9G45 || SOC_AT91SAM9X5) && DMA_ENGINE && EXPERIMENTAL default y