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


Groups > linux.kernel > #1380391

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

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: Add 16bit register access for clk-divider.
Date 2016-04-16 02:10 +0200
Message-ID <rolYd-347-5@gated-at.bofh.it> (permalink)
References <rnK2C-6Al-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

[PATCH] clk: Add 16bit register access for clk-divider. Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-04-14 09:40 +0200
  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