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

2017-09-10 Thread Pavel Machek
Hi! > > Values match the 6000mAh specified by DT: > > > > bat: battery { > > compatible = "simple-battery", "pyra-battery"; > > voltage-min-design-microvolt = <320>; > > energy-full-design-microwatt-hours = <2220>; > >

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

2017-09-10 Thread Pavel Machek
Hi! > > Values match the 6000mAh specified by DT: > > > > bat: battery { > > compatible = "simple-battery", "pyra-battery"; > > voltage-min-design-microvolt = <320>; > > energy-full-design-microwatt-hours = <2220>; > >

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

2017-08-29 Thread H. Nikolaus Schaller
Hi, > Am 29.08.2017 um 22:05 schrieb 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

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

2017-08-29 Thread H. Nikolaus Schaller
Hi, > Am 29.08.2017 um 22:05 schrieb 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.

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

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: >>> Hi Liam, >>> seems to work as expected :)

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

2017-08-29 Thread H. Nikolaus Schaller
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: >> Hi Liam, >> seems to work as expected :) >> >> First boot: >> >> [

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

2017-08-29 Thread H. Nikolaus Schaller
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: >> Hi Liam, >> seems to work as expected :) >> >> First boot: >> >> [6.096336] bq27xxx_battery_settings >> [

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

2017-08-29 Thread Liam Breck
Hi Nikolaus, thanks for the testing report... On Tue, Aug 29, 2017 at 7:24 AM, H. Nikolaus Schaller wrote: > Hi Liam, > seems to work as expected :) > > First boot: > > [6.096336] bq27xxx_battery_settings > [6.097987] bq27xxx_battery_set_config > [6.097990]

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

2017-08-29 Thread Liam Breck
Hi Nikolaus, thanks for the testing report... On Tue, Aug 29, 2017 at 7:24 AM, H. Nikolaus Schaller wrote: > Hi Liam, > seems to work as expected :) > > First boot: > > [6.096336] bq27xxx_battery_settings > [6.097987] bq27xxx_battery_set_config > [6.097990] bq27xxx_battery_unseal >

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

2017-08-29 Thread Michael Mrozek
Am Dienstag, den 29.08.2017, 15:33 +0200 schrieb H. Nikolaus Schaller: Yes, they were just quick fixes for us, not to be used directly for something else. I just thought those might help finding the issue for you :) > Hi, > > > Am 29.08.2017 um 15:25 schrieb Michael Mrozek

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

2017-08-29 Thread Michael Mrozek
Am Dienstag, den 29.08.2017, 15:33 +0200 schrieb H. Nikolaus Schaller: Yes, they were just quick fixes for us, not to be used directly for something else. I just thought those might help finding the issue for you :) > Hi, > > > Am 29.08.2017 um 15:25 schrieb Michael Mrozek > ra.org>: > > > >

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

2017-08-29 Thread H. Nikolaus Schaller
Hi Liam, seems to work as expected :) First boot: [6.096336] bq27xxx_battery_settings [6.097987] bq27xxx_battery_set_config [6.097990] bq27xxx_battery_unseal [6.107987] bq27xxx-battery 1-0055: update design-capacity to 6000 [6.107992] bq27xxx-battery 1-0055: update

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

2017-08-29 Thread H. Nikolaus Schaller
Hi Liam, seems to work as expected :) First boot: [6.096336] bq27xxx_battery_settings [6.097987] bq27xxx_battery_set_config [6.097990] bq27xxx_battery_unseal [6.107987] bq27xxx-battery 1-0055: update design-capacity to 6000 [6.107992] bq27xxx-battery 1-0055: update

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/

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

2017-08-29 Thread H. Nikolaus Schaller
Hi, I am trying to get this working on our bq27421. But the only message I get is: [6.086407] bq27xxx-battery 1-0055: data memory update not supported for chip A little research shows that this message comes from

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

2017-08-29 Thread H. Nikolaus Schaller
Hi, I am trying to get this working on our bq27421. But the only message I get is: [6.086407] bq27xxx-battery 1-0055: data memory update not supported for chip A little research shows that this message comes from