Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757730AbcCaSDH (ORCPT ); Thu, 31 Mar 2016 14:03:07 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:48864 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbcCaSDE (ORCPT ); Thu, 31 Mar 2016 14:03:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Thu, 31 Mar 2016 10:59:54 -0700 From: Stefan Agner To: Shawn Guo Cc: mturquette@baylibre.com, sboyd@codeaurora.org, kernel@pengutronix.de, sergeimir@emcraft.com, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 06/18] ARM: imx: clk-gate2: allow custom gate configuration In-Reply-To: <20160331113728.GA18833@tiger> References: <1457576219-7971-1-git-send-email-stefan@agner.ch> <1457576219-7971-7-git-send-email-stefan@agner.ch> <20160331113728.GA18833@tiger> Message-ID: User-Agent: Roundcube Webmail/1.1.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1144 Lines: 34 On 2016-03-31 04:37, Shawn Guo wrote: > On Wed, Mar 09, 2016 at 06:16:47PM -0800, Stefan Agner wrote: >> The 2-bit gates found i.MX and Vybrid SoC support different clock >> configuration: >> >> 0b00: clk disabled >> 0b01: clk enabled in RUN mode but disabled in WAIT and STOP mode >> 0b10: clk enabled in RUN, WAIT and STOP mode (only Vybrid) >> 0b11: clk enabled in RUN and WAIT mode >> >> For some clocks, we might want to configure different behaviour, >> e.g. a memory clock should be on even in STOP mode. Add a new >> function imx_clk_gate2_cgr which allow to configure specific >> gate values through the cgr_val parameter. >> >> Signed-off-by: Stefan Agner > > It's not appropriate to use 'ARM:' as subject prefix any more, since > clock drivers had been moved to drivers/clk. Agreed. Evidence on how long I dragged those patches in my own tree :-/ > > I applied patch 6 ~ 9 with updating the subject prefix as below. > > clk: imx: vf610: add suspend/resume support > clk: imx: vf610: add WKPU unit > clk: imx: vf610: leave DDR clock on > clk: imx: clk-gate2: allow custom gate configuration Thanks! -- Stefan