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: 9505391 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 97B6860757 for ; Mon, 9 Jan 2017 16:13:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A6E5284AA for ; Mon, 9 Jan 2017 16:13:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F236284AC; Mon, 9 Jan 2017 16:13:52 +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 6124B284B1 for ; Mon, 9 Jan 2017 16:13:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034866AbdAIQNn (ORCPT ); Mon, 9 Jan 2017 11:13:43 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:36124 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031407AbdAIQNk (ORCPT ); Mon, 9 Jan 2017 11:13:40 -0500 Received: by mail-wm0-f48.google.com with SMTP id c85so102699445wmi.1 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=TIRIZlgWZE+bvIxUcpvQWN8ZOm3BrFXGHchhEX0oSJ4Cj5LkLxGnLEZTwq5RXCi5wI MNf5NmI9gEmCjM+5vA3g9C1PMMzwRmD/oaZBYYDh92h20WrqKSCd9KN2snylAlU3ewWZ LzouiCjgH5oKUe1aXwOiTg77HIj6Dq5fM1DIZ5zLhwDthSlPTmDvRSOC8sbvd/uEHJXt 5IPsHIbWHIYsRWSDq+wrqU4Pe1ztS/ZtBhrb6hHHggGvDqB8V3Kejw9LQ4n0/O9lsfiQ B3hBUxzuceA9QGcLAJ1XEAqzHw4dR/BTzLHCHOgJs0ug4j6DDpDHyEhY7mhM7D8Oryra uvRw== X-Gm-Message-State: AIkVDXIjIq5GbiJDD2CjMGRA4BIJL9zwqK1ExAdKGwQ1Qde2J8+KZ53rtWDo6im2uSFI8b7F 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: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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),