public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: Tegra: Add clock entry for smp_twd clock
@ 2013-02-28  7:43 Prashant Gaikwad
  2013-02-28  7:43 ` [PATCH 2/2] clk: Tegra: Remove duplicate " Prashant Gaikwad
  2013-02-28 18:18 ` [PATCH 1/2] ARM: Tegra: Add clock entry for " Stephen Warren
  0 siblings, 2 replies; 7+ messages in thread
From: Prashant Gaikwad @ 2013-02-28  7:43 UTC (permalink / raw)
  To: linux-arm-kernel

As DT support for clocks and smp_twd is enabled, add clock entry
for smp_twd clock to DT.

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia•com>
---
 arch/arm/boot/dts/tegra20.dtsi |    1 +
 arch/arm/boot/dts/tegra30.dtsi |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
index 9a42893..48d00a0 100644
--- a/arch/arm/boot/dts/tegra20.dtsi
+++ b/arch/arm/boot/dts/tegra20.dtsi
@@ -118,6 +118,7 @@
 		compatible = "arm,cortex-a9-twd-timer";
 		reg = <0x50040600 0x20>;
 		interrupts = <1 13 0x304>;
+		clocks = <&tegra_car 132>;
 	};
 
 	intc: interrupt-controller {
diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
index 767803e..9d87a3f 100644
--- a/arch/arm/boot/dts/tegra30.dtsi
+++ b/arch/arm/boot/dts/tegra30.dtsi
@@ -119,6 +119,7 @@
 		compatible = "arm,cortex-a9-twd-timer";
 		reg = <0x50040600 0x20>;
 		interrupts = <1 13 0xf04>;
+		clocks = <&tegra_car 214>;
 	};
 
 	intc: interrupt-controller {
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH 1/2] ARM: Tegra: Add clock entry for smp_twd clock
@ 2013-03-01 18:32 Stephen Warren
  2013-03-01 21:07 ` Olof Johansson
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Warren @ 2013-03-01 18:32 UTC (permalink / raw)
  To: linux-arm-kernel

From: Prashant Gaikwad <pgaikwad@nvidia•com>

As DT support for clocks and smp_twd is enabled, add clock entry
for smp_twd clock to DT.

This fixes the following error while booting the kernel:
smp_twd: clock not found -2

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia•com>
[swarren: include kernel log spew that this fixes]
Signed-off-by: Stephen Warren <swarren@nvidia•com>
---
Arnd, Olof, these are fixes intended for 3.9.

 arch/arm/boot/dts/tegra20.dtsi |    1 +
 arch/arm/boot/dts/tegra30.dtsi |    1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
index 9a42893..48d00a0 100644
--- a/arch/arm/boot/dts/tegra20.dtsi
+++ b/arch/arm/boot/dts/tegra20.dtsi
@@ -118,6 +118,7 @@
 		compatible = "arm,cortex-a9-twd-timer";
 		reg = <0x50040600 0x20>;
 		interrupts = <1 13 0x304>;
+		clocks = <&tegra_car 132>;
 	};
 
 	intc: interrupt-controller {
diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
index 767803e..9d87a3f 100644
--- a/arch/arm/boot/dts/tegra30.dtsi
+++ b/arch/arm/boot/dts/tegra30.dtsi
@@ -119,6 +119,7 @@
 		compatible = "arm,cortex-a9-twd-timer";
 		reg = <0x50040600 0x20>;
 		interrupts = <1 13 0xf04>;
+		clocks = <&tegra_car 214>;
 	};
 
 	intc: interrupt-controller {
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-01 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28  7:43 [PATCH 1/2] ARM: Tegra: Add clock entry for smp_twd clock Prashant Gaikwad
2013-02-28  7:43 ` [PATCH 2/2] clk: Tegra: Remove duplicate " Prashant Gaikwad
2013-02-28 18:18 ` [PATCH 1/2] ARM: Tegra: Add clock entry for " Stephen Warren
2013-02-28 20:04   ` Thierry Reding
2013-03-01 18:25     ` Stephen Warren
  -- strict thread matches above, loose matches on Subject: below --
2013-03-01 18:32 Stephen Warren
2013-03-01 21:07 ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox