Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-11-05 Thread Westerberg, Mika
t; Cc: Linus Walleij; GPIO Subsystem Mailing List; Linux Kernel Mailing List; > > Denis > > Turischev > > Subject: Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000 > > > > On Thu, Oct 16, 2014 at 11:51:15AM +0800, Chang Rebecca Swee Fun wrote: > >

RE: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-11-05 Thread Chang, Rebecca Swee Fun
Subject: Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000 > > On Thu, Oct 16, 2014 at 11:51:15AM +0800, Chang Rebecca Swee Fun wrote: > > Intel Quark X1000 GPIO controller supports interrupt handling for both > > core power well and resume power well. This patch is

RE: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-11-05 Thread Chang, Rebecca Swee Fun
: sch: Enable IRQ support for Quark X1000 On Thu, Oct 16, 2014 at 11:51:15AM +0800, Chang Rebecca Swee Fun wrote: Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling

Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-11-05 Thread Westerberg, Mika
; Linux Kernel Mailing List; Denis Turischev Subject: Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000 On Thu, Oct 16, 2014 at 11:51:15AM +0800, Chang Rebecca Swee Fun wrote: Intel Quark X1000 GPIO controller supports interrupt handling for both core power well

RE: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-23 Thread Chang, Rebecca Swee Fun
> > + > > +static int sch_gpio_irq_type(struct irq_data *d, unsigned type) > > +{ > > + struct sch_gpio *sch = container_of(d, struct sch_gpio, data); > > + unsigned long flags; > > + u32 gpio_num; > > + > > + if (d == NULL) > > + return -EINVAL; > > + > > +

RE: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-23 Thread Chang, Rebecca Swee Fun
+ +static int sch_gpio_irq_type(struct irq_data *d, unsigned type) +{ + struct sch_gpio *sch = container_of(d, struct sch_gpio, data); + unsigned long flags; + u32 gpio_num; + + if (d == NULL) + return -EINVAL; + + gpio_num = d-irq

Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-17 Thread Alexandre Courbot
On Thu, Oct 16, 2014 at 12:51 PM, Chang Rebecca Swee Fun wrote: > Intel Quark X1000 GPIO controller supports interrupt handling for > both core power well and resume power well. This patch is to enable > the IRQ support and provide IRQ handling for Intel Quark X1000 > GPIO-SCH device driver. > >

Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-17 Thread Alexandre Courbot
On Thu, Oct 16, 2014 at 12:51 PM, Chang Rebecca Swee Fun rebecca.swee.fun.ch...@intel.com wrote: Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000

Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-16 Thread Mika Westerberg
On Thu, Oct 16, 2014 at 11:51:15AM +0800, Chang Rebecca Swee Fun wrote: > Intel Quark X1000 GPIO controller supports interrupt handling for > both core power well and resume power well. This patch is to enable > the IRQ support and provide IRQ handling for Intel Quark X1000 > GPIO-SCH device

Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-16 Thread Mika Westerberg
On Thu, Oct 16, 2014 at 11:51:15AM +0800, Chang Rebecca Swee Fun wrote: Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000 GPIO-SCH device driver.

Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-15 Thread Varka Bhadram
On 10/16/2014 09:21 AM, Chang Rebecca Swee Fun wrote: Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000 GPIO-SCH device driver. (...) static

[PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-15 Thread Chang Rebecca Swee Fun
Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000 GPIO-SCH device driver. This piece of work is derived from Dan O'Donovan's initial work for Quark

[PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-15 Thread Chang Rebecca Swee Fun
Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000 GPIO-SCH device driver. This piece of work is derived from Dan O'Donovan's initial work for Quark

Re: [PATCHv3 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-10-15 Thread Varka Bhadram
On 10/16/2014 09:21 AM, Chang Rebecca Swee Fun wrote: Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000 GPIO-SCH device driver. (...) static