From: Kuldeep Singh <singh.kuldeep87k@gmail.com>
To: Marc Zyngier <marc.zyngier@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Marc Zyngier <maz@kernel.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: [PATCH 3/3] clocksource: arch_timer: Add arm,cortex-a7/15-timer in of_match list
Date: Wed, 16 Mar 2022 15:24:32 +0530 [thread overview]
Message-ID: <20220316095433.20225-4-singh.kuldeep87k@gmail.com> (raw)
In-Reply-To: <20220316095433.20225-1-singh.kuldeep87k@gmail.com>
Few platforms such as Renesas RZ/N1D, Calxeda, Alpine etc. are using
arm,cortex-a15-timer and arm,cortex-a7-timer entries in conjugation with
arm,armv7-timer which are not currently defined in driver file. Add
these entries in arch_timer_of_match list to bring them in use.
Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
---
drivers/clocksource/arm_arch_timer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 1ecd52f903b8..805e60c09916 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -1266,6 +1266,8 @@ static int __init arch_timer_mem_register(void __iomem *base, unsigned int irq)
static const struct of_device_id arch_timer_of_match[] __initconst = {
{ .compatible = "arm,armv7-timer", },
{ .compatible = "arm,armv8-timer", },
+ { .compatible = "arm,cortex-a7-timer", },
+ { .compatible = "arm,cortex-a15-timer", },
{},
};
--
2.25.1
next prev parent reply other threads:[~2022-03-16 9:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-16 9:54 [PATCH 0/3] Fix dtbs warnings for arch timer Kuldeep Singh
2022-03-16 9:54 ` [PATCH 1/3] dt-bindings: timer: Rearrange compatible entries of " Kuldeep Singh
2022-03-16 16:29 ` Krzysztof Kozlowski
2022-03-17 7:02 ` Kuldeep Singh
2022-03-16 9:54 ` [PATCH 2/3] dt-bindings: timer: Document arm,cortex-a7-timer for " Kuldeep Singh
2022-03-16 16:28 ` Krzysztof Kozlowski
2022-03-16 17:43 ` Kuldeep Singh
2022-03-16 9:54 ` Kuldeep Singh [this message]
2022-03-16 10:05 ` [PATCH 3/3] clocksource: arch_timer: Add arm,cortex-a7/15-timer in of_match list Marc Zyngier
2022-03-16 16:30 ` Krzysztof Kozlowski
2022-03-16 17:41 ` Kuldeep Singh
2022-03-16 18:43 ` Marc Zyngier
2022-03-17 6:59 ` Kuldeep Singh
2022-03-17 7:18 ` Krzysztof Kozlowski
2022-03-16 11:27 ` [PATCH 0/3] Fix dtbs warnings for arch timer Marc Zyngier
2022-03-16 17:20 ` Kuldeep Singh
2022-03-16 18:47 ` Marc Zyngier
2022-03-23 19:38 ` Rob Herring
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=20220316095433.20225-4-singh.kuldeep87k@gmail.com \
--to=singh.kuldeep87k@gmail.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=tglx@linutronix.de \
/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®