powerpc/8610: add probing for individual DMA channels, not just DMA controllers
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
@@ -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
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.
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
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.
Signed-off-by Timur Tabi <[email protected]>---
- k
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 :)
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.
Signed-off-by Timur Tabi <[email protected]>Acked-by Kumar Gala <[email protected]>
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?
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
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.
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
Kumar Gala
AppliedQuoted 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
Signed-off-by Timur Tabi <[email protected]>---
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