Skip to content

A64/H3/H6 R_CCU clock fixes

Samuel Holland linux-arm-kernel linux-clk lkml 1 version Applied

Status from this message: Applied all three, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3clk: sunxi-ng: sun8i-r: Fix divider on APB0 clockdrivers/clk/sunxi-ng/ccu-sun8i-r.c+3 -180 replies
2/3clk: sunxi-ng: h6-r: Simplify R_APB1 clock definitiondrivers/clk/sunxi-ng/ccu-sun50i-h6-r.c+1 -110 replies
3/3clk: sunxi-ng: h6-r: Fix AR100/R_APB2 parent orderdrivers/clk/sunxi-ng/ccu-sun50i-h6-r.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] A64/H3/H6 R_CCU clock fixes

Hi all,

I was examining the H6 BSP clock driver[1] for guidance when porting an AR100 firmware[2] to the H6 SoC. I found some inconsistencies between that code and the sunxi-ng driver.

I don't have a good way to verify the first patch. Someone with an oscilloscope could set the divider and check the I2C/RSB frequency.

Patch 2 should have no functional change.

Patch 3 was verified by benchmarking. Details are in the commit message.

[1]: https://github.com/Allwinner-Homlet/H6-BSP4.9-linux
[2]: https://github.com/crust-firmware/crust

Samuel Holland (3):
clk: sunxi-ng: sun8i-r: Fix divider on APB0 clock
clk: sunxi-ng: h6-r: Simplify R_APB1 clock definition
clk: sunxi-ng: h6-r: Fix AR100/R_APB2 parent order

 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c | 16 +++-------------
 drivers/clk/sunxi-ng/ccu-sun8i-r.c     | 21 +++------------------
 2 files changed, 6 insertions(+), 31 deletions(-)
Signature · 1 line
2.23.0