Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1283066
| From | Georgi Djakov <georgi.djakov@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v5 5/6] arm: dts: qcom: apq8064: Add fixed rate on-board oscillators |
| Date | 2015-12-03 15:10 +0100 |
| Message-ID | <qBCK7-6bi-17@gated-at.bofh.it> (permalink) |
| References | <qBCK6-6bi-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Currently the rates of the xo and sleep clocks are hard-coded in the
GCC driver, but this is a board layout description that actually should
be in the DT. Moving them into DT also allows us to insert the RPM
controlled clocks between the DT and GCC clocks.
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 276fef28fc1e..eb929f2693b2 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -81,6 +81,26 @@
interrupts = <1 10 0x304>;
};
+ clocks {
+ cxo_board {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <19200000>;
+ };
+
+ pxo_board {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <27000000>;
+ };
+
+ sleep_clk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ };
+ };
+
soc: soc {
#address-cells = <1>;
#size-cells = <1>;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v5 0/6] Add initial support for RPM clocks Georgi Djakov <georgi.djakov@linaro.org> - 2015-12-03 15:10 +0100 [PATCH v5 5/6] arm: dts: qcom: apq8064: Add fixed rate on-board oscillators Georgi Djakov <georgi.djakov@linaro.org> - 2015-12-03 15:10 +0100 [PATCH v5 2/6] arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators Georgi Djakov <georgi.djakov@linaro.org> - 2015-12-03 15:10 +0100
csiph-web