]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: Implement global pre-divider
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 19 Jan 2017 21:49:26 +0000 (22:49 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 23 Jan 2017 10:45:02 +0000 (11:45 +0100)
commit79ce542eace3d1f07b6c0415051046aa1ee9362e
tree725afd33be597d655533de50cb85f377a45af4af
parente0fc61cb4c3976fd701d7c1387ca1770433e6412
clk: sunxi-ng: Implement global pre-divider

Some clocks have a global pre-divider that applies to all their parents.

Since it might also apply to clocks that have a single parent, this is
merged in the ccu_common structure, unlike the other pre-divider settings
that are tied to a specific index, and thus a specific parent.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu_common.h
drivers/clk/sunxi-ng/ccu_mux.c