alistair23-linux/drivers/clk/hisilicon
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-hi3620.c clk: Add rate constraints to clocks 2015-02-02 14:23:42 -08:00
clk-hip04.c clk: hisi: remove static variable 2014-03-19 15:31:27 +08:00
clk-hix5hd2.c clk: hix5hd2: add I2C clocks 2014-09-28 10:27:09 +08:00
clk.c clk: hisi: add hisi_clk_register_gate 2014-05-12 11:30:18 +08:00
clk.h clk: hisi: add hisi_clk_register_gate 2014-05-12 11:30:18 +08:00
clkgate-separated.c clk: hisilicon: add common clock support 2013-12-04 18:36:45 +08:00
Makefile clk: hisi: add clk-hix5hd2.c 2014-05-12 11:30:32 +08:00