- 01 8月, 2017 1 次提交
-
-
由 Jerome Brunet 提交于
mpll0 clock is special compared to the other mplls. It needs another bit (ssen) to be set to activate the fractional part the mpll divider Fixes: 007e6e5c ("clk: meson: mpll: add rw operation") Signed-off-by: NJerome Brunet <jbrunet@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
- 07 4月, 2017 1 次提交
-
-
由 Jerome Brunet 提交于
The audio divider needs a specific clock divider driver. With am mpll parent clock, which is able to provide a fairly precise rate, the generic divider tends to select low value of the divider. In such case the quality of the clock is very poor. For the same final rate, maximizing the audio clock divider value and selecting the corresponding mpll rate gives better results. This is what this driver aims to acheive. So far, so good. Cc: Hendrik v. Raven <hendrik@consetetur.de> Acked-by: NMichael Turquette <mturquette@baylibre.com> Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
-
- 05 4月, 2017 1 次提交
-
-
由 Neil Armstrong 提交于
In recent Amlogic GXBB, GXL and GXM SoCs, the GP0 PLL needs some specific parameters in order to initialize and lock correctly. This patch adds an optional PARAM table used to initialize the PLL to a default value with it's parameters in order to achieve to desired frequency. The GP0 PLL in GXBB, GXL/GXM also needs some tweaks in the initialization steps, and these are exposed along the PARAM table. Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/1490178747-14837-2-git-send-email-narmstrong@baylibre.com
-
- 28 3月, 2017 2 次提交
-
-
由 Jerome Brunet 提交于
This patch adds new callbacks to the meson-mpll driver to control and set the pll rate. For this, we also need to add the enable bit and sdm enable bit. The corresponding parameters are added to mpll data structure. Signed-off-by: NJerome Brunet <jbrunet@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20170309104154.28295-6-jbrunet@baylibre.com
-
由 Jerome Brunet 提交于
parameter val is not enclosed in parenthesis which is buggy when given an expression instead of a simple value Signed-off-by: NJerome Brunet <jbrunet@baylibre.com> Reviewed-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20170309104154.28295-2-jbrunet@baylibre.com
-
- 02 9月, 2016 1 次提交
-
-
由 Alexander Müller 提交于
The macro used gxbb_ prefix for clock definitions. In order to share the macro between gxbb and meson8b, the prefix must be moved to gxbb.c. Signed-off-by: NAlexander Müller <serveralex@gmail.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/1472319654-59048-6-git-send-email-serveralex@gmail.com
-
- 23 6月, 2016 8 次提交
-
-
由 Michael Turquette 提交于
Fractional MPLLs are a superset of the existing AmLogic MPLLs. They add in a couple of new bitfields for further dividing the clock rate to achieve rates with fractional hertz. Tested-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
MPLLs are adjustable rate clocks derived from PLLs. On both Meson8b and GXBB they appear to be only derived from fixed_pll. Add support for these clock types so that they can be added to their respective drivers. Tested-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
There are a series of peripheral and system gate clocks that fan out from the clk81 signal. Add a helper macro to statically initialize these gate clocks. Tested-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
Remove the composite clock registration function and helpers. Replace unnecessary configuration struct with static initialization of the desired clock type. To preserve git bisect this patch also flips the switch and starts using of_clk_add_hw_provider instead of the deprecated meson_clk_register_clks method. As a byproduct clk.c can be deleted. Tested-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
Remove the cpu clock registration function and helpers. Replace unnecessary configuration struct with static initialization of the desired clock type. Ninja rename a5_clk to cpu_clk to better align with cpufreq convention. Tested-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
Remove the fixed factor registration function and helpers. Replace unnecessary configuration struct with static initialization of the desired clock type. Tested-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
Remove the pll registration function and helpers. Replace unnecessary configuration struct with static initialization of the desired clock type. Tested-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
由 Michael Turquette 提交于
Remove the fixed_rate registration function and helpers from clkc.[ch]. Replace unnecessary configuration struct with static initialization of the desired clock type. While we're here, begin the transition to a proper platform_driver and call of_clk_add_hw_provider with a shiny new struct clk_hw_onecell_data. Tested-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
- 06 6月, 2015 1 次提交
-
-
由 Carlo Caione 提交于
This patchset adds the infrastructure for registering and managing the core clocks found on Amlogic MesonX SoCs. In particular: - PLLs - CPU clock - Fixed rate clocks, fixed factor clocks, ... Signed-off-by: NCarlo Caione <carlo@endlessm.com> Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
-