From patchwork Thu Apr 11 04:51:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 2426501 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 8195ADF230 for ; Thu, 11 Apr 2013 04:51:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751792Ab3DKEve (ORCPT ); Thu, 11 Apr 2013 00:51:34 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:34195 "EHLO relmlor3.renesas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751765Ab3DKEvd (ORCPT ); Thu, 11 Apr 2013 00:51:33 -0400 Received: from relmlir4.idc.renesas.com ([10.200.68.154]) by relmlor3.idc.renesas.com ( SJSMS) with ESMTP id <0ML200HF7QTSXJE0@relmlor3.idc.renesas.com> for linux-sh@vger.kernel.org; Thu, 11 Apr 2013 13:51:28 +0900 (JST) Received: from relmlac2.idc.renesas.com ([10.200.69.22]) by relmlir4.idc.renesas.com ( SJSMS) with ESMTP id <0ML2009ZRQTSPOC0@relmlir4.idc.renesas.com> for linux-sh@vger.kernel.org; Thu, 11 Apr 2013 13:51:28 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 9BB98280A4; Thu, 11 Apr 2013 13:51:28 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 96398280A0; Thu, 11 Apr 2013 13:51:28 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id PAQ26274; Thu, 11 Apr 2013 13:51:28 +0900 X-IronPort-AV: E=Sophos; i="4.87,451,1363100400"; d="scan'208"; a="123729860" Received: from unknown (HELO [172.30.8.120]) ([172.30.8.120]) by relmlii2.idc.renesas.com with ESMTP; Thu, 11 Apr 2013 13:51:28 +0900 Message-id: <51664150.6040508@renesas.com> Date: Thu, 11 Apr 2013 13:51:28 +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 v6 1/2] 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 v6: - There is a new patch, but I say v6. 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 dec088d..37ee004 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -171,15 +171,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.