summaryrefslogtreecommitdiff
path: root/zephyr/dts
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/dts
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/dts')
-rw-r--r--zephyr/dts/bindings/emul/cros,isl923x-emul.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/emul/cros,isl923x-emul.yaml b/zephyr/dts/bindings/emul/cros,isl923x-emul.yaml
index 5449b46f55..81663b5509 100644
--- a/zephyr/dts/bindings/emul/cros,isl923x-emul.yaml
+++ b/zephyr/dts/bindings/emul/cros,isl923x-emul.yaml
@@ -10,3 +10,8 @@ include: base.yaml
properties:
reg:
required: true
+ battery:
+ type: phandle
+ required: false
+ description:
+ Reference to battery emulator.