From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rajendra Nayak Subject: Re: Query regarding clk framework - from .set_rate api Date: Mon, 1 Apr 2013 16:14:17 +0530 Message-ID: <51596501.1020904@ti.com> References: <79CD15C6BA57404B839C016229A409A83EC3E7C3@DBDE01.ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:41291 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759372Ab3DAKob (ORCPT ); Mon, 1 Apr 2013 06:44:31 -0400 In-Reply-To: <79CD15C6BA57404B839C016229A409A83EC3E7C3@DBDE01.ent.ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Hiremath, Vaibhav" Cc: "mturquette@linaro.org" , Paul Walmsley , Tony Lindgren , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "khilman@deeprootsystems.com" > > Where, the clk_set_rate() seems to be not working, and that's true > with the current implementation of OMAP/AM33xx clock tree, > as the CLK_SET_RATE_PARENT flag is not set to any of the clock nodes. > > Please note that I am using DEFINE_STRUCT_CLK() macro for defining clocks > And which doesn't allow you to specify the flags. Use DEFINE_STRUCT_CLK_FLAGS() then. Its already used in AM33xx clock tree. From mboxrd@z Thu Jan 1 00:00:00 1970 From: rnayak@ti.com (Rajendra Nayak) Date: Mon, 1 Apr 2013 16:14:17 +0530 Subject: Query regarding clk framework - from .set_rate api In-Reply-To: <79CD15C6BA57404B839C016229A409A83EC3E7C3@DBDE01.ent.ti.com> References: <79CD15C6BA57404B839C016229A409A83EC3E7C3@DBDE01.ent.ti.com> Message-ID: <51596501.1020904@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > > Where, the clk_set_rate() seems to be not working, and that's true > with the current implementation of OMAP/AM33xx clock tree, > as the CLK_SET_RATE_PARENT flag is not set to any of the clock nodes. > > Please note that I am using DEFINE_STRUCT_CLK() macro for defining clocks > And which doesn't allow you to specify the flags. Use DEFINE_STRUCT_CLK_FLAGS() then. Its already used in AM33xx clock tree.