From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752365AbbJOS2o (ORCPT ); Thu, 15 Oct 2015 14:28:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44533 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082AbbJOS2m (ORCPT ); Thu, 15 Oct 2015 14:28:42 -0400 Date: Thu, 15 Oct 2015 11:28:40 -0700 From: Stephen Boyd To: Kuninori Morimoto Cc: Simon , Michael Turquette , Magnus , Linux-SH , Linux-Kernel , linux-clk@vger.kernel.org Subject: Re: [PATCH v4] clk: add CS2000 Fractional-N driver Message-ID: <20151015182840.GJ4558@codeaurora.org> References: <871te03x17.wl%kuninori.morimoto.gx@renesas.com> <20151002003851.GH12338@codeaurora.org> <87twqarsdf.wl%kuninori.morimoto.gx@renesas.com> <20151002181123.GM12338@codeaurora.org> <87r3kwor4d.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87r3kwor4d.wl%kuninori.morimoto.gx@renesas.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/15, Kuninori Morimoto wrote: > > I understand. If my understanding is correct, user driver > setups/enables this clock. > If so, I still want this "clock-frequency" feature. > because this clock requests other clock on my board. > And requested clock requests this clock too. > Thus, these clocks have dead lock on probe time > > cs2000: clk_multiplier@4f { > ... > clocks = <&rcar_sound 0>, ... > ... > }; > > &rcar_sound { > ... > assigned-clocks = <&cs2000>; > assigned-clock-rates = <24576000>; > ... > }; > I think you're saying that the clock provider itself can't set the rate with assigned-clock-rates? That isn't true, we should be able to set the rate of the clock from within the provider node. cs2000: clk_multiplier@4f { assigned-clocks = <&cs2000>; assigned-clock-rates = <24576000>; }; The above should work. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project