Re: [PATCH] coccinelle: api: detect duplicate chip data arrays

2017-10-05 Thread Liam Breck
Hi Joe, On Thu, Oct 5, 2017 at 12:30 PM, Joe Perches wrote: > On Thu, 2017-10-05 at 21:19 +0200, Julia Lawall wrote: >> On Thu, 5 Oct 2017, Joe Perches wrote: >> > On Thu, 2017-10-05 at 21:13 +0200, Julia Lawall wrote: >> > > On Fri, 6 Oct 2017, Masahiro Yamada wrote: >> > > >

Re: [PATCH] coccinelle: api: detect duplicate chip data arrays

2017-10-05 Thread Liam Breck
Hi Joe, On Thu, Oct 5, 2017 at 12:30 PM, Joe Perches wrote: > On Thu, 2017-10-05 at 21:19 +0200, Julia Lawall wrote: >> On Thu, 5 Oct 2017, Joe Perches wrote: >> > On Thu, 2017-10-05 at 21:13 +0200, Julia Lawall wrote: >> > > On Fri, 6 Oct 2017, Masahiro Yamada wrote: >> > > > 2017-10-01 21:42

Re: [PATCH] coccinelle: api: detect duplicate chip data arrays

2017-10-05 Thread Liam Breck
Hi Julia, On Thu, Oct 5, 2017 at 12:25 PM, Julia Lawall <julia.law...@lip6.fr> wrote: > > > On Thu, 5 Oct 2017, Liam Breck wrote: > >> Hi, sorry for slow reply... >> >> Can we patch something to make this script run by default on >> bq7_battery_i

Re: [PATCH] coccinelle: api: detect duplicate chip data arrays

2017-10-05 Thread Liam Breck
Hi Julia, On Thu, Oct 5, 2017 at 12:25 PM, Julia Lawall wrote: > > > On Thu, 5 Oct 2017, Liam Breck wrote: > >> Hi, sorry for slow reply... >> >> Can we patch something to make this script run by default on >> bq7_battery_i2c build? If so let's do that.

Re: [PATCH] coccinelle: api: detect duplicate chip data arrays

2017-10-05 Thread Liam Breck
Hi Joe, On Thu, Oct 5, 2017 at 12:15 PM, Joe Perches wrote: > On Thu, 2017-10-05 at 21:13 +0200, Julia Lawall wrote: >> >> On Fri, 6 Oct 2017, Masahiro Yamada wrote: >> >> > 2017-10-01 21:42 GMT+09:00 Julia Lawall : >> > > This semantic patch detects

Re: [PATCH] coccinelle: api: detect duplicate chip data arrays

2017-10-05 Thread Liam Breck
Hi Joe, On Thu, Oct 5, 2017 at 12:15 PM, Joe Perches wrote: > On Thu, 2017-10-05 at 21:13 +0200, Julia Lawall wrote: >> >> On Fri, 6 Oct 2017, Masahiro Yamada wrote: >> >> > 2017-10-01 21:42 GMT+09:00 Julia Lawall : >> > > This semantic patch detects duplicate arrays declared using BQ27XXX_DATA

Re: [PATCH] coccinelle: api: detect duplicate chip data arrays

2017-10-05 Thread Liam Breck
Hi, sorry for slow reply... Can we patch something to make this script run by default on bq7_battery_i2c build? If so let's do that. Also maybe the name of the script should include "bq27xxx_data"? Few more comments below... On Sun, Oct 1, 2017 at 5:42 AM, Julia Lawall

Re: [PATCH] coccinelle: api: detect duplicate chip data arrays

