summaryrefslogtreecommitdiff
path: root/extra/usb_power/marlin_v.scenario
diff options
context:
space:
mode:
authorNick Sanders <nsanders@chromium.org>2018-02-05 18:50:12 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-03-28 19:34:27 -0700
commit2da18f938d64462ac62f6a77f46d05237ed30096 (patch)
treec8382814f7bb025a8f708bf6455bd2517f74e1d3 /extra/usb_power/marlin_v.scenario
parentbb1a079a628cc2a53c4c282da41692f3f29b0a3d (diff)
downloadchrome-ec-2da18f938d64462ac62f6a77f46d05237ed30096.tar.gz
sweetberry: add current and voltage logging
This adds a config to specify whether sweetberry should measure power, current, voltage per powerlog entry. The json format is slightly revised to allow data type per channel. powerlog and sweetberry fw are updated to handle the new functionality. BUG=b:72973433 BRANCH=None TEST=./powerlog.py -b marlin.board -c marlin_a.scenario -s .5 Signed-off-by: Nick Sanders <nsanders@chromium.org> Change-Id: I231fc6600495146fad30583872bf14c660d5a50b Reviewed-on: https://chromium-review.googlesource.com/905427 Commit-Ready: Nick Sanders <nsanders@chromium.org> Tested-by: Nick Sanders <nsanders@chromium.org> Reviewed-by: Mengqi Guo <mqg@chromium.org>
Diffstat (limited to 'extra/usb_power/marlin_v.scenario')
-rw-r--r--extra/usb_power/marlin_v.scenario1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/usb_power/marlin_v.scenario b/extra/usb_power/marlin_v.scenario
new file mode 100644
index 0000000000..99c132cb27
--- /dev/null
+++ b/extra/usb_power/marlin_v.scenario
@@ -0,0 +1 @@
+[["VBAT", "BUSV"], ["VDD_1V8_PANEL", "BUSV"], ["V_EMMC_2V95", "BUSV"], ["V_SR_2V85", "BUSV"], ["V_USBSS_SW_1V8", "BUSV"], ["V_AUDIO_2V15", "BUSV"]]