From patchwork Wed Aug 24 14:37:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 1092922 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7OEbdCq008049 for ; Wed, 24 Aug 2011 14:37:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752704Ab1HXOh3 (ORCPT ); Wed, 24 Aug 2011 10:37:29 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:48354 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752643Ab1HXOh1 (ORCPT ); Wed, 24 Aug 2011 10:37:27 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p7OEbMgO019965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Aug 2011 09:37:25 -0500 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7OEbMFf012729; Wed, 24 Aug 2011 20:07:22 +0530 (IST) Received: from dbdp31.itg.ti.com (172.24.170.98) by DBDE70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 8.3.106.1; Wed, 24 Aug 2011 20:07:22 +0530 Received: from localhost.localdomain (a0393675-desktop.apr.dhcp.ti.com [172.24.137.178]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7OEbIkE009998; Wed, 24 Aug 2011 20:07:22 +0530 (IST) From: Keerthy To: CC: Keerthy , , Subject: [PATCH 1/6 V3] OMAP4: Clock: Associate clocks for OMAP temperature sensor Date: Wed, 24 Aug 2011 20:07:07 +0530 Message-ID: <1314196632-8207-2-git-send-email-j-keerthy@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1314196632-8207-1-git-send-email-j-keerthy@ti.com> References: <1314196632-8207-1-git-send-email-j-keerthy@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-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 24 Aug 2011 14:37:39 +0000 (UTC) div_ts_ck feeds only the temperature sensor functional clock and also has a clksel associated (for divider selection). Mapping this as the functional clock for the temperature sensor in clkdev table, so a clk_set_rate() in the driver would have the effect of changing the temperature sensor clock rate indirectly. Reviewd-by: Rajendra Nayak Signed-off-by: Keerthy Cc: tony@atomide.com Cc: rnayak@ti.com --- arch/arm/mach-omap2/clock44xx_data.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index 2af0e3f..4a788f4 100644 --- a/arch/arm/mach-omap2/clock44xx_data.c +++ b/arch/arm/mach-omap2/clock44xx_data.c @@ -3187,7 +3187,7 @@ static struct omap_clk omap44xx_clks[] = { CLK(NULL, "bandgap_fclk", &bandgap_fclk, CK_443X), CLK(NULL, "bandgap_ts_fclk", &bandgap_ts_fclk, CK_446X), CLK(NULL, "des3des_fck", &des3des_fck, CK_443X), - CLK(NULL, "div_ts_ck", &div_ts_ck, CK_446X), + CLK("omap_temp_sensor.0", "fck", &div_ts_ck, CK_446X), CLK(NULL, "dmic_sync_mux_ck", &dmic_sync_mux_ck, CK_443X), CLK(NULL, "dmic_fck", &dmic_fck, CK_443X), CLK(NULL, "dsp_fck", &dsp_fck, CK_443X),