2014-06-03 14:29:56

by Georgi Djakov

[permalink] [raw]
Subject: [PATCH v3 0/2] ARM: dts: qcom: Add APQ8084 DT nodes for GCC and UART

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


2014-06-03 14:30:08

by Georgi Djakov

[permalink] [raw]
Subject: [PATCH v3 2/2] ARM: dts: qcom: Add APQ8084 serial port DT node

Add the necessary DT node to probe the serial driver on
APQ8084 platforms.

Signed-off-by: Georgi Djakov <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
---
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

2014-06-03 14:30:03

by Georgi Djakov

[permalink] [raw]
Subject: [PATCH v3 1/2] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node

This patch adds the necessary node to probe the global clock
controller on APQ8084 platforms.

Signed-off-by: Georgi Djakov <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
---
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