summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/ccu_nkm.h
Commit message (Collapse)AuthorAgeFilesLines
* clk: sunxi-ng: nkm: add support for fixed post-dividerIcenowy Zheng2017-08-141-0/+2
| | | | | | | | | | | SATA PLL on Allwinner R40 is of type (parent) * N * K / M / 6 where 6 is the fixed post-divider. Add post-divider support for NKM type clock. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> [wens@csie.org: Fixed application of post-divider in set_rate callback] Signed-off-by: Chen-Yu Tsai <wens@csie.org>
* clk: sunxi-ng: Rename the internal structuresMaxime Ripard2016-10-201-3/+3
| | | | | | | | Rename the structures meant to be embedded in other structures to make it consistent with the mux structure name Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* clk: sunxi-ng: mux: Rename mux macro to be consistentMaxime Ripard2016-08-251-1/+1
| | | | | | | Rename the internal mux macro to be consistent with the other internal structure macros. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
* clk: sunxi-ng: nkm: Add mux to support multiple parentsChen-Yu Tsai2016-08-081-0/+23
| | | | | | | | | | 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>
* clk: sunxi-ng: Add N-K-M Factor clockMaxime Ripard2016-07-081-0/+68
Introduce support for clocks that multiply and divide using two linear multipliers and one linear divider. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20160629190535.11855-12-maxime.ripard@free-electrons.com
OpenPOWER on IntegriCloud