[v2,0/2] test_power: Add CHARGE_COUNTER and CURRENT properties
mbox series

Message ID 20190912182600.24211-1-lecopzer.chen@mediatek.com
Headers show
Series
  • test_power: Add CHARGE_COUNTER and CURRENT properties
Related show

Message

Jian-Lin Chen Sept. 12, 2019, 6:25 p.m. UTC
This series adds two common properties to test_power driver.
Most power supply drivers has these two properties, so add them to
test framework.


Changes in v2:
	- Seperate CHARGE_COUNTER and CURRENT into 2 patches.
	- Correct CHARGE_COUNTER whicch can be negative.


lecopzer (2):
  test_power: Add CHARGE_COUNTER properties
  test_power: Add CURRENT properties

 drivers/power/supply/test_power.c | 61 +++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)