clk: sunxi-ng: sun50i: a64: Add 2x fixed post-divider to MMC module clocks
authorChen-Yu Tsai <wens@csie.org>
Mon, 4 Dec 2017 05:19:12 +0000 (13:19 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 7 Dec 2017 09:09:57 +0000 (10:09 +0100)
commit83fe3be4d1974f5f50c5e2039a1609f4960e8579
tree371fc15062d3ba4818d1e158a1060146ec4a9dcc
parent946797aa3f08e2f6f5992f3ec2be44791e9b9260
clk: sunxi-ng: sun50i: a64: Add 2x fixed post-divider to MMC module 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.

This patch adds the post-dividers to the MMC clocks.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu-sun50i-a64.c