Re: [RFC PATCH] GPIO/ACPI: DesignWare: Add GPIO-signaled ACPI events support for power button

2016-02-16 Thread Linus Walleij
On Tue, Feb 16, 2016 at 1:32 PM, Jiang Qiu wrote: > 在 2016/2/16 2:25, Linus Walleij 写道: >> Mika can you help out looking at this patch. Tell me if you need a copy >> of the whole patch, I'm not smart with ACPI. >> >> On Fri, Feb 5, 2016 at 7:25 AM, qiujiang wrote: >> >>> This patch modifies the D

Re: [RFC PATCH] GPIO/ACPI: DesignWare: Add GPIO-signaled ACPI events support for power button

2016-02-16 Thread Mika Westerberg
On Tue, Feb 16, 2016 at 08:43:06PM +0800, Jiang Qiu wrote: > Device(GPI0) { > Name(_HID, "HISI0181") > Name(_ADR, 0) // _ADR: Address > Name(_UID, 0) > > Name (_CRS, ResourceTemplate () { > Memory32Fixed (ReadWrite, 0x802e, 0x1) >

Re: [RFC PATCH] GPIO/ACPI: DesignWare: Add GPIO-signaled ACPI events support for power button

2016-02-16 Thread Jiang Qiu
在 2016/2/16 17:24, Mika Westerberg 写道: > On Fri, Feb 05, 2016 at 02:25:42PM +0800, qiujiang wrote: >> This patch modifies the DesignWare GPIO controller driver to >> support the GPIO-signaled ACPI Events. This is used for power >> button function on ARM server. >> >> To make it work, the _AEI and _

Re: [RFC PATCH] GPIO/ACPI: DesignWare: Add GPIO-signaled ACPI events support for power button

2016-02-16 Thread Jiang Qiu
在 2016/2/16 2:25, Linus Walleij 写道: > Mika can you help out looking at this patch. Tell me if you need a copy > of the whole patch, I'm not smart with ACPI. > > On Fri, Feb 5, 2016 at 7:25 AM, qiujiang wrote: > >> This patch modifies the DesignWare GPIO controller driver to >> support the GPIO-s

Re: [RFC PATCH] GPIO/ACPI: DesignWare: Add GPIO-signaled ACPI events support for power button

2016-02-16 Thread Mika Westerberg
On Fri, Feb 05, 2016 at 02:25:42PM +0800, qiujiang wrote: > This patch modifies the DesignWare GPIO controller driver to > support the GPIO-signaled ACPI Events. This is used for power > button function on ARM server. > > To make it work, the _AEI and _EVT object must be defined in > the correspon

Re: [RFC PATCH] GPIO/ACPI: DesignWare: Add GPIO-signaled ACPI events support for power button

2016-02-15 Thread Linus Walleij
Mika can you help out looking at this patch. Tell me if you need a copy of the whole patch, I'm not smart with ACPI. On Fri, Feb 5, 2016 at 7:25 AM, qiujiang wrote: > This patch modifies the DesignWare GPIO controller driver to > support the GPIO-signaled ACPI Events. This is used for power > bu

[RFC PATCH] GPIO/ACPI: DesignWare: Add GPIO-signaled ACPI events support for power button

2016-02-04 Thread qiujiang
This patch modifies the DesignWare GPIO controller driver to support the GPIO-signaled ACPI Events. This is used for power button function on ARM server. To make it work, the _AEI and _EVT object must be defined in the corresponding GPIO driver's dsdt table in UEFI. At the same time, ACPI daemon c