clk: sunxi-ng: nkm: Add mux to support multiple parents
authorChen-Yu Tsai <wens@csie.org>
Tue, 26 Jul 2016 07:04:28 +0000 (15:04 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 8 Aug 2016 18:03:20 +0000 (20:03 +0200)
commita36583595c1769cad9aad393ffe5a27d217f734f
tree8a9cf74573388b11c86932df8fac5fe7ec960971
parent178ca5312ad358fb129876bacbee8dac4681673a
clk: sunxi-ng: nkm: Add mux to support multiple parents

The MIPI mode of the MIPI-PLL on A31 is an NKM-style PLL with 2
selectable parents.

Add mux support to the NKM clock.

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