2017-10-05 Thread Liam Breck
Hi, sorry for slow reply... Can we patch something to make this script run by default on bq7_battery_i2c build? If so let's do that. Also maybe the name of the script should include "bq27xxx_data"? Few more comments below... On Sun, Oct 1, 2017 at 5:42 AM, Julia Lawall wrote: > This

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-09-08 Thread Liam Breck
Howdy, On Fri, Sep 8, 2017 at 1:28 PM, H. Nikolaus Schaller <h...@goldelico.com> wrote: > Hi Liam, > >> Am 08.09.2017 um 22:19 schrieb Liam Breck <l...@networkimprov.net>: >> >> Hi Nikolaus, >> >> On Fri, Sep 8, 2017 at 10:38 AM, H. Nikolaus Scha

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-09-08 Thread Liam Breck
Howdy, On Fri, Sep 8, 2017 at 1:28 PM, H. Nikolaus Schaller wrote: > Hi Liam, > >> Am 08.09.2017 um 22:19 schrieb Liam Breck : >> >> Hi Nikolaus, >> >> On Fri, Sep 8, 2017 at 10:38 AM, H. Nikolaus Schaller >> wrote: >>> Hi Liam, >>

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-09-08 Thread Liam Breck
Hi Nikolaus, On Fri, Sep 8, 2017 at 10:38 AM, H. Nikolaus Schaller <h...@goldelico.com> wrote: > Hi Liam, > I finally continues testing on OpenPandora. > >> Am 31.08.2017 um 22:19 schrieb Liam Breck <l...@networkimprov.net>: >> >> Hi, >> >

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-09-08 Thread Liam Breck
Hi Nikolaus, On Fri, Sep 8, 2017 at 10:38 AM, H. Nikolaus Schaller wrote: > Hi Liam, > I finally continues testing on OpenPandora. > >> Am 31.08.2017 um 22:19 schrieb Liam Breck : >> >> Hi, >> >> This may be a fix that allows >0 input from DT, but

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-08-31 Thread Liam Breck
me on patch posts. You left me off your last series. Cpl more comments below... On Thu, Aug 31, 2017 at 2:35 AM, H. Nikolaus Schaller <h...@goldelico.com> wrote: > Hi Liam, > >> Am 31.08.2017 um 10:58 schrieb Liam Breck <l...@networkimprov.net>: >> >> On Wed, Aug 30,

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-08-31 Thread Liam Breck
me on patch posts. You left me off your last series. Cpl more comments below... On Thu, Aug 31, 2017 at 2:35 AM, H. Nikolaus Schaller wrote: > Hi Liam, > >> Am 31.08.2017 um 10:58 schrieb Liam Breck : >> >> On Wed, Aug 30, 2017 at 11:58 PM, H. Nikolaus Schaller >>

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-08-31 Thread Liam Breck
On Wed, Aug 30, 2017 at 11:58 PM, H. Nikolaus Schaller <h...@goldelico.com> wrote: > Hi Liam, > >> Am 30.08.2017 um 13:24 schrieb Liam Breck <l...@networkimprov.net>: >> >> Hi Nikolaus, >> >> On Wed, Aug 30, 2017 at 2:30 AM, H. Nikolaus Scha

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-08-31 Thread Liam Breck
On Wed, Aug 30, 2017 at 11:58 PM, H. Nikolaus Schaller wrote: > Hi Liam, > >> Am 30.08.2017 um 13:24 schrieb Liam Breck : >> >> Hi Nikolaus, >> >> On Wed, Aug 30, 2017 at 2:30 AM, H. Nikolaus Schaller >> wrote: >>> Hi Liam and Sebastian,

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-08-30 Thread Liam Breck
Hi Nikolaus, On Wed, Aug 30, 2017 at 2:30 AM, H. Nikolaus Schaller <h...@goldelico.com> wrote: > Hi Liam and Sebastian, > >> Am 29.08.2017 um 22:20 schrieb Liam Breck <l...@networkimprov.net>: >> >> Hi Nikolaus, thanks for the patch... >> >> On Tu

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-08-30 Thread Liam Breck
Hi Nikolaus, On Wed, Aug 30, 2017 at 2:30 AM, H. Nikolaus Schaller wrote: > Hi Liam and Sebastian, > >> Am 29.08.2017 um 22:20 schrieb Liam Breck : >> >> Hi Nikolaus, thanks for the patch... >> >> On Tue, Aug 29, 2017 at 1:10 PM, H. Nikolaus Schaller &g

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-08-29 Thread Liam Breck
Hi Nikolaus, thanks for the patch... On Tue, Aug 29, 2017 at 1:10 PM, H. Nikolaus Schaller wrote: > Tested on Pyra prototype with bq27421. > > Signed-off-by: H. Nikolaus Schaller > --- > drivers/power/supply/bq27xxx_battery.c | 2 +- > 1 file changed, 1

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-08-29 Thread Liam Breck
Hi Nikolaus, thanks for the patch... On Tue, Aug 29, 2017 at 1:10 PM, H. Nikolaus Schaller wrote: > Tested on Pyra prototype with bq27421. > > Signed-off-by: H. Nikolaus Schaller > --- > drivers/power/supply/bq27xxx_battery.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: dt-bindings: power: supply: bq27xxx: Add monitored-battery documentation

