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

From: Yoshinori Sato
Date: Mon Apr 18 2016 - 02:39:45 EST


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@xxxxxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxxxxx>