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


Groups > linux.kernel > #1381298

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

From Yoshinori Sato <ysato@users.sourceforge.jp>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: Add 16bit register access for clk-divider.
Date 2016-04-18 08:40 +0200
Message-ID <rpb0L-WR-39@gated-at.bofh.it> (permalink)
References <rnK2C-6Al-11@gated-at.bofh.it> <rolYd-347-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web