Skip to contentSkip to conversation

powerpc/8610: add probing for individual DMA channels, not just DMA controllers

PATCH Applied Timur Tabi 3 participants 10 messages May 3, 2010 – May 17, 2010 PowerPC

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/2 powerpc/8610: add probing for individual DMA channels, not just DMA controllers

A future version of the MPC8610 HPCD's ASoC DMA driver will probe on individual DMA channel nodes, so the DMA controller nodes' compatible string must be listed in mpc8610_ids[] for the probe to work.

Also remove the "gianfar" compatible from mpc8610_ids[], since there is no gianfar (or any other networking device) on the 8610.

---

Kumar, the ASoC mainters are willing to pick up this patch, but they want an ACK from you first. Or, you could pick it up, since by itself it's harmless.

 arch/powerpc/platforms/86xx/mpc8610_hpcd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
arch/powerpc/platforms/86xx/mpc8610_hpcd.c +2 -1
index 5abe137..018cc67 100644
@@ -83,7 +83,8 @@ static struct of_device_id __initdata mpc8610_ids[] = {
 	{ .compatible = "fsl,mpc8610-immr", },
 	{ .compatible = "fsl,mpc8610-guts", },
 	{ .compatible = "simple-bus", },
-	{ .compatible = "gianfar", },
+	/* So that the DMA channel nodes can be probed individually: */
+	{ .compatible = "fsl,eloplus-dma", },
 	{}
 };
 
Signature · 1 line
1.6.5
#1 lore raw

arch/powerpc/platforms/86xx/mpc8610_hpcd.c static struct of_device_id __initdata mpc8610_ids[] = { · line 88

Quoted 5 lines · Timur Tabi
arch/powerpc/platforms/86xx/mpc8610_hpcd.c +2 -1
 	{ .compatible = "simple-bus", },
-	{ .compatible = "gianfar", },
+	/* So that the DMA channel nodes can be probed individually: */
+	{ .compatible = "fsl,eloplus-dma", },
 	{}

The removal of gianfar looks a bit surprising here - if it's not a mistake a note in the changelog would be useful.

author
#2 lore raw
Quoted 10 lines · Mark Brown

arch/powerpc/platforms/86xx/mpc8610_hpcd.c static struct of_device_id __initdata mpc8610_ids[] = { · line 88

Quoted 5 lines · Timur Tabi
arch/powerpc/platforms/86xx/mpc8610_hpcd.c +2 -1
 	{ .compatible = "simple-bus", },
-	{ .compatible = "gianfar", },
+	/* So that the DMA channel nodes can be probed individually: */
+	{ .compatible = "fsl,eloplus-dma", },
 	{}

The removal of gianfar looks a bit surprising here - if it's not a mistake a note in the changelog would be useful.

The changelog says this:

Also remove the "gianfar" compatible from mpc8610_ids[], since there is no gianfar (or any other networking device) on the 8610.

The 8610 is almost unique among our high-end PowerPC chips in that it literally has no on-board networking. The board provides networking via a PCI device.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#3 lore raw
Quoted 2 lines · Timur Tabi

Also remove the "gianfar" compatible from mpc8610_ids[], since there is no gianfar (or any other networking device) on the 8610.

Meh, sorry. Though this is a very good example of why you shouldn't randomly mix unrelated changes into one patch :)

Acked-by on v1 1/2
#4 lore raw
In reply to Timur Tabi
Quoted 9 lines · Timur Tabi

A future version of the MPC8610 HPCD's ASoC DMA driver will probe on individual DMA channel nodes, so the DMA controller nodes' compatible string must be listed in mpc8610_ids[] for the probe to work.

Also remove the "gianfar" compatible from mpc8610_ids[], since there is no gianfar (or any other networking device) on the 8610.

---

- k

#5 lore raw
Quoted 6 lines · Kumar Gala
Quoted 4 lines · Timur Tabi

A future version of the MPC8610 HPCD's ASoC DMA driver will probe on individual DMA channel nodes, so the DMA controller nodes' compatible string must be listed in mpc8610_ids[] for the probe to work.

Quoted 6 lines
Quoted 4 lines

Also remove the "gianfar" compatible from mpc8610_ids[], since there is no gianfar (or any other networking device) on the 8610.

Just looking at the scheduling here with regard to the merge window and the fact that this doesn't seem to hurt the existing drivers perhaps it makes sense to merge this via the PowerPC tree immediately?

author
#6 lore raw
Quoted 3 lines · Mark Brown

Just looking at the scheduling here with regard to the merge window and the fact that this doesn't seem to hurt the existing drivers perhaps it makes sense to merge this via the PowerPC tree immediately?

Aren't we a little late in the cycle for a patch that doesn't do anything?

I was expecting this patch to go into Liam's tree.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#7 lore raw
Quoted 7 lines · Timur Tabi

On Wed, May 5, 2010 at 6:22 AM, Mark Brown

Quoted 3 lines

Just looking at the scheduling here with regard to the merge window and the fact that this doesn't seem to hurt the existing drivers perhaps it makes sense to merge this via the PowerPC tree immediately?

Aren't we a little late in the cycle for a patch that doesn't do anything?

It seems to be safe enough for -next.

author
#8 lore raw
Quoted 10 lines · Mark Brown
Quoted 7 lines · Timur Tabi

On Wed, May 5, 2010 at 6:22 AM, Mark Brown

Quoted 3 lines

Just looking at the scheduling here with regard to the merge window and the fact that this doesn't seem to hurt the existing drivers perhaps it makes sense to merge this via the PowerPC tree immediately?

Aren't we a little late in the cycle for a patch that doesn't do anything?

It seems to be safe enough for -next.

Sure, -next is fine.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
Applied
#9 lore raw
In reply to Timur Tabi
Quoted 7 lines · Timur Tabi

A future version of the MPC8610 HPCD's ASoC DMA driver will probe on individual DMA channel nodes, so the DMA controller nodes' compatible string must be listed in mpc8610_ids[] for the probe to work.

Also remove the "gianfar" compatible from mpc8610_ids[], since there is no gianfar (or any other networking device) on the 8610.

Quoted 8 lines

---

Kumar, the ASoC mainters are willing to pick up this patch, but they want an ACK from you first. Or, you could pick it up, since by itself it's harmless.

arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)

applied to next

- k