devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] power: bq27xxx: add support for NVRAM R/W access
@ 2017-01-05  2:10 Matt Ranostay
       [not found] ` <20170105021007.22088-1-matt-sk+viVC6FLCDq+mSdOJa79kegs52MxvZ@public.gmane.org>
  2017-01-05  2:10 ` [PATCH v2 3/3] power: bq27xxx: add support for NVRAM R/W access Matt Ranostay
  0 siblings, 2 replies; 13+ messages in thread
From: Matt Ranostay @ 2017-01-05  2:10 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ, sre-DgEjT+Ai2ygdnm+yROfE0A
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-pm-u79uwXL29TY76Z2rM5mHXA, Matt Ranostay

Enable access to the NVRAM for the bq27425 chipset which allows to
update the battery metrics that are used in the state machine.

This allows adjustments of a termination voltage, design energy, and
design voltage.

Changes from v1:
* add documentation for mWh and mAh property units
* change devicetree entries to match new property units

Matt Ranostay (3):
  devicetree: property-units: add mWh and mAh units
  devicetree: bq27425: add documentation for bq27425 fuel gauge
  power: bq27xxx: add support for NVRAM R/W access

 .../devicetree/bindings/power/bq27425.txt          |  25 ++
 .../devicetree/bindings/property-units.txt         |   2 +
 drivers/power/supply/bq27xxx_battery_i2c.c         | 335 +++++++++++++++++++++
 include/linux/power/bq27xxx_battery.h              |   4 +
 4 files changed, 366 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/bq27425.txt

-- 
2.10.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-01-09 17:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05  2:10 [PATCH v2 0/3] power: bq27xxx: add support for NVRAM R/W access Matt Ranostay
     [not found] ` <20170105021007.22088-1-matt-sk+viVC6FLCDq+mSdOJa79kegs52MxvZ@public.gmane.org>
2017-01-05  2:10   ` [PATCH v2 1/3] devicetree: property-units: add mWh and mAh units Matt Ranostay
     [not found]     ` <20170105021007.22088-2-matt-sk+viVC6FLCDq+mSdOJa79kegs52MxvZ@public.gmane.org>
2017-01-06  0:24       ` Sebastian Reichel
2017-01-09 17:53     ` Rob Herring
2017-01-05  2:10   ` [PATCH v2 2/3] devicetree: bq27425: add documentation for bq27425 fuel gauge Matt Ranostay
2017-01-06  0:56     ` Sebastian Reichel
     [not found]     ` <20170105021007.22088-3-matt-sk+viVC6FLCDq+mSdOJa79kegs52MxvZ@public.gmane.org>
2017-01-09 17:53       ` Rob Herring
2017-01-05  2:10 ` [PATCH v2 3/3] power: bq27xxx: add support for NVRAM R/W access Matt Ranostay
     [not found]   ` <20170105021007.22088-4-matt-sk+viVC6FLCDq+mSdOJa79kegs52MxvZ@public.gmane.org>
2017-01-06  1:53     ` Sebastian Reichel
2017-01-06  2:34       ` Matt Ranostay
2017-01-06  3:23         ` Matt Ranostay
2017-01-06 17:28           ` Sebastian Reichel
2017-01-06  3:50     ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).