public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/4] clk: sunxi-ng: Fix issues with fractional mode
@ 2017-07-30 16:41 Jernej Skrabec
  2017-07-30 16:41 ` [PATCH 1/4] clk: sunxi-ng: Fix fractional mode for N-M clocks Jernej Skrabec
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Jernej Skrabec @ 2017-07-30 16:41 UTC (permalink / raw)
  To: linux-arm-kernel

During development of H3 HDMI driver, I found some issues with
setting video clock rate. It turned out that clock driver decided
to use fractional mode and selected right frequency, but it didn't
enable it. Additionally, fractional helpers don't wait on lock.

Patch 1 adds a call to N-M clock driver which enables fractional mode.
It also clears M factor before that as required by most SoCs.

Patch 2 adds a call to N clock driver which enables fractional mode.

Patch 3 makes fractional helpers less chatty.

Patch 4 adds a wait for lock to fractional helpers.

Jernej Skrabec (4):
  clk: sunxi-ng: Fix fractional mode for N-M clocks
  clk: sunxi-ng: multiplier: Fix fractional mode
  clk: sunxi-ng: Make fractional helper less chatty
  clk: sunxi-ng: Wait for lock when using fractional mode

 drivers/clk/sunxi-ng/ccu_frac.c | 14 ++++++++------
 drivers/clk/sunxi-ng/ccu_frac.h |  2 +-
 drivers/clk/sunxi-ng/ccu_mult.c | 10 +++++++---
 drivers/clk/sunxi-ng/ccu_nm.c   | 19 ++++++++++++++++---
 4 files changed, 32 insertions(+), 13 deletions(-)

-- 
2.13.3

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

end of thread, other threads:[~2017-08-01  2:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-30 16:41 [PATCH 0/4] clk: sunxi-ng: Fix issues with fractional mode Jernej Skrabec
2017-07-30 16:41 ` [PATCH 1/4] clk: sunxi-ng: Fix fractional mode for N-M clocks Jernej Skrabec
2017-07-31  4:54   ` Chen-Yu Tsai
2017-07-30 16:41 ` [PATCH 2/4] clk: sunxi-ng: multiplier: Fix fractional mode Jernej Skrabec
2017-07-31  5:39   ` Chen-Yu Tsai
2017-07-30 16:41 ` [PATCH 3/4] clk: sunxi-ng: Make fractional helper less chatty Jernej Skrabec
2017-07-31  7:15   ` Chen-Yu Tsai
2017-07-30 16:41 ` [PATCH 4/4] clk: sunxi-ng: Wait for lock when using fractional mode Jernej Skrabec
2017-07-31  5:02   ` Chen-Yu Tsai
2017-07-31 17:18     ` Jernej Škrabec
2017-07-31  5:13 ` [PATCH 0/4] clk: sunxi-ng: Fix issues with " Chen-Yu Tsai
2017-07-31 16:50   ` [linux-sunxi] " Jernej Škrabec
2017-08-01  2:17     ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox