From patchwork Mon Jan 9 16:13:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 90521 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp154883qgi; Mon, 9 Jan 2017 08:14:02 -0800 (PST) X-Received: by 10.99.174.4 with SMTP id q4mr160166665pgf.178.1483978441998; Mon, 09 Jan 2017 08:14:01 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si70407147plb.313.2017.01.09.08.14.01; Mon, 09 Jan 2017 08:14:01 -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 S1031429AbdAIQNt (ORCPT + 4 others); Mon, 9 Jan 2017 11:13:49 -0500 Received: from mail-wj0-f178.google.com ([209.85.210.178]:35611 "EHLO mail-wj0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034857AbdAIQNl (ORCPT ); Mon, 9 Jan 2017 11:13:41 -0500 Received: by mail-wj0-f178.google.com with SMTP id i20so67475475wjn.2 for ; Mon, 09 Jan 2017 08:13:41 -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=rhIF/82v7UfADyoiANw1kOWfvK4e1g5R00TuUWTHPn0=; b=D6VXIVPwVFq1T03Ep/0aEmJ5QLjISMQOcpFPDe0Nb3t0+ZGt9Oc+oVZWb76JlVf8Xt h/3ByrntuMrja8BFge4Z1TvYAMPxYGZP+VCm3GTKLnLMlOkQf4KNuz2/bGAGOy0IfOkU 1gvXIxgP1QhSQufv6r/wFLggE/Aoohi3EP9XaCJGTkAFWAN+8U8ZIooreYwrSukRZBco jqW/jNaI95QrYwMTCBWFWW4Dg0L8x5Bg2AWUfz6uQ9/4cxQH1wbvxildGBl4cTVy0oRN a3V7uDotkQsgfIa89dROAGq8B5GPMW1TV9Age0CbVdZ+VGKd7765cZh68QxaPdyRm28e 1fNw== 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=rhIF/82v7UfADyoiANw1kOWfvK4e1g5R00TuUWTHPn0=; b=A78DQZw1lWaF8dCqhIhSGf9ZawJJgLKR0y6Lok+kkvrNdbi7w8urv6y8YFaS90pP9e W9qoV5naik9bsqPLznf4nUVO4MdUmZ5y8XE2Q91PfIXEbdOIX1fIqDCBUnBM1/RcRI3T secCjAFk8vh9sxA0ElttV5McvIRuB0EFO4or+1rkmUJXbqG84deSvmJADL3jTGuaiSA0 oejNgtpouXebPxIUZLK6o84SB8KFnBdZe6ZinMrQT8Ez93tehGq0Fj4+ShJWR1m6IeGS uXXol0VF+HAxRuN+AShnGe+joWha/BVmli7eHQg8r29KLNXn/KEFhnrlzr7QWLdX5FcE H+WQ== X-Gm-Message-State: AIkVDXIOvGDjw6X3K0WgxDawPH3VLN9zLzofUFO6kKZjRMzI8yiqbE4pBP0TMD9H1eMtQsxR X-Received: by 10.194.123.170 with SMTP id mb10mr76668775wjb.158.1483978420262; Mon, 09 Jan 2017 08:13:40 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id o132sm19576857wmo.17.2017.01.09.08.13.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jan 2017 08:13:39 -0800 (PST) From: Alexandre Bailon To: nsekhar@ti.com Cc: vinod.koul@intel.com, dmaengine@vger.kernel.org, linux-usb@vger.kernel.org, khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, b-liu@ti.com, david@lechnology.com, Alexandre Bailon Subject: [PATCH] ARM: davinci: da850: Share the usb20 clock Date: Mon, 9 Jan 2017 17:13:36 +0100 Message-Id: <20170109161336.3759-2-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170109161336.3759-1-abailon@baylibre.com> References: <20170109161336.3759-1-abailon@baylibre.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On da850, the cppi41 dma controller and usb core are the usb20 clock. Currently, this clock can only be used by the da8xx musb glue driver. Update the usb20 clock to be requested by more than one user. Signed-off-by: Alexandre Bailon --- arch/arm/mach-davinci/da850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 1d873d1..57e8049 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -567,7 +567,7 @@ static struct clk_lookup da850_clks[] = { */ CLK(NULL, "aemif", &aemif_nand_clk), CLK("ohci-da8xx", "usb11", &usb11_clk), - CLK("musb-da8xx", "usb20", &usb20_clk), + CLK(NULL, "usb20", &usb20_clk), CLK("spi_davinci.0", NULL, &spi0_clk), CLK("spi_davinci.1", NULL, &spi1_clk), CLK("vpif", NULL, &vpif_clk),