linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] A64/H3/H6 R_CCU clock fixes
@ 2019-12-29  2:59 Samuel Holland
  2019-12-29  2:59 ` [PATCH 1/3] clk: sunxi-ng: sun8i-r: Fix divider on APB0 clock Samuel Holland
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Samuel Holland @ 2019-12-29  2:59 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai, Michael Turquette, Stephen Boyd
  Cc: linux-arm-kernel, linux-clk, linux-kernel, linux-sunxi, Samuel Holland

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(-)

-- 
2.23.0


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

end of thread, other threads:[~2020-01-02  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-29  2:59 [PATCH 0/3] A64/H3/H6 R_CCU clock fixes Samuel Holland
2019-12-29  2:59 ` [PATCH 1/3] clk: sunxi-ng: sun8i-r: Fix divider on APB0 clock Samuel Holland
2019-12-29  2:59 ` [PATCH 2/3] clk: sunxi-ng: h6-r: Simplify R_APB1 clock definition Samuel Holland
2019-12-29  2:59 ` [PATCH 3/3] clk: sunxi-ng: h6-r: Fix AR100/R_APB2 parent order Samuel Holland
2020-01-02  9:28 ` [PATCH 0/3] A64/H3/H6 R_CCU clock fixes Maxime Ripard

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).