Searched hist:c35e84b0977617f96fb1dbef3fb8d71a861325c0 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/clk/ |
H A D | clk-divider.c | diff c35e84b0977617f96fb1dbef3fb8d71a861325c0 Tue Aug 16 06:25:21 CDT 2022 Maxime Ripard <maxime@cerno.tech> clk: Introduce clk_hw_init_rate_request()
clk-divider instantiates clk_rate_request internally for its round_rate implementations to share the code with its determine_rate implementations.
However, it's missing a few fields (min_rate, max_rate) that would be initialized properly if it was using clk_core_init_rate_req().
Let's create the clk_hw_init_rate_request() function for clock providers to be able to share the code to instation clk_rate_requests with the framework. This will also be useful for some tests introduced in later patches.
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> # imx8mp Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> # exynos4210, meson g12b Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220816112530.1837489-17-maxime@cerno.tech Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
|
H A D | clk.c | diff c35e84b0977617f96fb1dbef3fb8d71a861325c0 Tue Aug 16 06:25:21 CDT 2022 Maxime Ripard <maxime@cerno.tech> clk: Introduce clk_hw_init_rate_request()
clk-divider instantiates clk_rate_request internally for its round_rate implementations to share the code with its determine_rate implementations.
However, it's missing a few fields (min_rate, max_rate) that would be initialized properly if it was using clk_core_init_rate_req().
Let's create the clk_hw_init_rate_request() function for clock providers to be able to share the code to instation clk_rate_requests with the framework. This will also be useful for some tests introduced in later patches.
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> # imx8mp Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> # exynos4210, meson g12b Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220816112530.1837489-17-maxime@cerno.tech Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
|
/openbmc/linux/include/linux/ |
H A D | clk-provider.h | diff c35e84b0977617f96fb1dbef3fb8d71a861325c0 Tue Aug 16 06:25:21 CDT 2022 Maxime Ripard <maxime@cerno.tech> clk: Introduce clk_hw_init_rate_request()
clk-divider instantiates clk_rate_request internally for its round_rate implementations to share the code with its determine_rate implementations.
However, it's missing a few fields (min_rate, max_rate) that would be initialized properly if it was using clk_core_init_rate_req().
Let's create the clk_hw_init_rate_request() function for clock providers to be able to share the code to instation clk_rate_requests with the framework. This will also be useful for some tests introduced in later patches.
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> # imx8mp Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> # exynos4210, meson g12b Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220816112530.1837489-17-maxime@cerno.tech Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
|