From: Andre Przywara <andre.przywara@arm.com>
To: Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Haojian Zhuang <haojian.zhuang@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 5/6] ARM: dts: nspire: Fix SP804 users
Date: Wed, 26 Aug 2020 19:38:03 +0100 [thread overview]
Message-ID: <20200826183805.19369-6-andre.przywara@arm.com> (raw)
In-Reply-To: <20200826183805.19369-1-andre.przywara@arm.com>
Even though the SP804 binding allows to specify only one clock, the
primecell driver requires a named clock to activate the bus clock.
Specify the one clock three times and provide some clock-names, to
make the DT match the SP804 and primecell binding.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
arch/arm/boot/dts/nspire.dtsi | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/nspire.dtsi b/arch/arm/boot/dts/nspire.dtsi
index d9a0fd7524dc..90e033d9141f 100644
--- a/arch/arm/boot/dts/nspire.dtsi
+++ b/arch/arm/boot/dts/nspire.dtsi
@@ -145,15 +145,19 @@
timer0: timer@900C0000 {
reg = <0x900C0000 0x1000>;
-
- clocks = <&timer_clk>;
+ clocks = <&timer_clk>, <&timer_clk>,
+ <&timer_clk>;
+ clock-names = "timer0clk", "timer1clk",
+ "apb_pclk";
};
timer1: timer@900D0000 {
reg = <0x900D0000 0x1000>;
interrupts = <19>;
-
- clocks = <&timer_clk>;
+ clocks = <&timer_clk>, <&timer_clk>,
+ <&timer_clk>;
+ clock-names = "timer0clk", "timer1clk",
+ "apb_pclk";
};
watchdog: watchdog@90060000 {
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-08-26 18:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 18:37 [PATCH 0/6] dt-bindings: Convert SP804 to Json-schema (and fix users) Andre Przywara
2020-08-26 18:37 ` [PATCH 1/6] dt-bindings: timers: sp-804: Convert to json-schema Andre Przywara
2020-08-26 21:36 ` Rob Herring
2020-08-26 18:38 ` [PATCH 2/6] ARM: dts: arm: Fix SP804 users Andre Przywara
2020-08-28 14:03 ` Linus Walleij
2020-08-28 14:22 ` André Przywara
2020-08-26 18:38 ` [PATCH 3/6] ARM: dts: broadcom: Fix SP804 node Andre Przywara
2020-08-26 18:42 ` Florian Fainelli
2020-08-26 18:53 ` André Przywara
2020-08-26 18:59 ` Florian Fainelli
2020-08-26 20:55 ` Florian Fainelli
2020-08-28 13:59 ` André Przywara
2020-08-26 21:29 ` Rob Herring
2020-08-26 18:38 ` [PATCH 4/6] ARM: dts: hisilicon: Fix SP804 users Andre Przywara
2020-08-26 18:38 ` Andre Przywara [this message]
2020-08-26 18:38 ` [PATCH 6/6] arm64: dts: lg: " Andre Przywara
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=20200826183805.19369-6-andre.przywara@arm.com \
--to=andre.przywara@arm.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=haojian.zhuang@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@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