2017-08-29 Thread Liam Breck
Hi, On Tue, Aug 29, 2017 at 12:50 PM, H. Nikolaus Schaller <h...@goldelico.com> wrote: > Hi Liam, > >> Am 29.08.2017 um 20:18 schrieb Liam Breck <l...@networkimprov.net>: >> >> Hi Nikolaus, thanks for the testing report... >> >> On Tue,

Re: dt-bindings: power: supply: bq27xxx: Add monitored-battery documentation

2017-08-29 Thread Liam Breck
Hi, On Tue, Aug 29, 2017 at 12:50 PM, H. Nikolaus Schaller wrote: > Hi Liam, > >> Am 29.08.2017 um 20:18 schrieb Liam Breck : >> >> Hi Nikolaus, thanks for the testing report... >> >> On Tue, Aug 29, 2017 at 7:24 AM, H. Nikolaus Schaller >> wrote:

Re: dt-bindings: power: supply: bq27xxx: Add monitored-battery documentation

2017-08-29 Thread Liam Breck
0 > POWER_SUPPLY_MANUFACTURER=Texas Instruments > root@letux:~# > > Anything else I should test? Could you also test voltage-min-design-microvolt at 3177 to make sure that's configurable too? Sebastian just queued my series to -next. Would you be inclined to submit a new patch enab

Re: dt-bindings: power: supply: bq27xxx: Add monitored-battery documentation

2017-08-29 Thread Liam Breck
Y_MANUFACTURER=Texas Instruments > root@letux:~# > > Anything else I should test? Could you also test voltage-min-design-microvolt at 3177 to make sure that's configurable too? Sebastian just queued my series to -next. Would you be inclined to submit a new patch enabling bq27421? If so, the so

Re: dt-bindings: power: supply: bq27xxx: Add monitored-battery documentation

2017-08-29 Thread Liam Breck
Hi Nikolaus, You need the patchset which enables this feature, which was delayed for further work. It's now ready... https://patchwork.kernel.org/patch/9918947/ https://patchwork.kernel.org/patch/9918949/ https://patchwork.kernel.org/patch/9918951/ https://patchwork.kernel.org/patch/9918953/

Re: dt-bindings: power: supply: bq27xxx: Add monitored-battery documentation

2017-08-29 Thread Liam Breck
Hi Nikolaus, You need the patchset which enables this feature, which was delayed for further work. It's now ready... https://patchwork.kernel.org/patch/9918947/ https://patchwork.kernel.org/patch/9918949/ https://patchwork.kernel.org/patch/9918951/ https://patchwork.kernel.org/patch/9918953/

Re: [PATCH v2 11/14] power: supply: bq24190_charger: Get input_current_limit from our supplier

2017-08-28 Thread Liam Breck
Hi Hans, I sent too soon... On Mon, Aug 28, 2017 at 9:04 AM, Hans de Goede <hdego...@redhat.com> wrote: > Hi, > > > On 16-08-17 22:28, Liam Breck wrote: >> >> Hi Hans, >> >> On Tue, Aug 15, 2017 at 1:04 PM, Hans de Goede <hdego...@redhat.com> >&

Re: [PATCH v2 11/14] power: supply: bq24190_charger: Get input_current_limit from our supplier

