From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v4 4/5] clk: add CLK_SET_RATE_NO_REPARENT flag Date: Wed, 22 May 2013 17:52:23 +0200 Message-ID: <20130522155223.GC8595@lukather> References: <1369056507-32521-1-git-send-email-james.hogan@imgtec.com> <1369056507-32521-5-git-send-email-james.hogan@imgtec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1369056507-32521-5-git-send-email-james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: James Hogan Cc: Mike Turquette , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Stephen Boyd , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Saravana Kannan , Sascha Hauer , Russell King , Viresh Kumar , Stephen Warren , Haojian Zhuang , Chao Xie , Arnd Bergmann , Emilio =?iso-8859-1?Q?L=F3pez?= , Gregory CLEMENT , Prashant Gaikwad , Thierry Reding , Joseph Lo , Peter De Schrijver , Pawel Moll , Catalin Marinas , spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org Hi James, On Mon, May 20, 2013 at 02:28:26PM +0100, James Hogan wrote: > Add a CLK_SET_RATE_NO_REPARENT clock flag, which will prevent muxes > being reparented during clk_set_rate. > > To avoid breaking existing platforms, all callers of clk_register_mux() > are adjusted to pass the new flag. Platform maintainers are encouraged > to remove the flag if they wish to allow mux reparenting on set_rate. For the sunxi part, Acked-by: Maxime Ripard -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Wed, 22 May 2013 17:52:23 +0200 Subject: [PATCH v4 4/5] clk: add CLK_SET_RATE_NO_REPARENT flag In-Reply-To: <1369056507-32521-5-git-send-email-james.hogan@imgtec.com> References: <1369056507-32521-1-git-send-email-james.hogan@imgtec.com> <1369056507-32521-5-git-send-email-james.hogan@imgtec.com> Message-ID: <20130522155223.GC8595@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi James, On Mon, May 20, 2013 at 02:28:26PM +0100, James Hogan wrote: > Add a CLK_SET_RATE_NO_REPARENT clock flag, which will prevent muxes > being reparented during clk_set_rate. > > To avoid breaking existing platforms, all callers of clk_register_mux() > are adjusted to pass the new flag. Platform maintainers are encouraged > to remove the flag if they wish to allow mux reparenting on set_rate. For the sunxi part, Acked-by: Maxime Ripard -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756235Ab3EVPw2 (ORCPT ); Wed, 22 May 2013 11:52:28 -0400 Received: from mail.free-electrons.com ([94.23.35.102]:39914 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755278Ab3EVPw0 (ORCPT ); Wed, 22 May 2013 11:52:26 -0400 Date: Wed, 22 May 2013 17:52:23 +0200 From: Maxime Ripard To: James Hogan Cc: Mike Turquette , linux-arm-kernel@lists.infradead.org, Stephen Boyd , linux-kernel@vger.kernel.org, Saravana Kannan , Sascha Hauer , Russell King , Viresh Kumar , Stephen Warren , Haojian Zhuang , Chao Xie , Arnd Bergmann , Emilio =?iso-8859-1?Q?L=F3pez?= , Gregory CLEMENT , Prashant Gaikwad , Thierry Reding , Joseph Lo , Peter De Schrijver , Pawel Moll , Catalin Marinas , spear-devel@list.st.com, linux-tegra@vger.kernel.org Subject: Re: [PATCH v4 4/5] clk: add CLK_SET_RATE_NO_REPARENT flag Message-ID: <20130522155223.GC8595@lukather> References: <1369056507-32521-1-git-send-email-james.hogan@imgtec.com> <1369056507-32521-5-git-send-email-james.hogan@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1369056507-32521-5-git-send-email-james.hogan@imgtec.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 Hi James, On Mon, May 20, 2013 at 02:28:26PM +0100, James Hogan wrote: > Add a CLK_SET_RATE_NO_REPARENT clock flag, which will prevent muxes > being reparented during clk_set_rate. > > To avoid breaking existing platforms, all callers of clk_register_mux() > are adjusted to pass the new flag. Platform maintainers are encouraged > to remove the flag if they wish to allow mux reparenting on set_rate. For the sunxi part, Acked-by: Maxime Ripard -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com