summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/battery
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2022-02-10 12:38:06 -0700
committerCommit Bot <commit-bot@chromium.org>2022-02-11 03:38:25 +0000
commit0f0c8add1eacd7fe5b97379d9ce85c8febfea760 (patch)
treea9687cbd963028eb145b3eb1c6b74b0f76e10027 /zephyr/dts/bindings/battery
parentaf9a119ca6126cfd511d3bac80b47e4612f3beb3 (diff)
downloadchrome-ec-0f0c8add1eacd7fe5b97379d9ce85c8febfea760.tar.gz
zephyr: battery: deprecate named-batteries
Add a comment that named-batteries is deprecated so that users don't extend this file. BUG=b:218888909 BRANCH=none TEST=commit-queue Change-Id: I5921e2b132a43a01d193b46e2ed088193943e1f8 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3452940 Reviewed-by: Aaron Massey <aaronmassey@google.com> Commit-Queue: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'zephyr/dts/bindings/battery')
-rw-r--r--zephyr/dts/bindings/battery/named-batteries.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/zephyr/dts/bindings/battery/named-batteries.yaml b/zephyr/dts/bindings/battery/named-batteries.yaml
index f382bfd52e..c7d70efd67 100644
--- a/zephyr/dts/bindings/battery/named-batteries.yaml
+++ b/zephyr/dts/bindings/battery/named-batteries.yaml
@@ -2,7 +2,11 @@ description: Named Batteries parent node
compatible: "named-batteries"
-# TODO(b/183544739): Move this to use compatible strings
+# TODO(b/218888909): Delete this file after all boards have been converted to
+# use the "batteries" node
+
+# This file is deprecated. Do not additional enum-name. Instead create
+# a new battery descriptor file matching the battery-info.yaml format.
child-binding:
description: Named batteries child node