2017-08-28 Thread Liam Breck
Hi Hans, I sent too soon... On Mon, Aug 28, 2017 at 9:04 AM, Hans de Goede wrote: > Hi, > > > On 16-08-17 22:28, Liam Breck wrote: >> >> Hi Hans, >> >> On Tue, Aug 15, 2017 at 1:04 PM, Hans de Goede >> wrote: >>> >>> On some devices th

Re: [PATCH v2 11/14] power: supply: bq24190_charger: Get input_current_limit from our supplier

2017-08-28 Thread Liam Breck
Hi Hans, On Mon, Aug 28, 2017 at 9:04 AM, Hans de Goede <hdego...@redhat.com> wrote: > Hi, > > > On 16-08-17 22:28, Liam Breck wrote: >> >> Hi Hans, >> >> On Tue, Aug 15, 2017 at 1:04 PM, Hans de Goede <hdego...@redhat.com> >> wrote: >>

Re: [PATCH v2 11/14] power: supply: bq24190_charger: Get input_current_limit from our supplier

2017-08-28 Thread Liam Breck
Hi Hans, On Mon, Aug 28, 2017 at 9:04 AM, Hans de Goede wrote: > Hi, > > > On 16-08-17 22:28, Liam Breck wrote: >> >> Hi Hans, >> >> On Tue, Aug 15, 2017 at 1:04 PM, Hans de Goede >> wrote: >>> >>> On some devices the USB Type-C port p

Re: [PATCH v2 11/14] power: supply: bq24190_charger: Get input_current_limit from our supplier

2017-08-16 Thread Liam Breck
Hi Hans, On Tue, Aug 15, 2017 at 1:04 PM, Hans de Goede wrote: > On some devices the USB Type-C port power (USB PD 2.0) negotiation is > done by a separate port-controller IC, while the current limit is > controlled through another (charger) IC. > > It has been decided to

Re: [PATCH v2 11/14] power: supply: bq24190_charger: Get input_current_limit from our supplier

2017-08-16 Thread Liam Breck
Hi Hans, On Tue, Aug 15, 2017 at 1:04 PM, Hans de Goede wrote: > On some devices the USB Type-C port power (USB PD 2.0) negotiation is > done by a separate port-controller IC, while the current limit is > controlled through another (charger) IC. > > It has been decided to model this by modelling

Re: [PATCH 13/18] power: supply: bq24190_charger: Export 5V boost converter as regulator

2017-08-08 Thread Liam Breck
On Tue, Aug 8, 2017 at 2:00 AM, Hans de Goede <hdego...@redhat.com> wrote: > Hi, > > On 08-08-17 10:39, Liam Breck wrote: >> >> Hi Hans, >> >> On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede <hdego...@redhat.com> wrote: >>> >>> Regi

Re: [PATCH 13/18] power: supply: bq24190_charger: Export 5V boost converter as regulator

2017-08-08 Thread Liam Breck
On Tue, Aug 8, 2017 at 2:00 AM, Hans de Goede wrote: > Hi, > > On 08-08-17 10:39, Liam Breck wrote: >> >> Hi Hans, >> >> On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede wrote: >>> >>> Register the 5V boost converter as a regulator named >&

Re: [PATCH 13/18] power: supply: bq24190_charger: Export 5V boost converter as regulator

2017-08-08 Thread Liam Breck
Hi Hans, On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede wrote: > Register the 5V boost converter as a regulator named > "regulator-bq24190-usb-vbus". Note the name includes "bq24190" because > the bq24190 family is also used on ACPI devices where there are no > device-tree

Re: [PATCH 13/18] power: supply: bq24190_charger: Export 5V boost converter as regulator

2017-08-08 Thread Liam Breck
Hi Hans, On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede wrote: > Register the 5V boost converter as a regulator named > "regulator-bq24190-usb-vbus". Note the name includes "bq24190" because > the bq24190 family is also used on ACPI devices where there are no > device-tree phandles, so

Re: [PATCH 16/18] power: supply: bq24190_charger: Remove extcon handling

