From patchwork Tue Jan 24 10:32:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 92329 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1645253qgi; Tue, 24 Jan 2017 02:32:39 -0800 (PST) X-Received: by 10.99.122.67 with SMTP id j3mr37930608pgn.112.1485253959632; Tue, 24 Jan 2017 02:32:39 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l59si18640685plb.85.2017.01.24.02.32.39; Tue, 24 Jan 2017 02:32:39 -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 S1750848AbdAXKci (ORCPT + 4 others); Tue, 24 Jan 2017 05:32:38 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38262 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750713AbdAXKch (ORCPT ); Tue, 24 Jan 2017 05:32:37 -0500 Received: by mail-wm0-f47.google.com with SMTP id r144so201262712wme.1 for ; Tue, 24 Jan 2017 02:32:36 -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=zaD42CnxkoAtHclo4B0S3AK4UBaJmmPQ3lMxZiY515k=; b=PhqXd4dG5TfwTRWZAJDDEyHBDBfKX1EBENsxJNlEV2526CmDOmIlNmvUzRINcli9NN L+NL9+kO3Pcqxhy7Gy5onj4HYCzkzrTMSrCFmQJ67HyFaijYYervidMD+rkVzvPUJ8id SwTUA3ImOwUWZD34pPbdVZr5k26w9G8fVNLejhsCG9K7lu0hbgy4OlzWyTN28InB92Nc tlztIe2NRinhCt9JYOsglZw+Ci6iVALq+PC7le53vhvq04Vse6KSl2gqu+Xf/6QpUnHE 1zJf5TJTCgBzJTupOBHaGJ+uxBFgZL8PZ6E9XyDeNAVmabnOLkL8ppBlTZ7Rw0ovctia xCOw== 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=zaD42CnxkoAtHclo4B0S3AK4UBaJmmPQ3lMxZiY515k=; b=BB+wn1exGiTkDV79ACHTRIjxGA8ljV7vzTh2uj8vbdlCidZR3sg9v1wnpzqZnqYejD Ea01+x8StFBJhZhMIpY6EozXNFQon4+ihRt2Pg4gL/W8akGMaJ00vd35oVplCI/uW9XL b8rFFZ6DmGndrT0m0uCGVpcjtihV3IL4U2vNMFed4dyYIZS9kL9amENwajNcKcELKlSL tnyBMX3hssTl0WU5pMCfzzDF02G1JfeUG/BP9d1i5JKApelOjUGHlajg1mQ7cK9c/rgF nya7B0cRgTUCIqDxzxzl7xtmJ7C26OepImWtk5ibPN1AdggfyNnaPiBmwc9+IGuYdmIe cZKQ== X-Gm-Message-State: AIkVDXIUCLNmvxvJObvexEyG2BY+zoAB2cQ1xQ4yI1vT1Y28HLNbOAZ6qVqcC2rWsZGNCeSF X-Received: by 10.28.67.134 with SMTP id q128mr16545344wma.34.1485253955633; Tue, 24 Jan 2017 02:32:35 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id n13sm15712869wrn.40.2017.01.24.02.32.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 02:32:35 -0800 (PST) From: Alexandre Bailon To: nsekhar@ti.com Cc: khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, linux-usb@vger.kernel.org, b-liu@ti.com, sergei.shtylyov@cogentembedded.com, linux-arm-kernel@lists.infradead.org, Alexandre Bailon Subject: [PATCH v2] arm: davinci: Make the usb20 clock available to PM runtime Date: Tue, 24 Jan 2017 11:32:26 +0100 Message-Id: <20170124103226.15377-1-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add usb20 to the list of clock supported by PM runtime. 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-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/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;