On Mon, Aug 17, 2015 at 8:24 AM, Ran Shalit wrote:
> Hello,
>
>
> I have strange behaviour with external IRQ:
> The registration on external IRQ is successful, but on simulating
> interrupt the interrupt handler called.
> It seems that the interrupt was received according to SEPNR which
> shows th
On Thu, Sep 04, 2008 at 03:23:21PM +0200, Sébastien Chrétien wrote:
> I try to write a device tree about irq :
>
> IT_controller: [EMAIL PROTECTED] {
>clock-frequency = <0>;
>interrupt-controller;
> #address-cells = <0>;
>reg = <0x2000600
I try to write a device tree about irq :
IT_controller: [EMAIL PROTECTED] {
clock-frequency = <0>;
interrupt-controller;
#address-cells = <0>;
reg = <0x20006000 0x100>;
compatible = "it";
device_type = "it";
I read the booting_without_of.txt document and the Interrupt Mapping
docucument from http://playground.sun.com/1275. But I don't understand all
parameters. Can somebody help me to create my device tree about interrupt
part ?
I have an interrupt controller at the adresse 0x20006000. The irq_id rang
On Wed, 2008-09-03 at 23:02 +0200, Sébastien Chrétien wrote:
> irq_of_parse_and_map is equivalent to ioremap in the MMU case ?
On the powerpc architecture, we use virtualized IRQ numbers in order to
deal with the wide range of interrupt controllers around and multiple
of them cascaded.
The base
Sébastien Chrétien wrote:
irq_of_parse_and_map is equivalent to ioremap in the MMU case ?
It's more analogous to of_iomap().
-Scott
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
irq_of_parse_and_map is equivalent to ioremap in the MMU case ?
Scott Wood a écrit :
On Wed, Sep 03, 2008 at 06:36:39PM +0200, Sébastien Chrétien wrote:
Ok I will try irq_create_mapping tomorrow.
When have I to use this function ?
You always need to create a mapping (though doing it w
On Wed, Sep 03, 2008 at 06:36:39PM +0200, Sébastien Chrétien wrote:
> Ok I will try irq_create_mapping tomorrow.
> When have I to use this function ?
You always need to create a mapping (though doing it with
irq_of_parse_and_map is preferred). request_irq() takes virtual IRQ
numbers, not hardware
Ok I will try irq_create_mapping tomorrow.
When have I to use this function ?
I am using a MPC7448.
M B a écrit :
Hi,
this seems to be the same problem I had, when registering an irq with UIO.
On Wed, Sep 3, 2008 at 5:03 PM, Sébastien Chrétien
<[EMAIL PROTECTED]> wrote:
The failure referes
Hi,
this seems to be the same problem I had, when registering an irq with UIO.
On Wed, Sep 3, 2008 at 5:03 PM, Sébastien Chrétien
<[EMAIL PROTECTED]> wrote:
> The failure referes to setup_irq :
> desc->chip == &no_irq_chip is true
>
> What is irq_desc and how can I initialize it ?
I did use irq_
The failure referes to setup_irq :
desc->chip == &no_irq_chip is true
What is irq_desc and how can I initialize it ?
setup_irq(unsigned int irq, struct irqaction *new)
{
struct irq_desc *desc = irq_desc + irq;
struct irqaction *old, **p;
const char *old_name = NULL;
unsigned long
Try to set some flag into the third parameter of the request_irq()
function like:
SA_SHIRQInterrupt is shared
SA_INTERRUPTDisable local interrupts while processing
SA_SAMPLE_RANDOMThe interrupt can be used for entropy
otherwise try to use the function install
Eno 3 Compton wrote:
> I had a driver working under 2.6.10 on a mpc8248. The kernel got changed
> under me to 2.6.23. Now, when I call request_irq with SIU_INT_IRQ5,
> which is defined in asm-powerpc/irq.h, and once compiled and worked
> properly, I get compilation errors. The compiler can't fin
13 matches
Mail list logo