Re: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-08-15 Thread Sebastian Reichel
Hi, On Mon, Jul 18, 2016 at 06:12:09PM +0200, H. Nikolaus Schaller wrote: > The bq27000 and bq27010 have a single byte FLAGS register. > Other gauges have 16 bit FLAGS registers. > > For reading the FLAGS register it is sufficient to read the single > register instead of reading RSOC at the next

Re: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-08-15 Thread Sebastian Reichel
Hi, On Mon, Jul 18, 2016 at 06:12:09PM +0200, H. Nikolaus Schaller wrote: > The bq27000 and bq27010 have a single byte FLAGS register. > Other gauges have 16 bit FLAGS registers. > > For reading the FLAGS register it is sufficient to read the single > register instead of reading RSOC at the next

Re: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-26 Thread Andrew F. Davis
On 07/18/2016 11:12 AM, H. Nikolaus Schaller wrote: > The bq27000 and bq27010 have a single byte FLAGS register. > Other gauges have 16 bit FLAGS registers. > > For reading the FLAGS register it is sufficient to read the single > register instead of reading RSOC at the next higher address as >

Re: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-26 Thread Andrew F. Davis
On 07/18/2016 11:12 AM, H. Nikolaus Schaller wrote: > The bq27000 and bq27010 have a single byte FLAGS register. > Other gauges have 16 bit FLAGS registers. > > For reading the FLAGS register it is sufficient to read the single > register instead of reading RSOC at the next higher address as >

Re: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-26 Thread Pali Rohár
On Monday 18 July 2016 18:12:09 H. Nikolaus Schaller wrote: > The bq27000 and bq27010 have a single byte FLAGS register. > Other gauges have 16 bit FLAGS registers. > > For reading the FLAGS register it is sufficient to read the single > register instead of reading RSOC at the next higher address

Re: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-26 Thread Pali Rohár
On Monday 18 July 2016 18:12:09 H. Nikolaus Schaller wrote: > The bq27000 and bq27010 have a single byte FLAGS register. > Other gauges have 16 bit FLAGS registers. > > For reading the FLAGS register it is sufficient to read the single > register instead of reading RSOC at the next higher address

Re: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-26 Thread H. Nikolaus Schaller
ping > Am 18.07.2016 um 18:12 schrieb H. Nikolaus Schaller : > > The bq27000 and bq27010 have a single byte FLAGS register. > Other gauges have 16 bit FLAGS registers. > > For reading the FLAGS register it is sufficient to read the single > register instead of reading RSOC

Re: [PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-26 Thread H. Nikolaus Schaller
ping > Am 18.07.2016 um 18:12 schrieb H. Nikolaus Schaller : > > The bq27000 and bq27010 have a single byte FLAGS register. > Other gauges have 16 bit FLAGS registers. > > For reading the FLAGS register it is sufficient to read the single > register instead of reading RSOC at the next higher

[PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-18 Thread H. Nikolaus Schaller
The bq27000 and bq27010 have a single byte FLAGS register. Other gauges have 16 bit FLAGS registers. For reading the FLAGS register it is sufficient to read the single register instead of reading RSOC at the next higher address as well and then ignore the high byte. This does not change

[PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-18 Thread H. Nikolaus Schaller
The bq27000 and bq27010 have a single byte FLAGS register. Other gauges have 16 bit FLAGS registers. For reading the FLAGS register it is sufficient to read the single register instead of reading RSOC at the next higher address as well and then ignore the high byte. This does not change