* [PATCH v3 0/2] ARM: dts: qcom: Add APQ8084 DT nodes for GCC and UART
@ 2014-06-03 14:29 Georgi Djakov
2014-06-03 14:29 ` [PATCH v3 1/2] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node Georgi Djakov
2014-06-03 14:29 ` [PATCH v3 2/2] ARM: dts: qcom: Add APQ8084 serial port " Georgi Djakov
0 siblings, 2 replies; 3+ messages in thread
From: Georgi Djakov @ 2014-06-03 14:29 UTC (permalink / raw)
To: galak
Cc: mturquette, sboyd, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, linux, devicetree, linux-arm-kernel,
linux-kernel, linux-arm-msm, Georgi Djakov
This patchset adds DT nodes for the APQ8084 global clock controller
and serial port.
Should go through qcom/arm-soc tree.
Changes from v2:
- Split the DT patches into separate patchset. (suggested by Kumar Gala)
Changes from v1:
- Moved APQ8084 clocks into a separate file and under separate Kconfig
entry. Dropped the override function patch from v1.
- Added the missing information about resets (suggested by Kumar Gala).
- Made the UART DT node "disabled" in dtsi and "okay" in dts (suggested
by Kumar Gala)
Georgi Djakov (2):
ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node
ARM: dts: qcom: Add APQ8084 serial port DT node
arch/arm/boot/dts/qcom-apq8084-mtp.dts | 6 ++++++
arch/arm/boot/dts/qcom-apq8084.dtsi | 18 ++++++++++++++++++
2 files changed, 24 insertions(+)
--
1.7.9.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v3 1/2] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node
2014-06-03 14:29 [PATCH v3 0/2] ARM: dts: qcom: Add APQ8084 DT nodes for GCC and UART Georgi Djakov
@ 2014-06-03 14:29 ` Georgi Djakov
2014-06-03 14:29 ` [PATCH v3 2/2] ARM: dts: qcom: Add APQ8084 serial port " Georgi Djakov
1 sibling, 0 replies; 3+ messages in thread
From: Georgi Djakov @ 2014-06-03 14:29 UTC (permalink / raw)
To: galak
Cc: mturquette, sboyd, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, linux, devicetree, linux-arm-kernel,
linux-kernel, linux-arm-msm, Georgi Djakov
This patch adds the necessary node to probe the global clock
controller on APQ8084 platforms.
Signed-off-by: Georgi Djakov <gdjakov@mm-sol.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
---
arch/arm/boot/dts/qcom-apq8084.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi
index e3e009a..1e785df 100644
--- a/arch/arm/boot/dts/qcom-apq8084.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8084.dtsi
@@ -2,6 +2,8 @@
#include "skeleton.dtsi"
+#include <dt-bindings/clock/qcom,gcc-apq8084.h>
+
/ {
model = "Qualcomm APQ 8084";
compatible = "qcom,apq8084";
@@ -175,5 +177,13 @@
compatible = "qcom,pshold";
reg = <0xfc4ab000 0x4>;
};
+
+ gcc: clock-controller@fc400000 {
+ compatible = "qcom,gcc-apq8084";
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ reg = <0xfc400000 0x4000>;
+ };
+
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v3 2/2] ARM: dts: qcom: Add APQ8084 serial port DT node
2014-06-03 14:29 [PATCH v3 0/2] ARM: dts: qcom: Add APQ8084 DT nodes for GCC and UART Georgi Djakov
2014-06-03 14:29 ` [PATCH v3 1/2] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node Georgi Djakov
@ 2014-06-03 14:29 ` Georgi Djakov
1 sibling, 0 replies; 3+ messages in thread
From: Georgi Djakov @ 2014-06-03 14:29 UTC (permalink / raw)
To: galak
Cc: mturquette, sboyd, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, linux, devicetree, linux-arm-kernel,
linux-kernel, linux-arm-msm, Georgi Djakov
Add the necessary DT node to probe the serial driver on
APQ8084 platforms.
Signed-off-by: Georgi Djakov <gdjakov@mm-sol.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
---
arch/arm/boot/dts/qcom-apq8084-mtp.dts | 6 ++++++
arch/arm/boot/dts/qcom-apq8084.dtsi | 8 ++++++++
2 files changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8084-mtp.dts b/arch/arm/boot/dts/qcom-apq8084-mtp.dts
index 9dae387..8ecec58 100644
--- a/arch/arm/boot/dts/qcom-apq8084-mtp.dts
+++ b/arch/arm/boot/dts/qcom-apq8084-mtp.dts
@@ -3,4 +3,10 @@
/ {
model = "Qualcomm APQ 8084-MTP";
compatible = "qcom,apq8084-mtp", "qcom,apq8084";
+
+ soc {
+ serial@f995e000 {
+ status = "okay";
+ };
+ };
};
diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi
index 1e785df..b5b156e 100644
--- a/arch/arm/boot/dts/qcom-apq8084.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8084.dtsi
@@ -185,5 +185,13 @@
reg = <0xfc400000 0x4000>;
};
+ serial@f995e000 {
+ compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
+ reg = <0xf995e000 0x1000>;
+ interrupts = <0 114 0x0>;
+ clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
+ clock-names = "core", "iface";
+ status = "disabled";
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-03 14:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-03 14:29 [PATCH v3 0/2] ARM: dts: qcom: Add APQ8084 DT nodes for GCC and UART Georgi Djakov
2014-06-03 14:29 ` [PATCH v3 1/2] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node Georgi Djakov
2014-06-03 14:29 ` [PATCH v3 2/2] ARM: dts: qcom: Add APQ8084 serial port " Georgi Djakov
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).