RE: IRQ2 and IRQ 3

6 messages, 4 authors, 2011-10-25 · open the first message on its own page

RE: IRQ2 and IRQ 3

From: <hidden>
Date: 2011-10-18 08:06:36

  
Hi ,

I want to use IRQ2 and IRQ3 in my driver. How do I add them in the device tr=
ee file.

Regard,
Smitha

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and may=
 contain proprietary, confidential or privileged information. If you are not=
 the intended recipient, you should not disseminate, distribute or copy this=
 e-mail. Please notify the sender immediately and destroy all copies of this=
 message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should=
 check this email and any attachments for the presence of viruses. The compa=
ny accepts no liability for any damage caused by any virus transmitted by th=
is email. 

www.wipro.com

RE: IRQ2 and IRQ 3

From: Bhushan Bharat-R65777 <hidden>
Date: 2011-10-18 08:58:17

Hi,

Is not some interrupt vector number defined for i2c in your soc specificati=
on(IIRC mpc9247 and I do not have this).

Thanks
-Bharat

-----Original Message-----
From: smitha.vanga@wipro.com [mailto:smitha.vanga@wipro.com]
Sent: Tuesday, October 18, 2011 1:36 PM
To: Wood Scott-B07421; Bhushan Bharat-R65777
Cc: linuxppc-dev@lists.ozlabs.org
Subject: RE: IRQ2 and IRQ 3
=20
=20
=20
Hi ,
=20
I want to use IRQ2 and IRQ3 in my driver. How do I add them in the device
tree file.
=20
Regard,
Smitha
=20
Please do not print this email unless it is absolutely necessary.
=20
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.
=20
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
=20
www.wipro.com

RE: IRQ2 and IRQ 3

From: <hidden>
Date: 2011-10-18 09:05:31

Yes , there is a vector numbe defined in the specifications .

IRQ2 - 20
IRQ3 - 21

But I don't know how to specify them in the .dts file .

Regards,
Smitha
Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to=
 this message are intended for the exclusive use of the addressee(s) and may=
 contain proprietary, confidential or privileged information. If you are not=
 the intended recipient, you should not disseminate, distribute or copy this=
 e-mail. Please notify the sender immediately and destroy all copies of this=
 message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should=
 check this email and any attachments for the presence of viruses. The compa=
ny accepts no liability for any damage caused by any virus transmitted by th=
is email. 

www.wipro.com

Re: IRQ2 and IRQ 3

From: Vineeth <hidden>
Date: 2011-10-18 09:11:15

interrupts <IRQ_NO,POLARITY>


 i2c@3000 {
            #address-cells = <1>;
            #size-cells = <0>;
            cell-index = <0>;
            compatible = "fsl-i2c";
            reg = <0x3000 0x100>;
            interrupts = <43 2>;
            interrupt-parent = <&mpic>;
            dfsrr;
        };




On Tue, Oct 18, 2011 at 2:35 PM, [off-list ref] wrote:
Yes , there is a vector numbe defined in the specifications .

IRQ2 - 20
IRQ3 - 21

But I don't know how to specify them in the .dts file .

Regards,
Smitha
Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.

www.wipro.com
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: IRQ2 and IRQ 3

From: Bhushan Bharat-R65777 <hidden>
Date: 2011-10-18 15:03:37

Hi,=20

For detail please look at ePAPR specification.

Say i2c interrupt number is 21 then you can try
"interrupts =3D <21 8>;" in device tree.

Thanks
-Bharat
-----Original Message-----
From: smitha.vanga@wipro.com [mailto:smitha.vanga@wipro.com]
Sent: Tuesday, October 18, 2011 2:35 PM
To: Bhushan Bharat-R65777; Wood Scott-B07421
Cc: linuxppc-dev@lists.ozlabs.org
Subject: RE: IRQ2 and IRQ 3
=20
Yes , there is a vector numbe defined in the specifications .
=20
IRQ2 - 20
IRQ3 - 21
=20
But I don't know how to specify them in the .dts file .
=20
Regards,
Smitha
Please do not print this email unless it is absolutely necessary.
=20
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.
=20
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
=20
www.wipro.com

Re: IRQ2 and IRQ 3

From: Scott Wood <hidden>
Date: 2011-10-25 16:15:01

On 10/18/2011 10:03 AM, Bhushan Bharat-R65777 wrote:
Hi, 

For detail please look at ePAPR specification.

Say i2c interrupt number is 21 then you can try
"interrupts = <21 8>;" in device tree.
Please read the FSL MPIC binding.  For internal interrupts, you need to
add 16 to the number in the manual.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help