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


Groups > linux.kernel > #1380391 > unrolled thread

Re: [PATCH] clk: Add 16bit register access for clk-divider.

Started byStephen Boyd <sboyd@codeaurora.org>
First post2016-04-16 02:10 +0200
Last post2016-04-18 08:40 +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] clk: Add 16bit register access for clk-divider. Stephen Boyd <sboyd@codeaurora.org> - 2016-04-16 02:10 +0200
    Re: [PATCH] clk: Add 16bit register access for clk-divider. Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-04-18 08:40 +0200

#1380391 — Re: [PATCH] clk: Add 16bit register access for clk-divider.

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-04-16 02:10 +0200
SubjectRe: [PATCH] clk: Add 16bit register access for clk-divider.
Message-ID<rolYd-347-5@gated-at.bofh.it>
On 04/14, Yoshinori Sato wrote:
> Some SoC use 16bit-word register. And required 16bit-word access.
> This changes add 16-bit access mode.
> 
> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Please implement a custom divider for your hardware instead of
adding this support to the core. You can call functions such as
divider_recalc_rate(), divider_round_rate(), and
divider_get_val() to get the appropriate register values and then
have the readw/writew in your custom driver instead.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [next] | [standalone]


#1381298

FromYoshinori Sato <ysato@users.sourceforge.jp>
Date2016-04-18 08:40 +0200
Message-ID<rpb0L-WR-39@gated-at.bofh.it>
In reply to#1380391
On Sat, 16 Apr 2016 09:06:35 +0900,
Stephen Boyd wrote:
> 
> On 04/14, Yoshinori Sato wrote:
> > Some SoC use 16bit-word register. And required 16bit-word access.
> > This changes add 16-bit access mode.
> > 
> > Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
> 
> Please implement a custom divider for your hardware instead of
> adding this support to the core. You can call functions such as
> divider_recalc_rate(), divider_round_rate(), and
> divider_get_val() to get the appropriate register values and then
> have the readw/writew in your custom driver instead.

OK.

> -- 
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> a Linux Foundation Collaborative Project

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web