From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/3] Meson8/Meson8b: add the ARM TWD timer
Date: Sat, 21 Jul 2018 19:37:18 +0200 [thread overview]
Message-ID: <20180721173721.31361-1-martin.blumenstingl@googlemail.com> (raw)
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. Additionally I found out that
the interrupt is defined incorrectly, leading to an error message
during boot: "GIC: PPI13 is secure or misconfigured".
Amlogic's GPL kernel does not use the TWD timer. However, it seems to
work fine for me and it fixes the following warnings during boot:
Clockevents: could not switch to one-shot mode:
Clockevents: could not switch to one-shot mode:
Clockevents: could not switch to one-shot mode:
Clockevents: could not switch to one-shot mode:
dummy_timer is not functional.
dummy_timer is not functional.
dummy_timer is not functional.
dummy_timer is not functional.
Could not switch to high resolution mode on CPU 0
Could not switch to high resolution mode on CPU 2
Could not switch to high resolution mode on CPU 3
Could not switch to high resolution mode on CPU 1
I chose not to split the interrupt line at 80 chars to make it easier
to read (in my opinion, other .dts are not splitting it either).
NOTE: This series depends on the following clock driver changes: [1]
[0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/391928.html
[1] http://lists.infradead.org/pipermail/linux-amlogic/2018-July/007890.html
Martin Blumenstingl (3):
ARM: meson: select HAVE_ARM_TWD when SMP support is enabled
ARM: dts: meson8: add the ARM TWD timer
ARM: dts: meson8b: add the ARM TWD timer
arch/arm/boot/dts/meson8.dtsi | 7 +++++++
arch/arm/boot/dts/meson8b.dtsi | 7 +++++++
arch/arm/mach-meson/Kconfig | 1 +
3 files changed, 15 insertions(+)
--
2.18.0
next reply other threads:[~2018-07-21 17:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-21 17:37 Martin Blumenstingl [this message]
2018-07-21 17:37 ` [PATCH 1/3] ARM: meson: select HAVE_ARM_TWD when SMP support is enabled Martin Blumenstingl
2018-07-21 17:37 ` [PATCH 2/3] ARM: dts: meson8: add the ARM TWD timer Martin Blumenstingl
2018-07-21 17:37 ` [PATCH 3/3] ARM: dts: meson8b: " Martin Blumenstingl
2018-07-21 18:58 ` [PATCH 0/3] Meson8/Meson8b: " Martin Blumenstingl
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=20180721173721.31361-1-martin.blumenstingl@googlemail.com \
--to=martin.blumenstingl@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®