2017-08-08 Thread Liam Breck
Hi Hans, On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede wrote: > Now that drivers/i2c/busses/i2c-cht-wc.c uses > "input-current-limit-from-supplier" instead of "extcon-name" the last > user of the bq24190 extcon code is gone, remove it. > > Signed-off-by: Hans de Goede

Re: [PATCH 16/18] power: supply: bq24190_charger: Remove extcon handling

2017-08-08 Thread Liam Breck
Hi Hans, On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede wrote: > Now that drivers/i2c/busses/i2c-cht-wc.c uses > "input-current-limit-from-supplier" instead of "extcon-name" the last > user of the bq24190 extcon code is gone, remove it. > > Signed-off-by: Hans de Goede > --- >

Re: [PATCH 15/18] power: supply: bq24190_charger: Get input_current_limit from our supplier

2017-08-08 Thread Liam Breck
Hallo Hans :-) On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede wrote: > On some devices the USB Type-C port power (USB PD 2.0) negotiation is > done by a separate port-controller IC, while the current limit is > controlled through another (charger) IC. > > It has been decided

Re: [PATCH 15/18] power: supply: bq24190_charger: Get input_current_limit from our supplier

2017-08-08 Thread Liam Breck
Hallo Hans :-) On Sun, Aug 6, 2017 at 5:35 AM, Hans de Goede wrote: > On some devices the USB Type-C port power (USB PD 2.0) negotiation is > done by a separate port-controller IC, while the current limit is > controlled through another (charger) IC. > > It has been decided to model this by

[PATCH v14 01/11] devicetree: property-units: Add uWh and uAh units

2017-06-07 Thread Liam Breck
t@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v14 01/11] devicetree: property-units: Add uWh and uAh units

2017-06-07 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring

Re: [PATCH v3 1/4] dt-bindings: power: supply: add battery charge voltage/current

2017-06-01 Thread Liam Breck
Hi Enric, On Thu, Jun 1, 2017 at 1:18 AM, Enric Balletbo Serra <eballe...@gmail.com> wrote: > Hi Liam, > > 2017-06-01 9:01 GMT+02:00 Liam Breck <l...@networkimprov.net>: >> Hi Enric, >> >> On Sat, May 27, 2017 at 1:11 PM, Enric Balletbo Serra >

Re: [PATCH v3 1/4] dt-bindings: power: supply: add battery charge voltage/current

2017-06-01 Thread Liam Breck
Hi Enric, On Thu, Jun 1, 2017 at 1:18 AM, Enric Balletbo Serra wrote: > Hi Liam, > > 2017-06-01 9:01 GMT+02:00 Liam Breck : >> Hi Enric, >> >> On Sat, May 27, 2017 at 1:11 PM, Enric Balletbo Serra >> wrote: >>> Hi Liam, >>> >&g

Re: [PATCH v3 1/4] dt-bindings: power: supply: add battery charge voltage/current

2017-06-01 Thread Liam Breck
Hi Enric, On Sat, May 27, 2017 at 1:11 PM, Enric Balletbo Serra <eballe...@gmail.com> wrote: > Hi Liam, > > 2017-05-26 23:20 GMT+02:00 Liam Breck <l...@networkimprov.net>: >> Hi Enric, >> >> On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra >>

Re: [PATCH v3 1/4] dt-bindings: power: supply: add battery charge voltage/current

2017-06-01 Thread Liam Breck
Hi Enric, On Sat, May 27, 2017 at 1:11 PM, Enric Balletbo Serra wrote: > Hi Liam, > > 2017-05-26 23:20 GMT+02:00 Liam Breck : >> Hi Enric, >> >> On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra >> wrote: >>> Add charging voltage and

Re: [PATCH v3 3/4] dt-bindings: power: tps65217_charger: add NTC type for battery temperature measurement.

2017-05-26 Thread Liam Breck
Hi Enric, On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra wrote: > The TS pin of the TPS56217 connects to the NTC resistor in the battery > pack. By default the device is setup to support a 10-kohm but can also > be configured to support a 100-kohm. Add a

Re: [PATCH v3 3/4] dt-bindings: power: tps65217_charger: add NTC type for battery temperature measurement.

