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: 4067041 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 90A46BFF02 for ; Fri, 25 Apr 2014 23:09:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA1E02034A for ; Fri, 25 Apr 2014 23:09:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 00684200CF for ; Fri, 25 Apr 2014 23:09:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753443AbaDYXHk (ORCPT ); Fri, 25 Apr 2014 19:07:40 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:40145 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752060AbaDYXDU (ORCPT ); Fri, 25 Apr 2014 19:03:20 -0400 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 CC: Lokesh Vutla , Joel Fernandes 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 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.5 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 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"),