From patchwork Fri Mar 28 20:54:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 3907051 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5C04CBF540 for ; Fri, 28 Mar 2014 20:55:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9DC052034E for ; Fri, 28 Mar 2014 20:55:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F36E20304 for ; Fri, 28 Mar 2014 20:55:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753133AbaC1Uzr (ORCPT ); Fri, 28 Mar 2014 16:55:47 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:53030 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752280AbaC1Uzq (ORCPT ); Fri, 28 Mar 2014 16:55:46 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2SKtIuE032363; Fri, 28 Mar 2014 15:55:18 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2SKtIa2018481; Fri, 28 Mar 2014 15:55:18 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 28 Mar 2014 15:55:18 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2SKtIHO023448; Fri, 28 Mar 2014 15:55:18 -0500 Received: from localhost (j-172-22-132-123.vpn.ti.com [172.22.132.123]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id s2SKtHt12119; Fri, 28 Mar 2014 15:55:17 -0500 (CDT) From: Dave Gerlach To: , , CC: Paul Walmsley , Tony Lindgren , Tero Kristo , Benoit Cousson , Dave Gerlach Subject: [PATCH] ARM: dts: am43xx-clocks: use ti, fixed-factor-clock for dpll_per_clkdcoldo Date: Fri, 28 Mar 2014 15:54:31 -0500 Message-ID: <1396040071-17900-1-git-send-email-d-gerlach@ti.com> X-Mailer: git-send-email 1.9.0 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use the ti,fixed-factor-clock version so that autoidle for dpll_per_clkdcoldo is properly controlled after power management code is introduced. Without this the clock may be held active even when it is gated. Signed-off-by: Dave Gerlach --- arch/arm/boot/dts/am43xx-clocks.dtsi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi index 142009c..1d9b6bb 100644 --- a/arch/arm/boot/dts/am43xx-clocks.dtsi +++ b/arch/arm/boot/dts/am43xx-clocks.dtsi @@ -609,10 +609,13 @@ dpll_per_clkdcoldo: dpll_per_clkdcoldo { #clock-cells = <0>; - compatible = "fixed-factor-clock"; + compatible = "ti,fixed-factor-clock"; clocks = <&dpll_per_ck>; - clock-mult = <1>; - clock-div = <1>; + ti,clock-mult = <1>; + ti,clock-div = <1>; + ti,autoidle-shift = <8>; + reg = <0x2e14>; + ti,invert-autoidle-bit; }; dll_aging_clk_div: dll_aging_clk_div {