2017-05-26 Thread Liam Breck
Hi Enric, On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra wrote: > The TS pin of the TPS56217 connects to the NTC resistor in the battery > pack. By default the device is setup to support a 10-kohm but can also > be configured to support a 100-kohm. Add a propietry to configure the >

Re: [PATCH v3 2/4] power: supply: core: add charging voltage/current battery info

2017-05-26 Thread Liam Breck
Hi Enric, I'll also incorporate these changes into v14 of my patchset. (See my prev msg.) On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra wrote: > Add the parameters to define the battery charging voltage and charging > current. Charger driver can get this

Re: [PATCH v3 2/4] power: supply: core: add charging voltage/current battery info

2017-05-26 Thread Liam Breck
Hi Enric, I'll also incorporate these changes into v14 of my patchset. (See my prev msg.) On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra wrote: > Add the parameters to define the battery charging voltage and charging > current. Charger driver can get this information from the struct >

Re: [PATCH v3 4/4] power: tps65217_charger: add support for NTC type, voltage and current charge

2017-05-26 Thread Liam Breck
Hi Enric, On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra wrote: > Allow the possibility to configure the charge and the current voltage of > the charger and also the NTC type for battery temperature measurement. > > Signed-off-by: Enric Balletbo i Serra

Re: [PATCH v3 4/4] power: tps65217_charger: add support for NTC type, voltage and current charge

2017-05-26 Thread Liam Breck
Hi Enric, On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra wrote: > Allow the possibility to configure the charge and the current voltage of > the charger and also the NTC type for battery temperature measurement. > > Signed-off-by: Enric Balletbo i Serra > --- > Changes since v2: > -

Re: [PATCH v3 1/4] dt-bindings: power: supply: add battery charge voltage/current

2017-05-26 Thread Liam Breck
Hi Enric, On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra wrote: > Add charging voltage and current characteristics to the battery DT for > proper handling of the battery by fuel-gauge and charger chips. > > Signed-off-by: Enric Balletbo i Serra

Re: [PATCH v3 1/4] dt-bindings: power: supply: add battery charge voltage/current

2017-05-26 Thread Liam Breck
Hi Enric, On Fri, May 26, 2017 at 4:04 AM, Enric Balletbo i Serra wrote: > Add charging voltage and current characteristics to the battery DT for > proper handling of the battery by fuel-gauge and charger chips. > > Signed-off-by: Enric Balletbo i Serra > --- > Changes since v2: > - Requested

[PATCH v13 01/11] devicetree: property-units: Add uWh and uAh units

2017-05-04 Thread Liam Breck
t@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v13 01/11] devicetree: property-units: Add uWh and uAh units

2017-05-04 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring

Re: [PATCH] power: bq24190_charger: mark PM functions as __maybe_unused

2017-03-20 Thread Liam Breck
bq24190_charger: Check the interrupt status on > resume") > Signed-off-by: Arnd Bergmann <a...@arndb.de> Cool, thx! Acked-by: Liam Breck <ker...@networkimprov.net> > --- > drivers/power/supply/bq24190_charger.c | 10 -- > 1 file changed, 4 insertions(+), 6 delet

Re: [PATCH] power: bq24190_charger: mark PM functions as __maybe_unused

2017-03-20 Thread Liam Breck
heck the interrupt status on > resume") > Signed-off-by: Arnd Bergmann Cool, thx! Acked-by: Liam Breck > --- > drivers/power/supply/bq24190_charger.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff --git a/drivers/power/supply/bq24190_charger.c

[PATCH v11 02/10] devicetree: property-units: Add uWh and uAh units

2017-03-20 Thread Liam Breck
t@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v11 02/10] devicetree: property-units: Add uWh and uAh units

2017-03-20 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring

[PATCH v10 2/8] devicetree: property-units: Add uWh and uAh units

2017-03-15 Thread Liam Breck
t@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v10 2/8] devicetree: property-units: Add uWh and uAh units

2017-03-15 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring

