linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] 8660 DT fixlets
@ 2012-08-22 23:00 Stephen Boyd
  2012-08-22 23:00 ` [PATCH 1/2] ARM: MSM: Add handle_irq handler for 8660 DT machine Stephen Boyd
  2012-08-22 23:00 ` [PATCH 2/2] ARM: MSM: Add msm8660-surf.dts to Makefile.boot Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Boyd @ 2012-08-22 23:00 UTC (permalink / raw)
  To: David Brown; +Cc: linux-kernel, linux-arm-msm, linux-arm-kernel

Two small fixes to 8660 DT support so that it boots up
and gets interrupts and so that we can build the dtb via
kernel Makefiles with 'make dtbs'.

Stephen Boyd (2):
  ARM: MSM: Add handle_irq handler for 8660 DT machine
  ARM: MSM: Add msm8660-surf.dts to Makefile.boot

 arch/arm/mach-msm/Makefile.boot   | 2 ++
 arch/arm/mach-msm/board-msm8x60.c | 1 +
 2 files changed, 3 insertions(+)

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

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

* [PATCH 1/2] ARM: MSM: Add handle_irq handler for 8660 DT machine
  2012-08-22 23:00 [PATCH 0/2] 8660 DT fixlets Stephen Boyd
@ 2012-08-22 23:00 ` Stephen Boyd
  2012-08-22 23:00 ` [PATCH 2/2] ARM: MSM: Add msm8660-surf.dts to Makefile.boot Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2012-08-22 23:00 UTC (permalink / raw)
  To: David Brown; +Cc: linux-kernel, linux-arm-msm, linux-arm-kernel

Commit 041f777 (ARM: msm: convert SMP platforms to
CONFIG_MULTI_IRQ_HANDLER, 2011-09-06) forgot to add the
.handle_irq for the DT machine record. Add it so we get
interrupts instead of panics on DT enabled bootloaders.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 arch/arm/mach-msm/board-msm8x60.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-msm/board-msm8x60.c b/arch/arm/mach-msm/board-msm8x60.c
index e37a724..13ca9bb 100644
--- a/arch/arm/mach-msm/board-msm8x60.c
+++ b/arch/arm/mach-msm/board-msm8x60.c
@@ -158,6 +158,7 @@ MACHINE_END
 DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)")
 	.map_io = msm8x60_map_io,
 	.init_irq = msm8x60_init_irq,
+	.handle_irq = gic_handle_irq,
 	.init_machine = msm8x60_dt_init,
 	.init_late = msm8x60_init_late,
 	.timer = &msm_timer,
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

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

* [PATCH 2/2] ARM: MSM: Add msm8660-surf.dts to Makefile.boot
  2012-08-22 23:00 [PATCH 0/2] 8660 DT fixlets Stephen Boyd
  2012-08-22 23:00 ` [PATCH 1/2] ARM: MSM: Add handle_irq handler for 8660 DT machine Stephen Boyd
@ 2012-08-22 23:00 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2012-08-22 23:00 UTC (permalink / raw)
  To: David Brown; +Cc: linux-kernel, linux-arm-msm, linux-arm-kernel

Add this entry to the Makefile so that we can build the dtb
automatically with 'make dtbs'.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 arch/arm/mach-msm/Makefile.boot | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-msm/Makefile.boot b/arch/arm/mach-msm/Makefile.boot
index 9b803a5..8de0678 100644
--- a/arch/arm/mach-msm/Makefile.boot
+++ b/arch/arm/mach-msm/Makefile.boot
@@ -1,3 +1,5 @@
   zreladdr-y		+= 0x10008000
 params_phys-y		:= 0x10000100
 initrd_phys-y		:= 0x10800000
+
+dtb-$(CONFIG_ARCH_MSM8X60) += msm8660-surf.dtb
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

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

end of thread, other threads:[~2012-08-22 23:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 23:00 [PATCH 0/2] 8660 DT fixlets Stephen Boyd
2012-08-22 23:00 ` [PATCH 1/2] ARM: MSM: Add handle_irq handler for 8660 DT machine Stephen Boyd
2012-08-22 23:00 ` [PATCH 2/2] ARM: MSM: Add msm8660-surf.dts to Makefile.boot Stephen Boyd

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).