* RE: IRQ2 and IRQ 3
@ 2011-10-18 8:06 smitha.vanga
2011-10-18 8:58 ` Bhushan Bharat-R65777
0 siblings, 1 reply; 7+ messages in thread
From: smitha.vanga @ 2011-10-18 8:06 UTC (permalink / raw)
To: B07421, R65777; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: IRQ2 and IRQ 3
2011-10-18 8:06 IRQ2 and IRQ 3 smitha.vanga
@ 2011-10-18 8:58 ` Bhushan Bharat-R65777
2011-10-18 9:05 ` smitha.vanga
0 siblings, 1 reply; 7+ messages in thread
From: Bhushan Bharat-R65777 @ 2011-10-18 8:58 UTC (permalink / raw)
To: smitha.vanga@wipro.com, Wood Scott-B07421; +Cc: linuxppc-dev@lists.ozlabs.org
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: IRQ2 and IRQ 3
2011-10-18 8:58 ` Bhushan Bharat-R65777
@ 2011-10-18 9:05 ` smitha.vanga
2011-10-18 9:10 ` Vineeth
2011-10-18 15:03 ` Bhushan Bharat-R65777
0 siblings, 2 replies; 7+ messages in thread
From: smitha.vanga @ 2011-10-18 9:05 UTC (permalink / raw)
To: R65777, B07421; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: IRQ2 and IRQ 3
2011-10-18 9:05 ` smitha.vanga
@ 2011-10-18 9:10 ` Vineeth
2011-10-18 15:03 ` Bhushan Bharat-R65777
1 sibling, 0 replies; 7+ messages in thread
From: Vineeth @ 2011-10-18 9:10 UTC (permalink / raw)
To: smitha.vanga, linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
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, <smitha.vanga@wipro.com> 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
>
[-- Attachment #2: Type: text/html, Size: 2054 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: IRQ2 and IRQ 3
2011-10-18 9:05 ` smitha.vanga
2011-10-18 9:10 ` Vineeth
@ 2011-10-18 15:03 ` Bhushan Bharat-R65777
2011-10-25 16:14 ` Scott Wood
1 sibling, 1 reply; 7+ messages in thread
From: Bhushan Bharat-R65777 @ 2011-10-18 15:03 UTC (permalink / raw)
To: smitha.vanga@wipro.com, Wood Scott-B07421; +Cc: linuxppc-dev@lists.ozlabs.org
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: IRQ2 and IRQ 3
2011-10-18 15:03 ` Bhushan Bharat-R65777
@ 2011-10-25 16:14 ` Scott Wood
0 siblings, 0 replies; 7+ messages in thread
From: Scott Wood @ 2011-10-25 16:14 UTC (permalink / raw)
To: Bhushan Bharat-R65777
Cc: Wood Scott-B07421, linuxppc-dev@lists.ozlabs.org,
smitha.vanga@wipro.com
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: I2c-cpm driver not working
@ 2011-10-18 4:05 Bhushan Bharat-R65777
2011-10-18 8:05 ` IRQ2 and IRQ 3 smitha.vanga
0 siblings, 1 reply; 7+ messages in thread
From: Bhushan Bharat-R65777 @ 2011-10-18 4:05 UTC (permalink / raw)
To: smitha.vanga@wipro.com, Wood Scott-B07421; +Cc: linuxppc-dev@lists.ozlabs.org
> -----Original Message-----
> From: linuxppc-dev-bounces+bharat.bhushan=3Dfreescale.com@lists.ozlabs.or=
g
> [mailto:linuxppc-dev-
> bounces+bharat.bhushan=3Dfreescale.com@lists.ozlabs.org] On Behalf Of
> smitha.vanga@wipro.com
> Sent: Monday, October 17, 2011 1:48 PM
> To: Bhushan Bharat-R65777; Wood Scott-B07421
> Cc: linuxppc-dev@lists.ozlabs.org
> Subject: RE: I2c-cpm driver not working
>=20
>=20
> Hi Bhusan,
>=20
> Below is i2c node in the device tree.
>=20
> i2c@11860 {
> compatible =3D "fsl-i2c-cpm";
> device_type =3D "i2c";
> reg =3D <11860 20 8afc 2>;
> interrupts =3D <1 8>;
> interrupt-parent =3D <10c00>;
> #address-cells =3D <1>;
> #size-cells =3D <0>;
> cell-index =3D <0>;
> fsl,cpm-command =3D <29600000>;
>=20
>=20
> };
>=20
This looks ok to me, I hope you provides proper reg, interrupt number, pola=
rity and sense (as per you mpc9247 specification)?
Thanks
-Bharat
>=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
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
^ permalink raw reply [flat|nested] 7+ messages in thread
* IRQ2 and IRQ 3
2011-10-18 4:05 I2c-cpm driver not working Bhushan Bharat-R65777
@ 2011-10-18 8:05 ` smitha.vanga
0 siblings, 0 replies; 7+ messages in thread
From: smitha.vanga @ 2011-10-18 8:05 UTC (permalink / raw)
To: B07421; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-10-25 16:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-18 8:06 IRQ2 and IRQ 3 smitha.vanga
2011-10-18 8:58 ` Bhushan Bharat-R65777
2011-10-18 9:05 ` smitha.vanga
2011-10-18 9:10 ` Vineeth
2011-10-18 15:03 ` Bhushan Bharat-R65777
2011-10-25 16:14 ` Scott Wood
-- strict thread matches above, loose matches on Subject: below --
2011-10-18 4:05 I2c-cpm driver not working Bhushan Bharat-R65777
2011-10-18 8:05 ` IRQ2 and IRQ 3 smitha.vanga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).