From patchwork Mon May 5 09:54:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 29638 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E8301202E6 for ; Mon, 5 May 2014 09:55:29 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id fa1sf2250449pad.0 for ; Mon, 05 May 2014 02:55:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=NF2fB6I9TObdNWHmDO4rdIZaW5PES6pw5K6f0X1jiy4=; b=ZGuCHarY1K6124EvBZm+AhXfB1NQBMvpzxQpnUKbPErkInDkO9vMmfErf/yLWk4tHU tGsgtkx8qMYli2fxGAKdCwwLBjE0npY2siTCjNqEOHiJcnx94GPsWqUpIgosQ6z/uTcE JGqF+kBj9M6yyWNb9f3A5YVGk5l+t83COBBJOpnpQEoEPvqfvQ7NtJT7V+wzbPXvR27M eQV1NHMNm6kA+abKkRbDoAulQ2KRyLptC/hHJq8KNxjRFsN2AhaCIbaTFsit0E4VGUmG 2nyw4E2B70409RXUrsQiu3tS0VDXKofU5OpMP7aGrza3hCzj4RVpUZcb3dwcvh6NdHHu ZhkQ== X-Gm-Message-State: ALoCoQkQLx8uH7/gdpG70+9kNQld+Q1eZXUjeJhpdz09K3W4MATuYGJttpvTk5P2IMyMiizAr7HQ X-Received: by 10.66.102.3 with SMTP id fk3mr16688486pab.17.1399283729016; Mon, 05 May 2014 02:55:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.38 with SMTP id 35ls2349490qgw.77.gmail; Mon, 05 May 2014 02:55:28 -0700 (PDT) X-Received: by 10.220.81.194 with SMTP id y2mr952860vck.29.1399283728853; Mon, 05 May 2014 02:55:28 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id qd1si1442245vcb.69.2014.05.05.02.55.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 02:55:28 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id oz11so703006veb.2 for ; Mon, 05 May 2014 02:55:28 -0700 (PDT) X-Received: by 10.220.133.197 with SMTP id g5mr27588937vct.20.1399283728530; Mon, 05 May 2014 02:55:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp127031vcb; Mon, 5 May 2014 02:55:28 -0700 (PDT) X-Received: by 10.66.147.99 with SMTP id tj3mr39956080pab.47.1399283727950; Mon, 05 May 2014 02:55:27 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ic8si7953046pad.218.2014.05.05.02.55.27; Mon, 05 May 2014 02:55:27 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756157AbaEEJzK (ORCPT + 8 others); Mon, 5 May 2014 05:55:10 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:49964 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756010AbaEEJzJ (ORCPT ); Mon, 5 May 2014 05:55:09 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s459t4Bd008687; Mon, 5 May 2014 04:55:04 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s459t4IZ024468; Mon, 5 May 2014 04:55:04 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Mon, 5 May 2014 04:55:04 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s459smBj007282; Mon, 5 May 2014 04:55:01 -0500 From: Roger Quadros To: , , , CC: , , , , , , Roger Quadros , Tero Kristo Subject: [PATCH v3 4/7] ARM: dts: dra7-clock: Add "l3init_960m_gfclk" clock gate Date: Mon, 5 May 2014 12:54:43 +0300 Message-ID: <1399283686-6127-5-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399283686-6127-1-git-send-email-rogerq@ti.com> References: <1399283686-6127-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This clock gate description is missing in the older Reference manuals. It is present on the SoC to provide 960MHz reference clock to the internal USB PHYs. Reference: DRA75x_DRA74x_ES1.1_NDA_TRM_vO.pdf, pg. 900, Table 3-812. CM_COREAON_L3INIT_60M_GFCLK_CLKCTRL Use l3init_960m_gfclk as parent of usb_otg_ss1_refclk960m and usb_otg_ss2_refclk960m. CC: BenoƮt Cousson CC: Tero Kristo Signed-off-by: Roger Quadros Acked-by: Tero Kristo --- arch/arm/boot/dts/dra7xx-clocks.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm/boot/dts/dra7xx-clocks.dtsi index cfb8fc7..c767687 100644 --- a/arch/arm/boot/dts/dra7xx-clocks.dtsi +++ b/arch/arm/boot/dts/dra7xx-clocks.dtsi @@ -1386,6 +1386,14 @@ ti,dividers = <1>, <8>; }; + l3init_960m_gfclk: l3init_960m_gfclk { + #clock-cells = <0>; + compatible = "ti,gate-clock"; + clocks = <&dpll_usb_clkdcoldo>; + ti,bit-shift = <8>; + reg = <0x06c0>; + }; + dss_32khz_clk: dss_32khz_clk { #clock-cells = <0>; compatible = "ti,gate-clock"; @@ -1533,7 +1541,7 @@ usb_otg_ss1_refclk960m: usb_otg_ss1_refclk960m { #clock-cells = <0>; compatible = "ti,gate-clock"; - clocks = <&dpll_usb_clkdcoldo>; + clocks = <&l3init_960m_gfclk>; ti,bit-shift = <8>; reg = <0x13f0>; }; @@ -1541,7 +1549,7 @@ usb_otg_ss2_refclk960m: usb_otg_ss2_refclk960m { #clock-cells = <0>; compatible = "ti,gate-clock"; - clocks = <&dpll_usb_clkdcoldo>; + clocks = <&l3init_960m_gfclk>; ti,bit-shift = <8>; reg = <0x1340>; };