Re: [PATCH v2 1/2] gpio: acpi: add quirk to override GpioInt polarity

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 03:36:24PM +0200, Linus Walleij wrote: > On Mon, Sep 2, 2019 at 12:01 PM Andy Shevchenko > wrote: > > On Sat, Aug 31, 2019 at 11:09:14AM +0800, Peter Cai wrote: > > > On GPD P2 Max, the firmware could not reset the touch panel correctly. > > > The kernel needs to take on

Re: [PATCH v2 1/2] gpio: acpi: add quirk to override GpioInt polarity

2019-09-02 Thread Linus Walleij
On Mon, Sep 2, 2019 at 12:01 PM Andy Shevchenko wrote: > On Sat, Aug 31, 2019 at 11:09:14AM +0800, Peter Cai wrote: > > On GPD P2 Max, the firmware could not reset the touch panel correctly. > > The kernel needs to take on the job instead, but the GpioInt definition > > in DSDT specifies

Re: [PATCH v2 1/2] gpio: acpi: add quirk to override GpioInt polarity

2019-09-02 Thread Andy Shevchenko
On Sat, Aug 31, 2019 at 11:09:14AM +0800, Peter Cai wrote: > On GPD P2 Max, the firmware could not reset the touch panel correctly. > The kernel needs to take on the job instead, but the GpioInt definition > in DSDT specifies ActiveHigh while the GPIO pin should actually be > ActiveLow. > > We

[PATCH v2 1/2] gpio: acpi: add quirk to override GpioInt polarity

2019-08-30 Thread Peter Cai
On GPD P2 Max, the firmware could not reset the touch panel correctly. The kernel needs to take on the job instead, but the GpioInt definition in DSDT specifies ActiveHigh while the GPIO pin should actually be ActiveLow. We need to override the polarity defined by DSDT. The GPIO driver already