[PATCH v4 2/6] clk: sunxi-ng: Support multiple variable pre-dividers

2017-05-19 Thread Chen-Yu Tsai
On the A83T, the AHB1 clock has a shared pre-divider on the two PLL-PERIPH clock parents. To support such instances of shared pre-dividers, this patch extends the mux clock type to support multiple variable pre-dividers. As the pre-dividers are only used to calculate the rate, but do not

[PATCH v4 2/6] clk: sunxi-ng: Support multiple variable pre-dividers

2017-05-19 Thread Chen-Yu Tsai
On the A83T, the AHB1 clock has a shared pre-divider on the two PLL-PERIPH clock parents. To support such instances of shared pre-dividers, this patch extends the mux clock type to support multiple variable pre-dividers. As the pre-dividers are only used to calculate the rate, but do not