Re: using general IRQs

2015-08-17 Thread Laurentiu Tudor
On 08/10/2015 10:48 AM, Ran Shalit wrote: > Hello, > > MPC8349 has general IRQ numbered 0-7, > It is required to bind these IRQs with some routine , i.e. they are > not used with any specific driver. > > - Should they be configured as gpios in device tree so that we can use > the gpio as irq in l

Re: using general IRQs

2015-08-10 Thread Ran Shalit
On Tue, Aug 11, 2015 at 6:47 AM, Scott Wood wrote: > On Tue, 2015-08-11 at 06:45 +0300, Ran Shalit wrote: >> On Tue, Aug 11, 2015 at 5:29 AM, Scott Wood wrote: >> > On Mon, 2015-08-10 at 13:40 +0300, Ran Shalit wrote: >> > > On Mon, Aug 10, 2015 at 10:48 AM, Ran Shalit >> > > wrote: >> > > > Hel

Re: using general IRQs

2015-08-10 Thread Scott Wood
On Tue, 2015-08-11 at 06:45 +0300, Ran Shalit wrote: > On Tue, Aug 11, 2015 at 5:29 AM, Scott Wood wrote: > > On Mon, 2015-08-10 at 13:40 +0300, Ran Shalit wrote: > > > On Mon, Aug 10, 2015 at 10:48 AM, Ran Shalit > > > wrote: > > > > Hello, > > > > > > > > MPC8349 has general IRQ numbered 0-7,

Re: using general IRQs

2015-08-10 Thread Ran Shalit
On Tue, Aug 11, 2015 at 5:29 AM, Scott Wood wrote: > On Mon, 2015-08-10 at 13:40 +0300, Ran Shalit wrote: >> On Mon, Aug 10, 2015 at 10:48 AM, Ran Shalit wrote: >> > Hello, >> > >> > MPC8349 has general IRQ numbered 0-7, >> > It is required to bind these IRQs with some routine , i.e. they are >>

Re: using general IRQs

2015-08-10 Thread Scott Wood
On Mon, 2015-08-10 at 13:40 +0300, Ran Shalit wrote: > On Mon, Aug 10, 2015 at 10:48 AM, Ran Shalit wrote: > > Hello, > > > > MPC8349 has general IRQ numbered 0-7, > > It is required to bind these IRQs with some routine , i.e. they are > > not used with any specific driver. > > > > - Should they

Re: using general IRQs

2015-08-10 Thread Ran Shalit
On Mon, Aug 10, 2015 at 10:48 AM, Ran Shalit wrote: > Hello, > > MPC8349 has general IRQ numbered 0-7, > It is required to bind these IRQs with some routine , i.e. they are > not used with any specific driver. > > - Should they be configured as gpios in device tree so that we can use > the gpio as

using general IRQs

2015-08-10 Thread Ran Shalit
Hello, MPC8349 has general IRQ numbered 0-7, It is required to bind these IRQs with some routine , i.e. they are not used with any specific driver. - Should they be configured as gpios in device tree so that we can use the gpio as irq in linux ? Is there any example ? - After configuration, can t