linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* sun9i pll4 upstream kernel code seems wrong
@ 2015-01-17  9:34 Hans de Goede
  2015-01-17 10:37 ` Chen-Yu Tsai
  0 siblings, 1 reply; 7+ messages in thread
From: Hans de Goede @ 2015-01-17  9:34 UTC (permalink / raw)
  To: linux-arm-kernel

Hi ChenYu,

Looking at drivers/clk/sunxi/clk-sun9i-core.c:

sun9i_a80_get_pll4_factors(), and comparing it with
the A80 user manual, things seem way off, this seems
more accurate (although also possibly not quite)
for pll1 / pll2 then for pll4, and the comment at
the top does mention PLL1 once.

Note according to the datasheet pll4 should be treated
as an inmutable pll fixed at 960 MHz, so maybe we should
just drop the get_factors function for it ?

Luckily the struct clk_factors_config sun9i_a80_pll4_config
is correct, so as long as we do not try to change the
rate the current upstream code for pll4 does work.

Regards,

Hans

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-20 15:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-17  9:34 sun9i pll4 upstream kernel code seems wrong Hans de Goede
2015-01-17 10:37 ` Chen-Yu Tsai
2015-01-17 11:12   ` Hans de Goede
2015-01-17 11:15     ` Hans de Goede
2015-01-17 12:09       ` Chen-Yu Tsai
2015-01-17 12:30         ` Hans de Goede
2015-01-20 15:55           ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).