diff mbox

[v2,3/4] ARM: dts: qcom: Add APQ8084 Global Clock Controller DT node

Message ID 1401551134-28485-4-git-send-email-gdjakov@mm-sol.com (mailing list archive)
State New, archived
Headers show

Commit Message

Georgi Djakov May 31, 2014, 3:45 p.m. UTC
This patch adds the necessary node to probe the global clock
controller on APQ8084 platforms.

Signed-off-by: Georgi Djakov <gdjakov@mm-sol.com>
---
 arch/arm/boot/dts/qcom-apq8084.dtsi |   10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Stephen Boyd June 2, 2014, 7:43 p.m. UTC | #1
On 05/31, Georgi Djakov wrote:
> 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>
Kumar Gala June 2, 2014, 8:41 p.m. UTC | #2
On May 31, 2014, at 10:45 AM, Georgi Djakov <gdjakov@mm-sol.com> wrote:

> This patch adds the necessary node to probe the global clock
> controller on APQ8084 platforms.
> 
> Signed-off-by: Georgi Djakov <gdjakov@mm-sol.com>
> ---
> arch/arm/boot/dts/qcom-apq8084.dtsi |   10 ++++++++++
> 1 file changed, 10 insertions(+)

Can you split the 2 DT patches into their own patchset since they will go via the qcom/arm-soc tree and not Mike’s clk tree.

thanks

- k
Georgi Djakov June 2, 2014, 8:49 p.m. UTC | #3
On 02.06.14, 23:41, Kumar Gala wrote:
> 
> On May 31, 2014, at 10:45 AM, Georgi Djakov <gdjakov@mm-sol.com> wrote:
> 
>> This patch adds the necessary node to probe the global clock
>> controller on APQ8084 platforms.
>>
>> Signed-off-by: Georgi Djakov <gdjakov@mm-sol.com>
>> ---
>> arch/arm/boot/dts/qcom-apq8084.dtsi |   10 ++++++++++
>> 1 file changed, 10 insertions(+)
> 
> Can you split the 2 DT patches into their own patchset since they will go via the qcom/arm-soc tree and not Mike’s clk tree.
> 
> thanks
> 

Sure! Thanks!
diff mbox

Patch

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>;
+		};
+
 	};
 };