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: 9505491 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 9E9F860710 for ; Mon, 9 Jan 2017 16:39:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88F712847F for ; Mon, 9 Jan 2017 16:39:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DBF628483; Mon, 9 Jan 2017 16:39:26 +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=unavailable 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 34DE52849A for ; Mon, 9 Jan 2017 16:39:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762693AbdAIQjT (ORCPT ); Mon, 9 Jan 2017 11:39:19 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:35779 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762675AbdAIQjJ (ORCPT ); Mon, 9 Jan 2017 11:39:09 -0500 Received: by mail-wm0-f42.google.com with SMTP id a197so103650147wmd.0 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=KITQK0zOwhWyQ958yJ9GGstEzetIdbEvZVnLNsMsGZz/A7A8YUvIGXLhdeqpAGJ3WU kl/u8SAVfj5YPyBGeJzd6YpDWVZX7LDP4+sBNC28NO7iZfN8cI+IyHsgLCEl4Sd98749 l7fjKA+EB5ri1lDkQeW2/rrkIW3vyR/FWYDZkaUaQALB0scRoaSYYR/iv7UifJvhZA2I wfzhmkLJxRPjxcS1oLpPCFgoSPZLAHwRg6m4q2OR5zRKvMLfE6xT9M2kMm/EVVrJGzBM bJDc/0U1EBcqzA89g7bQ3L6loxbSdhUk8dy9EKIbc/pyxbAL/jG0UXKrg5ksMjgUk24Q banQ== X-Gm-Message-State: AIkVDXLqE6VA6Y5pUy24YrZtase4L8PbWLMWMaA0kmewxFBxTQSMvJAhsFOjJm3spyHXbFja 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: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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