Re: [ibm-acpi-devel] [PATCH 1/3 v6] battery: Add the battery hooking API

2017-12-18 Thread Rafael J. Wysocki
On Fri, Dec 15, 2017 at 5:56 PM, Ognjen Galic wrote: > This is a patch that implements a generic hooking API for the > generic ACPI battery driver. > > With this new generic API, drivers can expose platform specific > behaviour via sysfs attributes in /sys/class/power_supply/BATn/ > in a generic w

Re: [ibm-acpi-devel] [PATCH 2/3 v6] battery: Add the ThinkPad "Not Charging" quirk

2017-12-18 Thread Rafael J. Wysocki
On Mon, Dec 18, 2017 at 1:36 PM, Andy Shevchenko wrote: > On Mon, Dec 18, 2017 at 12:21 PM, Ognjen Galić wrote: >> On 16/12/2017, Rafael J. Wysocki wrote: > >>> I would reorder it as the first patch in the series, then, because the >>> other two are more related to each other. > >> Do I really n

Re: [ibm-acpi-devel] [PATCH 2/3 v6] battery: Add the ThinkPad "Not Charging" quirk

2017-12-18 Thread Rafael J. Wysocki
On Mon, Dec 18, 2017 at 11:21 AM, Ognjen Galić wrote: > On 16/12/2017, Rafael J. Wysocki wrote: >> On Sat, Dec 16, 2017 at 9:48 AM, Ognjen Galic wrote: >>> On Sat, Dec 16, 2017 at 01:33:55AM +0100, Rafael J. Wysocki wrote: On Fri, Dec 15, 2017 at 5:57 PM, Ognjen Galic wrote: > Th

Re: [ibm-acpi-devel] [PATCH 2/3 v5] battery: Add the ThinkPad "Not Charging" quirk

2017-12-18 Thread Pavel Machek
On Sun 2017-12-10 19:05:29, Ognjen Galic wrote: > The EC/ACPI firmware on Lenovo ThinkPads used to report a status > of "Unknown" when the battery is between the charge start and > charge stop thresholds. On Windows, it reports "Not Charging" > so the quirk has been added to also report correctly.

Re: [ibm-acpi-devel] [PATCH 2/3 v6] battery: Add the ThinkPad "Not Charging" quirk

2017-12-18 Thread Ognjen Galić
On 18/12/2017, Andy Shevchenko wrote: > On Mon, Dec 18, 2017 at 12:21 PM, Ognjen Galić wrote: >> On 16/12/2017, Rafael J. Wysocki wrote: > >>> I would reorder it as the first patch in the series, then, because the >>> other two are more related to each other. > >> Do I really need now to re-orde

Re: [ibm-acpi-devel] [PATCH 2/3 v6] battery: Add the ThinkPad "Not Charging" quirk

2017-12-18 Thread Andy Shevchenko
On Mon, Dec 18, 2017 at 12:21 PM, Ognjen Galić wrote: > On 16/12/2017, Rafael J. Wysocki wrote: >> I would reorder it as the first patch in the series, then, because the >> other two are more related to each other. > Do I really need now to re-order and re-send the whole patchset for it > to ge

Re: [ibm-acpi-devel] [PATCH] platform/x86: thinkpad_acpi: Accept flat mode for type 4 multi mode status

2017-12-18 Thread Andy Shevchenko
On Tue, Nov 14, 2017 at 6:14 PM, Benjamin Berg wrote: > On the X1 Yoga 2nd Generation and most likely other notebooks the FLAT > mode is reported. Decode it correctly rather than warning about an > unexpected multi mode status to be reported. > > Signed-off-by: Benjamin Berg > Cc: Peter FP1 Zhang

Re: [ibm-acpi-devel] [PATCH 2/3 v6] battery: Add the ThinkPad "Not Charging" quirk

2017-12-18 Thread Ognjen Galić
On 16/12/2017, Rafael J. Wysocki wrote: > On Sat, Dec 16, 2017 at 9:48 AM, Ognjen Galic wrote: >> On Sat, Dec 16, 2017 at 01:33:55AM +0100, Rafael J. Wysocki wrote: >>> On Fri, Dec 15, 2017 at 5:57 PM, Ognjen Galic >>> wrote: >>> > The EC/ACPI firmware on Lenovo ThinkPads used to report a status