From patchwork Mon Jan 9 16:39:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9505485 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 193AB6075F for ; Mon, 9 Jan 2017 16:39:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 036F82847F for ; Mon, 9 Jan 2017 16:39:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC3DB28494; Mon, 9 Jan 2017 16:39:18 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 98E4C28483 for ; Mon, 9 Jan 2017 16:39:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762690AbdAIQjR (ORCPT ); Mon, 9 Jan 2017 11:39:17 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:34397 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762678AbdAIQjJ (ORCPT ); Mon, 9 Jan 2017 11:39:09 -0500 Received: by mail-wm0-f48.google.com with SMTP id f73so14471470wmf.1 for ; Mon, 09 Jan 2017 08:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EvGfXyJRH2JmNZ2It9+Iqlz0eA7C5xinaa6HOuBjHvU=; b=A8nTIdVvNORqJlA+7ra9csRz0VNDYhj+KwDhZgk90W736LCzOYwN2pIjF5pV7GF8qV buI92YtTA/cAHz2E13U10h4x/uhQjkTPD2eomshbn0/p7lOMacd9AMfYtxtl3c/gJaCQ BK99lpanByhGdzricILs9PBcziVQgkR6v6SfnY7Rq8MGj3turhIPeDshZQZRuR3eYA0D 9sp0Gr7a6326Fb3X0rV0DW5OxX7vxHzYjGJ5u/Pzsd5Ux7WQXoZ7wYM6J4IQprltfpEv ZMwvmM+FjTWxvg4v++BC0HtAXwCOdvLrJRnBBuRxeR2CjDLVNByzFfcCJK4foog1BW6G 06BA== 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:in-reply-to :references; bh=EvGfXyJRH2JmNZ2It9+Iqlz0eA7C5xinaa6HOuBjHvU=; b=KUk2FkBjJmWLdHtiBRrdVW2bTJnSmp8fj/qmv+0HaEaVn4G4m0sF9vAF1kGW+xbeGQ 1VpvpLmXVax9gPEJlb5rpwy7p3A3slQTm6UNMq7LgHsaFci9d5ApCnASkHJW+mW5ma8y YrCjhLYb0U6Y016angOEVhNN6musVn6p4/jU6WtWAh/tvo7LZ9RxI5sRPjGzzaotjFcr 4t6rLXbB4FpMnSQnwOvy4MtPHm/fciKEHYlygDMkshr75TBzudFYExg5yTfJGkAFyJEu Ncd9wvSl3Vf49XeVsLGKG+2mUOQ3LIJpqJSHxhH75/KVmeSYS8TRM9mdMnGoqBF3eVWr sRcw== X-Gm-Message-State: AIkVDXKwxaPrVbT86BCIOqTSriNDD94jBnBlIpWqIruukaw96IynMm11o80qK0wmDpoT5H36 X-Received: by 10.28.27.133 with SMTP id b127mr5495202wmb.59.1483979947690; Mon, 09 Jan 2017 08:39:07 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id n5sm19733391wmf.0.2017.01.09.08.39.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jan 2017 08:39:07 -0800 (PST) From: Alexandre Bailon To: b-liu@ti.com Cc: vinod.koul@intel.com, dmaengine@vger.kernel.org, linux-usb@vger.kernel.org, nsekhar@ti.com, khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, david@lechnology.com, Alexandre Bailon Subject: [PATCH 2/4] usb: musb: Add support of cppi41 dma controller for da8xx to Kconfig Date: Mon, 9 Jan 2017 17:39:00 +0100 Message-Id: <20170109163902.5268-3-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170109163902.5268-1-abailon@baylibre.com> References: <20170109163902.5268-1-abailon@baylibre.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Currently, cppi41 driver can only be built for omap platform. As da8xx platform has a cppi41 dma controller, update the Kconfig to also support the da8xx. Signed-off-by: Alexandre Bailon --- drivers/dma/Kconfig | 2 +- drivers/usb/musb/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 0d6a96e..8fe9de7 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -515,7 +515,7 @@ config TIMB_DMA config TI_CPPI41 tristate "AM33xx CPPI41 DMA support" - depends on ARCH_OMAP + depends on (ARCH_OMAP || ARCH_DAVINCI_DA8XX) select DMA_ENGINE help The Communications Port Programming Interface (CPPI) 4.1 DMA engine diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 72a2a50..3018518 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -160,8 +160,8 @@ config USB_TI_CPPI_DMA Enable DMA transfers when TI CPPI DMA is available. config USB_TI_CPPI41_DMA - bool 'TI CPPI 4.1 (AM335x)' - depends on ARCH_OMAP && DMADEVICES + bool 'TI CPPI 4.1 (AM335x or DA8xx)' + depends on (ARCH_OMAP || ARCH_DAVINCI_DA8XX) && DMADEVICES select TI_CPPI41 config USB_TUSB_OMAP_DMA