From: Jerome Brunet <jbrunet@baylibre.com> To: Neil Armstrong <narmstrong@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org> Cc: Jerome Brunet <jbrunet@baylibre.com>, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] clk: meson: mpll: add round closest support Date: Tue, 15 May 2018 18:36:50 +0200 [thread overview] Message-ID: <20180515163652.19980-1-jbrunet@baylibre.com> (raw) ATM, the mpll driver can only round the requested rate down, even if rounding up would have provided a better approximation of the requested rate. 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) [0]: https://lkml.kernel.org/r/20180420095603.29964-1-jbrunet@baylibre.com 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(-) -- 2.14.3
WARNING: multiple messages have this Message-ID (diff)
From: jbrunet@baylibre.com (Jerome Brunet) To: linus-amlogic@lists.infradead.org Subject: [PATCH v2 0/2] clk: meson: mpll: add round closest support Date: Tue, 15 May 2018 18:36:50 +0200 [thread overview] Message-ID: <20180515163652.19980-1-jbrunet@baylibre.com> (raw) ATM, the mpll driver can only round the requested rate down, even if rounding up would have provided a better approximation of the requested rate. 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) [0]: https://lkml.kernel.org/r/20180420095603.29964-1-jbrunet at baylibre.com 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(-) -- 2.14.3
next reply other threads:[~2018-05-15 16:37 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-15 16:36 Jerome Brunet [this message] 2018-05-15 16:36 ` [PATCH v2 0/2] clk: meson: mpll: add round closest support Jerome Brunet 2018-05-15 16:36 ` [PATCH v2 1/2] " Jerome Brunet 2018-05-15 16:36 ` Jerome Brunet 2018-05-15 16:45 ` Neil Armstrong 2018-05-15 16:45 ` Neil Armstrong 2018-05-21 9:18 ` Martin Blumenstingl 2018-05-21 9:18 ` Martin Blumenstingl 2018-05-21 9:32 ` Jerome Brunet 2018-05-21 9:32 ` Jerome Brunet 2018-05-15 16:36 ` [PATCH v2 2/2] clk: meson: axg: let mpll clocks round closest Jerome Brunet 2018-05-15 16:36 ` Jerome Brunet 2018-05-15 16:46 ` Neil Armstrong 2018-05-15 16:46 ` Neil Armstrong 2018-05-21 9:33 ` Jerome Brunet 2018-05-21 9:33 ` Jerome Brunet
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180515163652.19980-1-jbrunet@baylibre.com \ --to=jbrunet@baylibre.com \ --cc=carlo@caione.org \ --cc=khilman@baylibre.com \ --cc=linux-amlogic@lists.infradead.org \ --cc=linux-clk@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=martin.blumenstingl@googlemail.com \ --cc=narmstrong@baylibre.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.