From patchwork Mon Jan 9 16:13:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9505389 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 A65456075F for ; Mon, 9 Jan 2017 16:13:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98D79284AA for ; Mon, 9 Jan 2017 16:13:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D830284B3; Mon, 9 Jan 2017 16:13:51 +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 818C6284AC for ; Mon, 9 Jan 2017 16:13:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034867AbdAIQNn (ORCPT ); Mon, 9 Jan 2017 11:13:43 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35392 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031456AbdAIQNk (ORCPT ); Mon, 9 Jan 2017 11:13:40 -0500 Received: by mail-wm0-f51.google.com with SMTP id a197so102908141wmd.0 for ; Mon, 09 Jan 2017 08:13:40 -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; bh=rhIF/82v7UfADyoiANw1kOWfvK4e1g5R00TuUWTHPn0=; b=LSerk5pKT4QpU8KhX8/4BW4+S5r9jl/dfDtSRQ2kTmkzhgm2+ZHEUzgZBWfHaYRpI0 QE6r/WdFtodhE2slVkZFQRHJkhra57yO+v2O6+ut2fyaCxIBYVJwtDqiRmRaEmUnnCxP M+pCqJeutVxK2Cz05uciM2M/qkgxd1AwA2BYo39S22J08/qlb+4epzRWp+AxtUe3hY9g rKBfRys3tMe1DFGVw19LTVfatzFJOVfKmNemLzcACCLUQh2WmJLG1VlgHipUuNh2xHrY g1XDCC6E7FiO+1I7Tz1sse1GPvcjzODujPEU2y+ml51TVLlDB7+T1W0jqHPT5S/4GSvB PD6w== 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=rhIF/82v7UfADyoiANw1kOWfvK4e1g5R00TuUWTHPn0=; b=LD6J9Cz126uca0UT0VBnvFam4/EQwjPbvKu2brSeywf1nDJUeZn+ae5AA7lniDbabJ nzsw15ZDfQntbMFlEm2dQWEitnWXovgg4Ijvcg7nW47881vLZJuSt0uJfclItdBoZiww 6YiccYmrUznP5h5dTpwVSLYqPA7C13dTzd/tl3Tkpgxd0ZpRb38LZoiPQZjAFLFwz4jC AtVcbleVvdUH8H3o9QVpGfaBUkG0Ujc4RZpB64QA30pHfTYggbZ8n655c3JotglxI2S9 Rf6YXyv+khMxGyGxKGWmBWuJTUO8qRuQ1wtPwbfPLRRZPxMPy9sPXJUmxeAHrrV8mz/c /JsQ== X-Gm-Message-State: AIkVDXLNi06VIDPrgsqeFeKewRDS8++ptb4lqVY1QBVmmYPZYsi2Fc8moyyWjugy7OJXjpuN X-Received: by 10.223.176.93 with SMTP id g29mr295138wra.12.1483978419374; Mon, 09 Jan 2017 08:13:39 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id o132sm19576857wmo.17.2017.01.09.08.13.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jan 2017 08:13:38 -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:35 +0100 Message-Id: <20170109161336.3759-1-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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),