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


Groups > linux.kernel > #1502773

Re: [PATCH] clk: sunxi-ng: sun6i-a31: Force AHB1 clock to use PLL6 as parent

From Jean-Francois Moine <moinejf@free.fr>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: sunxi-ng: sun6i-a31: Force AHB1 clock to use PLL6 as parent
Date 2016-10-18 10:00 +0200
Message-ID <stxtw-7at-7@gated-at.bofh.it> (permalink)
References <stvrH-5XY-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 18 Oct 2016 13:42:09 +0800
Chen-Yu Tsai <wens@csie.org> wrote:

> On the A31, the DMA engine only works if AHB1 is clocked from PLL6.
> In addition, the hstimer is clocked from AHB1, and if AHB1 is clocked
> from the CPU clock, and cpufreq is working, we get an unstable timer.
> 
> Force the AHB1 clock to use PLL6 as its parent. Previously this was done
> in the device tree with the assigned-clocks and assigned-clocks-parent
> bindings. However with this new monolithic driver, the system critical
> clocks aren't exported through the device tree. The alternative is to
> force this setting in the driver before the clocks are registered.

It should be simpler to export the constant (CLK_AHB1) instead of
adding code...

-- 
Ken ar c'hentaƱ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

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


Thread

[PATCH] clk: sunxi-ng: sun6i-a31: Force AHB1 clock to use PLL6 as parent Chen-Yu Tsai <wens@csie.org> - 2016-10-18 07:50 +0200
  Re: [PATCH] clk: sunxi-ng: sun6i-a31: Force AHB1 clock to use PLL6 as parent Chen-Yu Tsai <wens@csie.org> - 2016-10-18 10:00 +0200
  Re: [PATCH] clk: sunxi-ng: sun6i-a31: Force AHB1 clock to use PLL6  as parent Jean-Francois Moine <moinejf@free.fr> - 2016-10-18 10:00 +0200
  Re: [PATCH] clk: sunxi-ng: sun6i-a31: Force AHB1 clock to use PLL6  as parent Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-10-19 16:50 +0200

csiph-web