From: Andrew Lunn <andrew@lunn.ch>
To: Sebastian Hesselbarth <sebastian.hesselbarth@googlemail.com>,
Jason Cooper <jason@lakedaemon.net>,
rjw@rjwysocki.net, viresh.kumar@linaro.org
Cc: linux-pm@vger.kernel.org,
linux ARM <linux-arm-kernel@lists.infradead.org>,
Andrew Lunn <andrew@lunn.ch>
Subject: [PATCH v3 4/4] mvebu: Dove: Add clocks and DFS interrupt to cpu node in DT.
Date: Thu, 31 Oct 2013 20:18:31 +0100 [thread overview]
Message-ID: <1383247111-26834-4-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1383247111-26834-1-git-send-email-andrew@lunn.ch>
The dove-cpufreq driver needs access to the DDR and CPU clock. There
is also an interrupt generated when the DFS hardware completes a
change of frequencey. Add these to the cpu node in DT.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
arch/arm/boot/dts/dove.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index 1fd615d27532..e96d7a6a2fb8 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -19,6 +19,10 @@
device_type = "cpu";
next-level-cache = <&l2>;
reg = <0>;
+ clocks = <&core_clk 1>, <&core_clk 3>;
+ clock-names = "cpu_clk", "ddrclk";
+ interrupt-parent = <&pmu_intc>;
+ interrupts = <0>;
};
};
--
1.8.4.rc3
next prev parent reply other threads:[~2013-10-31 19:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-31 19:18 [PATCH v3 1/4] cpufreq: Add a cpufreq driver for Marvell Dove Andrew Lunn
2013-10-31 19:18 ` [PATCH v3 2/4] mvebu: Dove: Instantiate cpufreq driver Andrew Lunn
2013-10-31 23:52 ` Viresh Kumar
2013-10-31 19:18 ` [PATCH v3 3/4] mvebu: Dove: Enable cpufreq driver in defconfig Andrew Lunn
2013-10-31 23:52 ` Viresh Kumar
2013-10-31 19:18 ` Andrew Lunn [this message]
2013-10-31 22:26 ` [PATCH v3 4/4] mvebu: Dove: Add clocks and DFS interrupt to cpu node in DT Rafael J. Wysocki
2013-10-31 23:51 ` Viresh Kumar
2013-11-01 9:07 ` Andrew Lunn
2013-11-01 13:16 ` Rafael J. Wysocki
2013-11-01 13:14 ` Andrew Lunn
2013-11-01 22:52 ` Rafael J. Wysocki
2013-11-24 2:51 ` Jason Cooper
2013-10-31 23:46 ` [PATCH v3 1/4] cpufreq: Add a cpufreq driver for Marvell Dove Viresh Kumar
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=1383247111-26834-4-git-send-email-andrew@lunn.ch \
--to=andrew@lunn.ch \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=sebastian.hesselbarth@googlemail.com \
--cc=viresh.kumar@linaro.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;
as well as URLs for NNTP newsgroup(s).