[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFBinCCdKgFOod=JimSnBVRvQ8Xmggpa0Uok3rgr3ixB7o+fnA@mail.gmail.com>
Date: Mon, 21 May 2018 11:18:28 +0200
From: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
To: Jerome Brunet <jbrunet@...libre.com>
Cc: Neil Armstrong <narmstrong@...libre.com>,
Kevin Hilman <khilman@...libre.com>,
Carlo Caione <carlo@...one.org>,
linux-amlogic@...ts.infradead.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] clk: meson: mpll: add round closest support
On Tue, May 15, 2018 at 6:36 PM, Jerome Brunet <jbrunet@...libre.com> wrote:
> Allow the mpll driver to round the requested rate up if
> CLK_MESON_MPLL_ROUND_CLOSEST is set and it provides a rate closer to the
> requested rate.
>
> Signed-off-by: Jerome Brunet <jbrunet@...libre.com>
Acked-by: Martin Blumenstingl<martin.blumenstingl@...glemail.com>
I gave it a quick spin on Odroid-C1 (which uses an RGMII Ethernet PHY
and the RGMII TX clock is supplied by MPLL2). the clock tree looks
fine and Ethernet is still working:
mpll2_div 1 1 0 249999701
0 0
mpll2 1 1 0 249999701
0 0
c9410000.ethernet#m250_sel 1 1 0
249999701 0 0
c9410000.ethernet#m250_div 1 1 0
249999701 0 0
c9410000.ethernet#fixed_div2 1 1
0 124999850 0 0
c9410000.ethernet#rgmii_tx_en 1 1
0 124999850 0 0
Powered by blists - more mailing lists