From patchwork Wed Jan 25 11:09: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: 92429 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp2131933obz; Wed, 25 Jan 2017 03:09:53 -0800 (PST) X-Received: by 10.99.135.195 with SMTP id i186mr46674408pge.105.1485342593194; Wed, 25 Jan 2017 03:09:53 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si1223027pld.73.2017.01.25.03.09.52; Wed, 25 Jan 2017 03:09:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751625AbdAYLJo (ORCPT + 4 others); Wed, 25 Jan 2017 06:09:44 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:34876 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751741AbdAYLJn (ORCPT ); Wed, 25 Jan 2017 06:09:43 -0500 Received: by mail-wm0-f49.google.com with SMTP id r126so21397591wmr.0 for ; Wed, 25 Jan 2017 03:09:42 -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=iFeco+KLqQmGjBqlwvFTMQN6Sfc2XocSqjK8mbRR3pI=; b=S8J4BkPEv0K1/xZPcCxt8Xbxd9Ayxk5K7TVivhVaISFx+hF243ECTZrj4FPJkbngzH cQPHZVAHd17nd1VVMCYak3nNhATpP1d1kfFKMNdL7w18MTxVM8F97160PcQKFYfK6eOe RfTak+Nn78szb+IE2/VukR315kYjmCa0O3FxSilI1r8czzLFND8rYIVzq9AbEzWb6XSm ZMXVS+OH3JSEN2k+E0px3uSzD0hJkUUbhL42RdmpVd4r9oxzedKvXqSQt4NJvS+WFh91 At9Uk8tpA+Og0wTa80P2gI8e8vzi+1YkuuJFkBAbGtk+/NXtU/R0aK8Oc8vG2eCYjAZi +h2w== 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=iFeco+KLqQmGjBqlwvFTMQN6Sfc2XocSqjK8mbRR3pI=; b=QaZsLm6MpGZgoy4zgempr07oLWx6faJXM8wT63FagofMlOC9VIW1owgoxK/81QNa/R 8QUbcFkUfMpB9ne2PfZTV44dlL4Go/U1vZmpf6KXjS1Mblbgv5JyCoO3pUt935t6arkd Kcllw5w2FKWk/ta7eQPcMzIs5T8j0u8pG/46kgKDWoAFRRy6j72jw4RjGR3GM82kk2iF kF7m+jZfSlRg9E6TDkgStby7kQbdRJRcR13f46d4uax7VQz5KtSMpEEj1xqc4rorpnIO qSkjgObUjEDu6HUZ49z6qrIEI4FjidU9HsrKvbpF3A+wpcbYDGTCK+WJpAQJ3FNrFjvK 4tRw== X-Gm-Message-State: AIkVDXJq7qKDDWTo9a2E59D9l/8L5oF0W+Pj/skXXAKQHtmlVMlN0H4ar5CHnHZDv3xZ/uk0 X-Received: by 10.28.94.8 with SMTP id s8mr21242103wmb.117.1485342581436; Wed, 25 Jan 2017 03:09:41 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id o2sm16024957wra.42.2017.01.25.03.09.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Jan 2017 03:09:40 -0800 (PST) From: Alexandre Bailon To: nsekhar@ti.com Cc: khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, b-liu@ti.com, sergei.shtylyov@cogentembedded.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandre Bailon Subject: [PATCH v3] ARM: davinci: Make the usb20 clock available to PM runtime Date: Wed, 25 Jan 2017 12:09:35 +0100 Message-Id: <20170125110935.20247-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 Since USB20 subsystem uses just one clock, there is no need of a con_id, so we are using NULL. Signed-off-by: Alexandre Bailon Suggested-by: Sekhar Nori --- arch/arm/mach-davinci/da830.c | 2 +- arch/arm/mach-davinci/da850.c | 2 +- arch/arm/mach-davinci/usb-da8xx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" 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/da830.c b/arch/arm/mach-davinci/da830.c index 073c458..2cfd9d7 100644 --- a/arch/arm/mach-davinci/da830.c +++ b/arch/arm/mach-davinci/da830.c @@ -412,7 +412,7 @@ static struct clk_lookup da830_clks[] = { CLK("davinci-mcasp.0", NULL, &mcasp0_clk), CLK("davinci-mcasp.1", NULL, &mcasp1_clk), CLK("davinci-mcasp.2", NULL, &mcasp2_clk), - CLK("musb-da8xx", "usb20", &usb20_clk), + CLK("musb-da8xx", NULL, &usb20_clk), CLK(NULL, "aemif", &aemif_clk), CLK(NULL, "aintc", &aintc_clk), CLK(NULL, "secu_mgr", &secu_mgr_clk), diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 9780829..5fe32ae 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -559,7 +559,7 @@ static struct clk_lookup da850_clks[] = { CLK("ti-aemif", NULL, &aemif_clk), CLK("davinci-nand.0", "aemif", &aemif_nand_clk), CLK("ohci-da8xx", "usb11", &usb11_clk), - CLK("musb-da8xx", "usb20", &usb20_clk), + CLK("musb-da8xx", NULL, &usb20_clk), CLK("spi_davinci.0", NULL, &spi0_clk), CLK("spi_davinci.1", NULL, &spi1_clk), CLK("vpif", NULL, &vpif_clk), diff --git a/arch/arm/mach-davinci/usb-da8xx.c b/arch/arm/mach-davinci/usb-da8xx.c index 9a6af0b..9b66768 100644 --- a/arch/arm/mach-davinci/usb-da8xx.c +++ b/arch/arm/mach-davinci/usb-da8xx.c @@ -275,7 +275,7 @@ int __init da8xx_register_usb20_phy_clk(bool use_usb_refclkin) struct clk *parent; int ret; - usb20_clk = clk_get(&da8xx_usb20_dev.dev, "usb20"); + usb20_clk = clk_get(&da8xx_usb20_dev.dev, NULL); ret = PTR_ERR_OR_ZERO(usb20_clk); if (ret) return ret;