[PATCH v9 2/8] devicetree: property-units: Add uWh and uAh units

2017-03-05 Thread Liam Breck
t@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v9 2/8] devicetree: property-units: Add uWh and uAh units

2017-03-05 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring

[PATCH v8 2/9] devicetree: property-units: Add uWh and uAh units

2017-02-26 Thread Liam Breck
t@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v8 2/9] devicetree: property-units: Add uWh and uAh units

2017-02-26 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring

[PATCH v7 2/9] devicetree: property-units: Add uWh and uAh units

2017-02-21 Thread Liam Breck
t@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v7 2/9] devicetree: property-units: Add uWh and uAh units

2017-02-21 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring

Re: [PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property

2017-02-15 Thread Liam Breck
On Wed, Feb 15, 2017 at 12:53 AM, Quentin Schulz <quentin.sch...@free-electrons.com> wrote: > Hi, > > On 15/02/2017 01:46, Liam Breck wrote: >> >> On Tue, 14 Feb 2017 10:40:55 +0100 Quentin Schulz wrote: >>> This adds the constant-charge-current property to

Re: [PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property

2017-02-15 Thread Liam Breck
On Wed, Feb 15, 2017 at 12:53 AM, Quentin Schulz wrote: > Hi, > > On 15/02/2017 01:46, Liam Breck wrote: >> >> On Tue, 14 Feb 2017 10:40:55 +0100 Quentin Schulz wrote: >>> This adds the constant-charge-current property to the list of optional >>> properti

Re: [PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property

2017-02-14 Thread Liam Breck
On Tue, 14 Feb 2017 10:40:55 +0100 Quentin Schulz wrote: > This adds the constant-charge-current property to the list of optional > properties of the battery. > > The constant charge current is critical for batteries as they can't > handle all charge currents. > > Signed-off-by: Quentin Schulz

Re: [PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property

2017-02-14 Thread Liam Breck
On Tue, 14 Feb 2017 10:40:55 +0100 Quentin Schulz wrote: > This adds the constant-charge-current property to the list of optional > properties of the battery. > > The constant charge current is critical for batteries as they can't > handle all charge currents. > > Signed-off-by: Quentin Schulz >

[PATCH v6 2/8] devicetree: property-units: Add uWh and uAh units

2017-02-10 Thread Liam Breck
t@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentat

[PATCH v6 2/8] devicetree: property-units: Add uWh and uAh units

2017-02-10 Thread Liam Breck
From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob Herring

Re: [PATCH] power: supply: Add driver for TI BQ2416X battery charger

2017-02-06 Thread Liam Breck
G'day, On 7 Feb 2017 at 01:09:09, Wojciech Ziemba wrote: > diff --git a/Documentation/devicetree/bindings/power/supply/bq2416x.txt > b/Documentation/devicetree/bindings/power/supply/bq2416x.txt > new file mode 100644 > index 000..8f4b814 > --- /dev/null > +++

Re: [PATCH] power: supply: Add driver for TI BQ2416X battery charger

2017-02-06 Thread Liam Breck
G'day, On 7 Feb 2017 at 01:09:09, Wojciech Ziemba wrote: > diff --git a/Documentation/devicetree/bindings/power/supply/bq2416x.txt > b/Documentation/devicetree/bindings/power/supply/bq2416x.txt > new file mode 100644 > index 000..8f4b814 > --- /dev/null > +++

[PATCH v5 2/8] devicetree: property-units: Add uWh and uAh units

2017-02-04 Thread Liam Breck
er.kernel.org Signed-off-by: Matt Ranostay <matt@ranostay.consulting> Signed-off-by: Liam Breck <ker...@networkimprov.net> Acked-by: Sebastian Reichel <s...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/property-units.txt | 2

[PATCH v5 2/8] devicetree: property-units: Add uWh and uAh units

2017-02-04 Thread Liam Breck
From: Matt Ranostay From: Matt Ranostay Add entries for microwatt-hours and microamp-hours. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Matt Ranostay Signed-off-by: Liam Breck Acked-by: Sebastian Reichel Acked-by: Rob