On Mon, Jun 23, 2008 at 10:54:28PM -0700, jumpingProgrammer wrote:
>
> I use this in 8313erdb.dts, but can not find DMA info in
> /proc/interrupts.why?
Is the driver enabled, and did it call request_irq?
-Scott
___
Linuxppc-dev mailing list
Linuxppc-de
reg = <180 80>;
interrupt-parent = <700>;
interrupts = <47 8>;
};
}
___________
Linuxppc-dev
Thank you for the help (again). I've got my driver registering the isr on it's
own now. In the
end the problem was the dts and also not using irq_of_parse_and_map.
Ron
--- Scott Wood <[EMAIL PROTECTED]> wrote:
> Ron Madrid wrote:
> > I don't see a "dma" node in the mpc8377mds.dts (2.6.25). I
Ron Madrid wrote:
I don't see a "dma" node in the mpc8377mds.dts (2.6.25). I found one in
mpc8610_hpcd.dts and
modeled it after that.
Try head-of-tree.
[EMAIL PROTECTED] {
#address-cells = <1>;
#size-cells = <1>;
Ron Madrid wrote:
> I don't see a "dma" node in the mpc8377mds.dts (2.6.25). I found one in
> mpc8610_hpcd.dts and
> modeled it after that.
The DMA hardware on the 8610 is not the same as the DMA hardware on 83xx chips.
You should copy the DMA data from another 83xx DTS.
--
Timur Tabi
Linux k
I don't see a "dma" node in the mpc8377mds.dts (2.6.25). I found one in
mpc8610_hpcd.dts and
modeled it after that.
[EMAIL PROTECTED] {
#address-cells = <1>;
#size-cells = <1>;
compatible = "fsl,elo-dma";
Ron Madrid wrote:
Here's my code. There are a few other things that happen but they are
inconsequential to this
problem. I'm sure that the request_irq call is right, especially since it
works if the fsldma
drivers are builtin to the kernel. Also, the irq number 71 comes from the
reference m
Here's my code. There are a few other things that happen but they are
inconsequential to this
problem. I'm sure that the request_irq call is right, especially since it
works if the fsldma
drivers are builtin to the kernel. Also, the irq number 71 comes from the
reference manual for
them MPC8
What does your code actually look like. In your driver how are you
getting the IRQ value that you pass to request_irq?
- k
On Jun 13, 2008, at 6:52 PM, Ron Madrid wrote:
I don't know why request_irq is succeeding when the fsldma and
dmaengine drivers are installed.
I'm using the same dts
Ron Madrid wrote:
So are you implying that the request_irq function should work without any other
initialization
function before it?
No, I'm saying that you'll get a more accurate assessment of why it
fails if you see where it returns an error code.
__
So are you implying that the request_irq function should work without any other
initialization
function before it?
Ron
--- Timur Tabi <[EMAIL PROTECTED]> wrote:
> Ron Madrid wrote:
> > I don't know why request_irq is succeeding when the fsldma and dmaengine
> > drivers are
> installed.
> > I'm
Ron Madrid wrote:
I don't know why request_irq is succeeding when the fsldma and dmaengine drivers are installed.
I'm using the same dts in both cases.
At this point, my only suggestion is to debug the request_irq() call and
see what exactly fails.
I don't know why request_irq is succeeding when the fsldma and dmaengine
drivers are installed.
I'm using the same dts in both cases.
Ron
--- Kumar Gala <[EMAIL PROTECTED]> wrote:
> That's a bit odd. How is your driver getting the IRQ its requesting?
> Are you using the same .dts in both ca
That's a bit odd. How is your driver getting the IRQ its requesting?
Are you using the same .dts in both cases?
- k
On Jun 13, 2008, at 2:02 PM, Ron Madrid wrote:
So after I've built the kernel to include the dmaengine and fsldma
drivers, my driver is allowed
to register its ISR via reque
So after I've built the kernel to include the dmaengine and fsldma drivers, my
driver is allowed
to register its ISR via request_irq. However, if these drivers are not
installed then request_irq
fails in my driver. So it seems that there is some other initialization
happening before
request_ir
The dmaengine provides a generic set of APIs w/a FSL dma backend. It
might be the case that your need of dma doesnt fit into the current
set of APIs.
- k
On Jun 12, 2008, at 3:04 PM, Ron Madrid wrote:
Well in that case wouldn't I need to use the fsldma driver? Or is
dmaengine a generic
Well in that case wouldn't I need to use the fsldma driver? Or is dmaengine a
generic dma driver?
Ron
--- Kumar Gala <[EMAIL PROTECTED]> wrote:
>
> On Jun 12, 2008, at 2:35 PM, Ron Madrid wrote:
>
> > I'm trying to write a driver that would make use of the DMA on the
> > MPC8313. I'm attem
On Jun 12, 2008, at 2:35 PM, Ron Madrid wrote:
I'm trying to write a driver that would make use of the DMA on the
MPC8313. I'm attempting to
register the interrupt with request_irq but it is not passing. Is
there something that I need to
do before I call request_irq, maybe in the dts or s
I'm trying to write a driver that would make use of the DMA on the MPC8313.
I'm attempting to
register the interrupt with request_irq but it is not passing. Is there
something that I need to
do before I call request_irq, maybe in the dts or somewhere else?
Ron
_
19 matches
Mail list logo