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: 90533 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp166098qgi; Mon, 9 Jan 2017 08:39:23 -0800 (PST) X-Received: by 10.99.170.70 with SMTP id x6mr8876622pgo.14.1483979963065; Mon, 09 Jan 2017 08:39:23 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d67si744207pfe.39.2017.01.09.08.39.22; Mon, 09 Jan 2017 08:39:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762670AbdAIQjV (ORCPT + 4 others); Mon, 9 Jan 2017 11:39:21 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:35778 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762676AbdAIQjJ (ORCPT ); Mon, 9 Jan 2017 11:39:09 -0500 Received: by mail-wm0-f53.google.com with SMTP id a197so103650133wmd.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=eMC0vV+RhABJAa2M9Zjk2y+UxGDy8i6e8MFDsY5h2oX4oL1UOAr03tJpzC1+V9JRBi TA0ZQHKXOzUtHZs97zXj7U4nshDbRtNt6XgLCBIwDpe382KDhOwfgpZ+1sNmUGKgzKTD rFKXPBqKINW+KrhGAp+zWoGhMn1o7UqXst4DOwsdmfRiUEMBaNscEZNbzmJUFt4A9tAS lf0DU+DwOk2MNHhmTtRn5bF2pzZR6MamSgeVarsBEtYi2IH5W1PgWDnI1wh+vfYJCsDl JiUL1YAZZ7YGYCTipQCkvpzjJDoHWGpP2uHLkX8pifNklLgnc08Woo7iZHhaRsbhAMuy pFXw== X-Gm-Message-State: AIkVDXK+T9Nwg4nl9jBGQvaP6bBWCXSBBJozRjQbbRlYTC/EWz6NHaGAsWK7g4hTbrvsdhCP 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-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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