Skip to contentSkip to conversation

8660 DT fixlets

PATCH New Stephen Boyd 1 participant 3 messages Aug 22, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover 8660 DT fixlets

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(+)
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#1 lore raw

PATCH 1/2 ARM: MSM: Add handle_irq handler for 8660 DT machine

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.

---
 arch/arm/mach-msm/board-msm8x60.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-msm/board-msm8x60.c +1 -0
index e37a724..13ca9bb 100644
@@ -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,
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#2 lore raw

PATCH 2/2 ARM: MSM: Add msm8660-surf.dts to Makefile.boot

In reply to Stephen Boyd

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

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