[lkml]   [2018]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/2] clk: meson: mpll: add round closest support
ATM, the mpll driver can only round the requested rate down, even if
rounding up would have provided a better approximation of the requested

This patchset adds a flag to enable rounding to the closest rate possible,
even if it means rounding up.

The flag is then enabled on the axg platform to improve the rates provided
to the audio subsystem.

Changes since v1: [0]
* Fix an error in calculation while rounding the rate down
(Thanks Martin for reporting it)


Jerome Brunet (2):
clk: meson: mpll: add round closest support
clk: meson: axg: let mpll clocks round closest

drivers/clk/meson/axg.c | 4 ++++
drivers/clk/meson/clk-mpll.c | 24 +++++++++++++++++++-----
drivers/clk/meson/clkc.h | 3 +++
3 files changed, 26 insertions(+), 5 deletions(-)


 \ /
  Last update: 2018-05-15 18:37    [W:0.068 / U:1.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site