Home
last modified time | relevance | path

Searched hist:c97448437847bd76116b3a077e44808e946bb1ae (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/clk/
H A Dclk_test.cdiff c97448437847bd76116b3a077e44808e946bb1ae Fri Feb 25 08:35:29 CST 2022 Maxime Ripard <maxime@cerno.tech> clk: Add clk_drop_range

In order to reset the range on a clock, we need to call
clk_set_rate_range with a minimum of 0 and a maximum of ULONG_MAX. Since
it's fairly inconvenient, let's introduce a clk_drop_range() function
that will do just this.

Suggested-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220225143534.405820-8-maxime@cerno.tech
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
/openbmc/linux/include/linux/
H A Dclk.hdiff c97448437847bd76116b3a077e44808e946bb1ae Fri Feb 25 08:35:29 CST 2022 Maxime Ripard <maxime@cerno.tech> clk: Add clk_drop_range

In order to reset the range on a clock, we need to call
clk_set_rate_range with a minimum of 0 and a maximum of ULONG_MAX. Since
it's fairly inconvenient, let's introduce a clk_drop_range() function
that will do just this.

Suggested-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220225143534.405820-8-maxime@cerno.tech
Signed-off-by: Stephen Boyd <sboyd@kernel.org>