Skip to content

clk: sun6i: Unify AHB1 clock and fix rate calculation

Maxime Ripard linux-arm-kernel 4 versions – New

Get series with b4
b4 am 20141126183539.GI25249@lukather

Versions newest first · linked by author and title

  1. v4 Latest posting 3/30 of 3 patches 0 repliesNew
  2. v4 posting 2/30 of 6 patches 0 repliesSuperseded
  3. v4 posting 1/30 of 6 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v10 of 7 patches0 repliesSuperseded

Patches in v4 posting 3/3 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH resend v4 0/3] clk: sun6i: Unify AHB1 clock and fix rate calculation
Quoted 9 lines · Chen-Yu Tsai

Hi everyone,

This is a resend of v4 of the sun6i AHB1 clock unification series. This includes only the 3 patches not yet merged.

This series unifies the mux and divider parts of the AHB1 clock found on sun6i and sun8i, while also adding support for the pre-divider on the PLL6 input.

Quoted 8 lines

The rate calculation logic must factor in which parent it is using to calculate the rate, to decide whether to use the pre-divider or not. This is beyond the original factors clk design in sunxi. To avoid feature bloat, this is implemented as a separate composite clk.

The new clock driver is registered with a separate OF_CLK_DECLARE. As it shares its register with the APB1 div clock, thus shares the same spinlock, it cannot reside in a separate file.

Queued this for 3.20, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141126/ed6b736f/attachment.sig>