]> Git Repo - linux.git/commit
clk: sunxi-ng: Support fixed post-dividers on MP style clocks
authorChen-Yu Tsai <[email protected]>
Mon, 4 Dec 2017 05:19:11 +0000 (13:19 +0800)
committerMaxime Ripard <[email protected]>
Thu, 7 Dec 2017 09:09:44 +0000 (10:09 +0100)
commit946797aa3f08e2f6f5992f3ec2be44791e9b9260
treebf791a74c0914464a21ede67a075fe71dd93cd74
parent4d1369cae0165227048c420cf089668335084151
clk: sunxi-ng: Support fixed post-dividers on MP style clocks

On the A64, the MMC module clocks are fixed in the new timing mode,
i.e. they do not have a bit to select the mode. These clocks have
a 2x divider somewhere between the clock and the MMC module.

To be consistent with other SoCs supporting the new timing mode,
we model the 2x divider as a fixed post-divider on the MMC module
clocks.

To do this, we first add fixed post-divider to the MP style clocks,
which the MMC module clocks are.

Signed-off-by: Chen-Yu Tsai <[email protected]>
Tested-by: Andre Przywara <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
drivers/clk/sunxi-ng/ccu_mp.c
drivers/clk/sunxi-ng/ccu_mp.h
This page took 0.055345 seconds and 4 git commands to generate.