From patchwork Mon Apr 22 09:07:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 2470691 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 7693DDF23A for ; Mon, 22 Apr 2013 09:08:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754987Ab3DVJIE (ORCPT ); Mon, 22 Apr 2013 05:08:04 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:52372 "EHLO relmlor3.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754984Ab3DVJIE (ORCPT ); Mon, 22 Apr 2013 05:08:04 -0400 Received: from relmlir4.idc.renesas.com ([10.200.68.154]) by relmlor3.idc.renesas.com ( SJSMS) with ESMTP id <0MLN0070FG1CD340@relmlor3.idc.renesas.com> for linux-sh@vger.kernel.org; Mon, 22 Apr 2013 18:08:00 +0900 (JST) Received: from relmlac1.idc.renesas.com ([10.200.69.21]) by relmlir4.idc.renesas.com ( SJSMS) with ESMTP id <0MLN00J2LG1CTAC0@relmlir4.idc.renesas.com> for linux-sh@vger.kernel.org; Mon, 22 Apr 2013 18:08:00 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 1FAAE80195; Mon, 22 Apr 2013 18:07:58 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id BAAB580193; Mon, 22 Apr 2013 18:07:58 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id UAH08800; Mon, 22 Apr 2013 18:07:58 +0900 X-IronPort-AV: E=Sophos; i="4.87,525,1363100400"; d="scan'208"; a="125073300" Received: from unknown (HELO [10.161.41.141]) ([10.161.41.141]) by relmlii2.idc.renesas.com with ESMTP; Mon, 22 Apr 2013 18:07:54 +0900 Message-id: <5174FDEA.9050301@renesas.com> Date: Mon, 22 Apr 2013 18:07:54 +0900 From: "Shimoda, Yoshihiro" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-version: 1.0 To: Vinod Koul Cc: Guennadi Liakhovetski , Magnus Damm , Paul Mundt , SH-Linux Subject: [PATCH 1/2 v7] dma: sh: add Kconfig Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org This patch adds Kconfig in the drivers/dma/sh. Signed-off-by: Yoshihiro Shimoda --- about v7: - rebase this patch on the current remotes/origin/next branch of slave-dma.git. drivers/dma/Kconfig | 10 +--------- drivers/dma/sh/Kconfig | 11 +++++++++++ 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 drivers/dma/sh/Kconfig diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index afe5b19..e992489 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -172,15 +172,7 @@ config TEGRA20_APB_DMA This DMA controller transfers data from memory to peripheral fifo or vice versa. It does not support memory to memory data transfer. - - -config SH_DMAE - tristate "Renesas SuperH DMAC support" - depends on (SUPERH && SH_DMA) || (ARM && ARCH_SHMOBILE) - depends on !SH_DMA_API - select DMA_ENGINE - help - Enable support for the Renesas SuperH DMA controllers. +source "drivers/dma/sh/Kconfig" config COH901318 bool "ST-Ericsson COH901318 DMA support" diff --git a/drivers/dma/sh/Kconfig b/drivers/dma/sh/Kconfig new file mode 100644 index 0000000..7e85ad6 --- /dev/null +++ b/drivers/dma/sh/Kconfig @@ -0,0 +1,11 @@ +# +# DMA engine configuration for sh +# + +config SH_DMAE + tristate "Renesas SuperH DMAC support" + depends on (SUPERH && SH_DMA) || (ARM && ARCH_SHMOBILE) + depends on !SH_DMA_API + select DMA_ENGINE + help + Enable support for the Renesas SuperH DMA controllers.