diff options
author | Adam Ford <aford173@gmail.com> | 2023-03-24 00:01:24 +0100 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2023-03-31 14:27:36 +0200 |
commit | 156e96ff2172518b6f83e97d8f11f677bc668e22 (patch) | |
tree | 48080e52cf64e28275985e2d53037ea8fba03355 /drivers/clk/imx/clk.h | |
parent | dt-bindings: clock: imx8mp: Add audiomix block control (diff) | |
download | linux-156e96ff2172518b6f83e97d8f11f677bc668e22.tar.xz linux-156e96ff2172518b6f83e97d8f11f677bc668e22.zip |
clk: imx: composite-8m: Add support to determine_rate
Similar to imx/clk-composite-93 and imx/clk-divider-gate, the
imx8m_clk_composite_divider_ops can support determine_rate.
Without this the parent clocks are set to a fixed value, and
if a consumer needs a slower reate, the clock is divided, but
the division is only as good as the parent clock rate.
With this added, the system can attempt to adjust the parent rate
if the proper flags are set which can lead to a more precise clock
value.
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230323230127.120883-2-aford173@gmail.com
Diffstat (limited to 'drivers/clk/imx/clk.h')
0 files changed, 0 insertions, 0 deletions