From patchwork Tue Jun 6 22:53:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9770109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C12086034B for ; Tue, 6 Jun 2017 22:54:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 997E61FF4A for ; Tue, 6 Jun 2017 22:54:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A95120453; Tue, 6 Jun 2017 22:54:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBCAF1FF4A for ; Tue, 6 Jun 2017 22:54:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751433AbdFFWyb (ORCPT ); Tue, 6 Jun 2017 18:54:31 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:34300 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430AbdFFWya (ORCPT ); Tue, 6 Jun 2017 18:54:30 -0400 Received: by mail-qt0-f194.google.com with SMTP id o21so22665492qtb.1 for ; Tue, 06 Jun 2017 15:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=CoYzvv6sIrr5Z72DSJTlmY836AYq+qzMo2lDuN3ncig=; b=dPHZ3Mf6P1QJT+jl6HBSynHnMaY7xuTGqTQNi1XNKOBYF4i0NI5+9+a0yedkde/E0o CBCr4gLNg0j1GEArBGN1H35AwvlUhDSBUdMD0w02Gn0/IpdFm22+kYTo9fLUnGZGG5H2 fIgFtjFdW7KM3vIEn74mf48FENF9960GCm6Uq+uLg6GFzgTRzctN9WCy2K8OM1Kbohwo 7/BDx+vK9wEQD55oQZ6W/Bxkwnj/rW3ZHa5eiQPyDXfsz0HGGwaGxJgdwtsG4ZO00Bu0 xr9UPlhRWyaCvh1ykTF6OsZtr8MZifJ8JB7bM2rDSLJtgD7PbtDsLaBIHhZBWbB192S7 9Xrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CoYzvv6sIrr5Z72DSJTlmY836AYq+qzMo2lDuN3ncig=; b=Csj81nK+Bb6q7oacijKoodXXEa2LJJwf51MkUZ95H3+U6f8YfbC2Y2b55BMdGA5F0g QCNincXPDC9p63iEr08gnghOPCjTUyn7XTl1IURIpl5l+RmgAWkvbXTDQ4QYy2BDVHiH cg7p6ZPbUDQ2tv0epadrP9fOL6b6F0iiZ+9QF0lb334teEBYaxzgLG85rLRkF5kAfZCs gWXS+BtysX3pPy1chvGwJbmc2Bm0qUSN2r02mlO5zjJijRoDXLMhzeupwdJ7QuDHT867 0eOEP5/JJTwl1Cw0pTy0qFineoBbNUXBv/xVfHJKXOjFl1m/Dy141KzIx6aegaai4/es Mxcg== X-Gm-Message-State: AKS2vOzkLMBVrsHJIFCCNMNJ1kGUsoYhGh4HqSlLoQiqxh9BlcxGrWN+ LywZkFOV03ErVA== X-Received: by 10.200.3.47 with SMTP id q47mr3705207qtg.3.1496789670034; Tue, 06 Jun 2017 15:54:30 -0700 (PDT) Received: from localhost.localdomain ([189.61.213.245]) by smtp.gmail.com with ESMTPSA id b69sm12735644qkb.51.2017.06.06.15.54.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Jun 2017 15:54:29 -0700 (PDT) From: Fabio Estevam To: vinod.koul@intel.com Cc: dmaengine@vger.kernel.org, stefan@agner.ch, shawnguo@kernel.org, kernel@pengutronix.de, Fabio Estevam Subject: [PATCH v2] dmaengine: Kconfig: Extend the dependency for MXS_DMA Date: Tue, 6 Jun 2017 19:53:15 -0300 Message-Id: <1496789595-12284-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Currently it is not possible to select the mxs dma driver when only mx6sx or mx7 are selected. Extend the dependency to allow the mxs dma driver to be built whenever ARCH_MXS or ARCH_MXC is selected. This has the benefit to avoid having to add new entries in the MXS_DMA Kconfig everytime a new i.MX SoC shows up and it also makes it consistent with the other i.MX DMA engines, such as IMX_DMA and IMX_SDMA. Signed-off-by: Fabio Estevam Acked-by: Stefan Agner --- Changes since v1: - Instead of adding new entries for mx6sx and mx7d, make the dependency wider drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index fd72469..45cd332 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -371,7 +371,7 @@ config MV_XOR_V2 config MXS_DMA bool "MXS DMA support" - depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q || SOC_IMX6UL + depends on ARCH_MXS || ARCH_MXC select STMP_DEVICE select DMA_ENGINE help