summaryrefslogtreecommitdiff
path: root/zephyr/test
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2021-11-23 14:49:26 -0700
committerCommit Bot <commit-bot@chromium.org>2021-11-24 22:42:36 +0000
commite8f8debbfe36fcd7d048a0e1e22877438d048521 (patch)
tree8068ec7174ea18296271dbf0b345d1210802410b /zephyr/test
parentb030e01ca720385fbb823ab23d98740912af753a (diff)
downloadchrome-ec-e8f8debbfe36fcd7d048a0e1e22877438d048521.tar.gz
zephyr: Connect isl923x emul to battery emul
When the current limit is changed in isl923x, also change the reported battery current. BRANCH=None BUG=b:201314530 TEST=integration_usb Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I8ed908b451ba2b998edd4a1891e487e743ea6e4f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3298887 Tested-by: Jeremy Bettis <jbettis@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Queue: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/test')
-rw-r--r--zephyr/test/drivers/overlay.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/test/drivers/overlay.dts b/zephyr/test/drivers/overlay.dts
index 569dedae78..8025cd5c6f 100644
--- a/zephyr/test/drivers/overlay.dts
+++ b/zephyr/test/drivers/overlay.dts
@@ -627,6 +627,7 @@
status = "okay";
reg = <0x9>;
label = "ISL923X_EMUL";
+ battery = <&battery>;
};
tcpci_emul: tcpci_emul@82 {