Thread (10 messages) 10 messages, 4 authors, 2015-02-09

Re: About Goodix-TS on Bay Trail, and ACPI and interrupts

From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: 2015-02-09 13:27:18
Also in: linux-acpi

On Fri, Feb 06, 2015 at 05:00:13PM +0100, Antonio Ospite wrote:
Last doubt, now that I am fixing the DSDT I am going to add an
Interrupt resource, but what is the correct way to specify its value?
Pin 3 of GPO2 is mapped to IRQ 220 by the mainline kernel, so I added
this:

  Interrupt (ResourceConsumer, Edge, ActiveHigh, Exclusive, ,, )
  {
    0x000000DC,
  }

And it works, but doesn't this rely on the way linux maps interrupt
numbers? Is this going to be OS agnostic? My doubt arises from the
fact that on the Android kernel the same pin is mapped to IRQ
389.
You should specify GpioInt() instead and turn it to interrupt using
gpiod_to_irq().
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help