From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 22 Feb 2016 08:59:59 -0800 From: Tony Lindgren To: Tero Kristo Cc: sboyd@codeaurora.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCHv2] clk: ti: dpll: convert DPLL support code to use clk_hw instead of clk ptrs Message-ID: <20160222165959.GG13417@atomide.com> References: <1455967466-3812-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1455967466-3812-1-git-send-email-t-kristo@ti.com> List-ID: * Tero Kristo [160220 03:24]: > Convert DPLL support code to use clk_hw pointers for reference and bypass > clocks. This allows us to use clk_hw_* APIs for accessing any required > parameters for these clocks, avoiding some locking problems at least with > DPLL enable code; this used clk_get_rate which uses mutex but isn't > good under clk_enable / clk_disable. > > Signed-off-by: Tero Kristo > --- > v2: rebased the patch on top of v2 of 'clk: ti: omap3+: dpll: use non-locking > version of clk_get_rate', as that one is required already for -rc. This > patch can follow in 4.6 merge window. Yeah seems this one can wait for v4.6 merge window no problem: Acked-by: Tony Lindgren Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Mon, 22 Feb 2016 08:59:59 -0800 Subject: [PATCHv2] clk: ti: dpll: convert DPLL support code to use clk_hw instead of clk ptrs In-Reply-To: <1455967466-3812-1-git-send-email-t-kristo@ti.com> References: <1455967466-3812-1-git-send-email-t-kristo@ti.com> Message-ID: <20160222165959.GG13417@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Tero Kristo [160220 03:24]: > Convert DPLL support code to use clk_hw pointers for reference and bypass > clocks. This allows us to use clk_hw_* APIs for accessing any required > parameters for these clocks, avoiding some locking problems at least with > DPLL enable code; this used clk_get_rate which uses mutex but isn't > good under clk_enable / clk_disable. > > Signed-off-by: Tero Kristo > --- > v2: rebased the patch on top of v2 of 'clk: ti: omap3+: dpll: use non-locking > version of clk_get_rate', as that one is required already for -rc. This > patch can follow in 4.6 merge window. Yeah seems this one can wait for v4.6 merge window no problem: Acked-by: Tony Lindgren Regards, Tony