Thread (2 messages) 2 messages, 2 authors, 2018-08-10

[linux-sunxi] [PATCH] clk: sunxi-ng: fix H6 bus clocks divider position

From: Chen-Yu Tsai <hidden>
Date: 2018-08-10 16:46:59
Also in: linux-clk, lkml, stable

On Thu, Aug 9, 2018 at 1:19 AM, Icenowy Zheng [off-list ref] wrote:
The bus clocks (AHB/APB) on Allwinner H6 have their second divider start
at bit 8, according to the user manual and the BSP code. However,
currently the divider is wrongly set to 16, thus the divider is not
correctly read and the clock frequency is not correctly calculated.

Fix this bit offset on all affected bus clocks in ccu-sun50i-h6.

Cc: stable at vger.kernel.org # v4.17.y
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
APB1 seems to be the only affected bus. Since there aren't any users ATM,
I've queued this up for 4.20, with a few minor tweaks to the commit log:

  - s/wrongly/incorrectly/
  - subject changed to "clk: sunxi-ng: h6: fix bus clocks' divider position"
  - third line: currently the divider _offset_ is ...

ChenYu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help