From: Felipe Balbi <balbi@ti.com>
To: Tony Lindgren <tony@atomide.com>, Paul Walmsley <paul@pwsan.com>
Cc: Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
Linux ARM Kernel Mailing List
<linux-arm-kernel@lists.infradead.org>,
devicetree@vger.kernel.org, Felipe Balbi <balbi@ti.com>
Subject: [PATCH 2/4] arm: dts: am4372: add missing debugss clocks
Date: Fri, 23 Jan 2015 17:11:42 -0600 [thread overview]
Message-ID: <1422054704-14915-3-git-send-email-balbi@ti.com> (raw)
In-Reply-To: <1422054704-14915-1-git-send-email-balbi@ti.com>
These clocks are needed so that OMAP HWMOD can
control them when we're using performance
monitors.
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
arch/arm/boot/dts/am43xx-clocks.dtsi | 51 ++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi
index c7dc9dab93a4..9000a5c5b719 100644
--- a/arch/arm/boot/dts/am43xx-clocks.dtsi
+++ b/arch/arm/boot/dts/am43xx-clocks.dtsi
@@ -362,6 +362,57 @@
clock-div = <1>;
};
+ dbg_sysclk_ck: dbg_sysclk_ck {
+ #clock-cells = <0>;
+ compatible = "ti,gate-clock";
+ clocks = <&sys_clkin_ck>;
+ ti,bit-shift = <8>;
+ reg = <0x20>;
+ };
+
+ dbg_clka_ck: dbg_clka_ck {
+ #clock-cells = <0>;
+ compatible = "ti,gate-clock";
+ clocks = <&sys_clkin_ck>;
+ ti,bit-shift = <9>;
+ reg = <0x20>;
+ };
+
+ dbg_clkb_ck: dbg_clkb_ck {
+ #clock-cells = <0>;
+ compatible = "ti,gate-clock";
+ clocks = <&sys_clkin_ck>;
+ ti,bit-shift = <10>;
+ reg = <0x20>;
+ };
+
+ dbg_clkc_ck: dbg_clkc_ck {
+ #clock-cells = <0>;
+ compatible = "ti,gate-clock";
+ clocks = <&sys_clkin_ck>;
+ ti,bit-shift = <11>;
+ reg = <0x20>;
+ };
+
+ trace_pmd_clk_mux_ck: trace_pmd_clk_mux_ck {
+ #clock-cells = <0>;
+ compatible = "ti,mux-clock";
+ clocks = <&dbg_sysclk_ck>, <&dbg_clka_ck>,
+ <&dbg_clkb_ck>, <&dbg_clkc_ck>;
+ ti,bit-shift = <22>;
+ reg = <0x20>;
+ };
+
+ trace_clk_div_ck: trace_clk_div_ck {
+ #clock-cells = <0>;
+ compatible = "ti,divider-clock";
+ clocks = <&trace_pmd_clk_mux_ck>;
+ ti,bit-shift = <24>;
+ ti,max-div = <4>;
+ reg = <0x20>;
+ ti,index-power-of-two;
+ };
+
pruss_ocp_gclk: pruss_ocp_gclk {
#clock-cells = <0>;
compatible = "ti,mux-clock";
--
2.3.0-rc1
next prev parent reply other threads:[~2015-01-23 23:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-23 23:11 [PATCH 0/4] arm: am43xx: add PMU support Felipe Balbi
2015-01-23 23:11 ` [PATCH 1/4] arm: omap: hwmod: 43xx: add DebugSS hwmod data Felipe Balbi
[not found] ` <1422054704-14915-2-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2015-01-26 2:04 ` Paul Walmsley
[not found] ` <alpine.DEB.2.02.1501260142590.5450-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2015-01-26 16:56 ` Felipe Balbi
2015-01-26 19:49 ` Felipe Balbi
2015-01-27 16:01 ` Felipe Balbi
2015-01-27 17:12 ` Paul Walmsley
2015-01-27 17:15 ` Felipe Balbi
[not found] ` <20150127171532.GC14878-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-01-27 17:18 ` Felipe Balbi
[not found] ` <20150127171843.GD14878-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-01-27 17:55 ` Paul Walmsley
2015-02-10 23:12 ` Paul Walmsley
2015-02-10 23:56 ` Felipe Balbi
2015-02-11 0:38 ` Paul Walmsley
2015-01-23 23:11 ` Felipe Balbi [this message]
2015-01-23 23:11 ` [PATCH 3/4] clk: ti: 43xx: add debugss clocks to DT_CLK() table Felipe Balbi
2015-01-24 2:25 ` Felipe Balbi
[not found] ` <1422054704-14915-1-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2015-01-23 23:11 ` [PATCH 4/4] arm: dts: am4372: add pmu DT data Felipe Balbi
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=1422054704-14915-3-git-send-email-balbi@ti.com \
--to=balbi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=tony@atomide.com \
/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;
as well as URLs for NNTP newsgroup(s).