Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1368208 > unrolled thread

Re: [PATCH 06/18] ARM: imx: clk-gate2: allow custom gate configuration

Started byShawn Guo <shawnguo@kernel.org>
First post2016-03-31 13:40 +0200
Last post2016-03-31 20:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 06/18] ARM: imx: clk-gate2: allow custom gate  configuration Shawn Guo <shawnguo@kernel.org> - 2016-03-31 13:40 +0200
    Re: [PATCH 06/18] ARM: imx: clk-gate2: allow custom gate  configuration Stefan Agner <stefan@agner.ch> - 2016-03-31 20:10 +0200

#1368208 — Re: [PATCH 06/18] ARM: imx: clk-gate2: allow custom gate configuration

FromShawn Guo <shawnguo@kernel.org>
Date2016-03-31 13:40 +0200
SubjectRe: [PATCH 06/18] ARM: imx: clk-gate2: allow custom gate configuration
Message-ID<riJ7c-4fc-11@gated-at.bofh.it>
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 <stefan@agner.ch>

It's not appropriate to use 'ARM:' as subject prefix any more, since
clock drivers had been moved to drivers/clk.

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

Shawn

[toc] | [next] | [standalone]


#1368513

FromStefan Agner <stefan@agner.ch>
Date2016-03-31 20:10 +0200
Message-ID<riPcC-uz-3@gated-at.bofh.it>
In reply to#1368208
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 <stefan@agner.ch>
> 
> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web