Thread (5 messages) 5 messages, 4 authors, 2016-08-15

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

From: Sebastian Reichel <sre@kernel.org>
Date: 2016-08-15 19:27:58
Also in: lkml

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 higher address as
well and then ignore the high byte.

This does not change functionality but optimizes i2c and hdq
traffic.
Thanks, queued into power-supply's -next branch.

-- Sebastian

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help