[PATCH v4 04/10] ARM: tegra: Fix PWM clock programming
Stephen Warren
swarren at wwwdotorg.org
Tue Mar 20 13:15:51 EST 2012
On 03/14/2012 09:56 AM, Thierry Reding wrote:
> From: Simon Que <sque at chromium.org>
>
> PWM clock source registers in Tegra 2 have different clock source selection bit
> fields than other registers. PWM clock source bits in CLK_SOURCE_PWM_0 register
> are located at bit field bit[30:28] while others are at bit field bit[31:30] in
> their respective clock source register.
>
> This patch updates the clock programming to correctly reflect that, by adding a
> flag to indicate the alternate bit field format and checking for it when
> selecting a clock source (parent clock).
>
> Signed-off-by: Thierry Reding <thierry.reding at avionic-design.de>
> Signed-off-by: Bill Huang <bilhuang at nvidia.com>
> Signed-off-by: Simon Que <sque at chromium.org>
Acked-by: Stephen Warren <swarren at wwwdotorg.org>
More information about the devicetree-discuss
mailing list