2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/clk/mmp
Tomeu Vizoso 1c8e600440 clk: Add rate constraints to clocks
Adds a way for clock consumers to set maximum and minimum rates. This
can be used for thermal drivers to set minimum rates, or by misc.
drivers to set maximum rates to assure a minimum performance level.

Changes the signature of the determine_rate callback by adding the
parameters min_rate and max_rate.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
[sboyd@codeaurora.org: set req_rate in __clk_init]
Signed-off-by: Michael Turquette <mturquette@linaro.org>
[mturquette@linaro.org: min/max rate for sun6i_ahb1_clk_determine_rate
                        migrated clk-private.h changes to clk.c]
2015-02-02 14:23:42 -08:00
..
clk-apbc.c clk: mmp: add mmp specific clocks 2012-08-28 14:14:14 -07:00
clk-apmu.c clk: mmp: add mmp specific clocks 2012-08-28 14:14:14 -07:00
clk-frac.c clk: mmp: fix sparse non static symbol warning 2014-12-11 12:14:09 -08:00
clk-gate.c clk: mmp: add mmp private gate clock 2014-11-12 16:34:00 -08:00
clk-mix.c clk: Add rate constraints to clocks 2015-02-02 14:23:42 -08:00
clk-mmp2.c clk: mmp: add spin lock for clk-frac 2014-11-12 16:33:37 -08:00
clk-of-mmp2.c clk: mmp: add mmp2 DT support for clock driver 2014-11-12 16:34:22 -08:00
clk-of-pxa168.c clk: mmp: add pxa168 DT support for clock driver 2014-11-12 16:34:14 -08:00
clk-of-pxa910.c clk: mmp: add pxa910 DT support for clock driver 2014-11-12 16:34:18 -08:00
clk-pxa168.c clk: mmp: add spin lock for clk-frac 2014-11-12 16:33:37 -08:00
clk-pxa910.c clk: mmp: add spin lock for clk-frac 2014-11-12 16:33:37 -08:00
clk.c clk: mmp: add basic support functions for DT support 2014-11-12 16:34:05 -08:00
clk.h clk: mmp: add basic support functions for DT support 2014-11-12 16:34:05 -08:00
Makefile clk: mmp: add mmp2 DT support for clock driver 2014-11-12 16:34:22 -08:00
reset.c clk: mmp: add reset support 2014-11-12 16:34:10 -08:00
reset.h clk: mmp: add reset support 2014-11-12 16:34:10 -08:00