From patchwork Fri Apr 25 23:02:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Fernandes X-Patchwork-Id: 4066881 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BA8359F319 for ; Fri, 25 Apr 2014 23:06:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 03301201BB for ; Fri, 25 Apr 2014 23:06:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 38661200CF for ; Fri, 25 Apr 2014 23:06:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdpAb-0005Rm-KV; Fri, 25 Apr 2014 23:04:37 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wdp9K-0003rb-OG for linux-arm-kernel@lists.infradead.org; Fri, 25 Apr 2014 23:03:20 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3PN2u78005087; Fri, 25 Apr 2014 18:02:56 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3PN2uLE019252; Fri, 25 Apr 2014 18:02:56 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Fri, 25 Apr 2014 18:02:56 -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 s3PN2uXv002040; Fri, 25 Apr 2014 18:02:56 -0500 Received: from joel-laptop.am.dhcp.ti.com (joel-laptop.am.dhcp.ti.com [10.247.29.57]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id s3PN2ut28991; Fri, 25 Apr 2014 18:02:56 -0500 (CDT) From: Joel Fernandes To: Tony Lindgren , Benoit Cousson , Linux OMAP List , Linux ARM Kernel List , Linux Kernel Mailing List Subject: [PATCH 09/10] ARM: dts: OMAP4: clk: Add clk node for DES IP Date: Fri, 25 Apr 2014 18:02:47 -0500 Message-ID: <1398466968-29506-10-git-send-email-joelf@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398466968-29506-1-git-send-email-joelf@ti.com> References: <1398466968-29506-1-git-send-email-joelf@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140425_160318_949966_2152001E X-CRM114-Status: GOOD ( 10.55 ) X-Spam-Score: -5.7 (-----) Cc: Lokesh Vutla , Joel Fernandes X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,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 From: Lokesh Vutla DES IP already has main and interface clk as des_fck. Node for des_fck is missing in clk tree. Adding the same. Signed-off-by: Lokesh Vutla Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/omap44xx-clocks.dtsi | 8 ++++++++ drivers/clk/ti/clk-44xx.c | 1 + 2 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/omap44xx-clocks.dtsi b/arch/arm/boot/dts/omap44xx-clocks.dtsi index c821ff5..83cf189 100644 --- a/arch/arm/boot/dts/omap44xx-clocks.dtsi +++ b/arch/arm/boot/dts/omap44xx-clocks.dtsi @@ -985,6 +985,14 @@ reg = <0x15a8>; }; + des_fck: des_fck@4a0095b0 { + #clock-cells = <0>; + compatible = "gate-clock"; + clocks = <&l3_div_ck>; + bit-shift = <1>; + reg = <0x4a0095b0 0x4>; + }; + dss_sys_clk: dss_sys_clk { #clock-cells = <0>; compatible = "ti,gate-clock"; diff --git a/drivers/clk/ti/clk-44xx.c b/drivers/clk/ti/clk-44xx.c index 02517a8..85d97c3 100644 --- a/drivers/clk/ti/clk-44xx.c +++ b/drivers/clk/ti/clk-44xx.c @@ -120,6 +120,7 @@ static struct ti_dt_clk omap44xx_clks[] = { DT_CLK(NULL, "syc_clk_div_ck", "syc_clk_div_ck"), DT_CLK(NULL, "aes1_fck", "aes1_fck"), DT_CLK(NULL, "aes2_fck", "aes2_fck"), + DT_CLK(NULL, "des_fck", "des_fck"), DT_CLK(NULL, "dmic_sync_mux_ck", "dmic_sync_mux_ck"), DT_CLK(NULL, "func_dmic_abe_gfclk", "func_dmic_abe_gfclk"), DT_CLK(NULL, "dss_sys_clk", "dss_sys_clk"),