From: jbrunet@baylibre.com (Jerome Brunet)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/2] meson8b: add the CPU_DIV16 clock for the ARM TWD
Date: Mon, 23 Jul 2018 11:11:41 +0200 [thread overview]
Message-ID: <1532337101.26720.89.camel@baylibre.com> (raw)
In-Reply-To: <20180721172537.15639-1-martin.blumenstingl@googlemail.com>
On Sat, 2018-07-21 at 19:25 +0200, Martin Blumenstingl wrote:
> Carlo sent a .dts patch for the ARM TWD (timer watchdog) a long time
> ago: [0]
> This patch was never applied. While resurrecting it I found out (by
> trial and error) that the TWD clock is derived from the CPU clock by
> dividing the existing CPU clock by 16.
> An additional hint was also given by Neil's clock measurer patch [1]
> as the GX SoCs explicitly define a "sys_cpu_div16" clock with ID 18,
> however old u-boot seems to call that CTS_LED_PLL_CLK. The rate of
> this clock also matches CPU clock divided by 16 on my boards.
>
> It's not clear if there is an additional gate for this clock. If there
> is then it's not documented anywhere.
>
>
> [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/391928.html
> [1] https://patchwork.kernel.org/patch/10504083/
>
> Martin Blumenstingl (2):
> dt-bindings: clock: meson8b: export the CPU_DIV16 clock
> clk: meson: meson8b: add the CPU_DIV16 clock
>
> drivers/clk/meson/meson8b.c | 12 ++++++++++++
> drivers/clk/meson/meson8b.h | 2 +-
> include/dt-bindings/clock/meson8b-clkc.h | 1 +
> 3 files changed, 14 insertions(+), 1 deletion(-)
>
Queued for 4.20
Thx
WARNING: multiple messages have this Message-ID (diff)
From: Jerome Brunet <jbrunet@baylibre.com>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
narmstrong@baylibre.com, linux-amlogic@lists.infradead.org
Cc: linux-clk@vger.kernel.org, carlo@caione.org,
khilman@baylibre.com, sboyd@kernel.org, mturquette@baylibre.com
Subject: Re: [PATCH 0/2] meson8b: add the CPU_DIV16 clock for the ARM TWD
Date: Mon, 23 Jul 2018 11:11:41 +0200 [thread overview]
Message-ID: <1532337101.26720.89.camel@baylibre.com> (raw)
In-Reply-To: <20180721172537.15639-1-martin.blumenstingl@googlemail.com>
On Sat, 2018-07-21 at 19:25 +0200, Martin Blumenstingl wrote:
> Carlo sent a .dts patch for the ARM TWD (timer watchdog) a long time
> ago: [0]
> This patch was never applied. While resurrecting it I found out (by
> trial and error) that the TWD clock is derived from the CPU clock by
> dividing the existing CPU clock by 16.
> An additional hint was also given by Neil's clock measurer patch [1]
> as the GX SoCs explicitly define a "sys_cpu_div16" clock with ID 18,
> however old u-boot seems to call that CTS_LED_PLL_CLK. The rate of
> this clock also matches CPU clock divided by 16 on my boards.
>
> It's not clear if there is an additional gate for this clock. If there
> is then it's not documented anywhere.
>
>
> [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/391928.html
> [1] https://patchwork.kernel.org/patch/10504083/
>
> Martin Blumenstingl (2):
> dt-bindings: clock: meson8b: export the CPU_DIV16 clock
> clk: meson: meson8b: add the CPU_DIV16 clock
>
> drivers/clk/meson/meson8b.c | 12 ++++++++++++
> drivers/clk/meson/meson8b.h | 2 +-
> include/dt-bindings/clock/meson8b-clkc.h | 1 +
> 3 files changed, 14 insertions(+), 1 deletion(-)
>
Queued for 4.20
Thx
next prev parent reply other threads:[~2018-07-23 9:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-21 17:25 [PATCH 0/2] meson8b: add the CPU_DIV16 clock for the ARM TWD Martin Blumenstingl
2018-07-21 17:25 ` Martin Blumenstingl
2018-07-21 17:25 ` [PATCH 1/2] dt-bindings: clock: meson8b: export the CPU_DIV16 clock Martin Blumenstingl
2018-07-21 17:25 ` Martin Blumenstingl
2018-07-21 17:25 ` [PATCH 2/2] clk: meson: meson8b: add " Martin Blumenstingl
2018-07-21 17:25 ` Martin Blumenstingl
2018-07-23 9:11 ` Jerome Brunet [this message]
2018-07-23 9:11 ` [PATCH 0/2] meson8b: add the CPU_DIV16 clock for the ARM TWD Jerome Brunet
2018-09-26 9:56 ` Martin Blumenstingl
2018-09-26 9:56 ` Martin Blumenstingl
2018-09-26 9:59 ` Jerome Brunet
2018-09-26 9:59 ` 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=1532337101.26720.89.camel@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=linus-amlogic@lists.infradead.org \
/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: link
Be 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.