summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/emul/cros,ln9310-emul.yaml
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-09-11 10:26:48 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-14 19:17:18 +0000
commit20323c55b8b52747f7c2067f1660223dcd1e7c58 (patch)
treee01ac60493e86f0201ca10d0ff6e4fdfe95e5eef /zephyr/dts/bindings/emul/cros,ln9310-emul.yaml
parent33c72485b79bc8de3be010dc0480047d3129fd27 (diff)
downloadchrome-ec-20323c55b8b52747f7c2067f1660223dcd1e7c58.tar.gz
zephyr: emul: ln9310
Add an LN9310 emulator. The emulator is mostly a stub right now with some limited functionality to update the battery cell type and chip version number. BRANCH=none BUG=b:184856083 TEST=zmake configure --test zephyr/test/drivers Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I156393f4612bf69e31d4d28d88d74fa4dd1689fc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3156846 Commit-Queue: Yuval Peress <peress@google.com> Tested-by: Yuval Peress <peress@google.com> Reviewed-by: Tomasz Michalec <tmichalec@google.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/dts/bindings/emul/cros,ln9310-emul.yaml')
-rw-r--r--zephyr/dts/bindings/emul/cros,ln9310-emul.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/emul/cros,ln9310-emul.yaml b/zephyr/dts/bindings/emul/cros,ln9310-emul.yaml
new file mode 100644
index 0000000000..811f77206f
--- /dev/null
+++ b/zephyr/dts/bindings/emul/cros,ln9310-emul.yaml
@@ -0,0 +1,13 @@
+# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+description: Cros LN9310 Emulator
+
+compatible: "cros,ln9310-emul"
+
+include: base.yaml
+
+properties:
+ reg:
+ required: true