diff options
-rw-r--r-- | zephyr/dts/bindings/battery/named-batteries.yaml | 1 | ||||
-rw-r--r-- | zephyr/projects/asurada/hayato/battery.dts | 14 | ||||
-rw-r--r-- | zephyr/projects/asurada/hayato/zmake.yaml | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/battery/named-batteries.yaml b/zephyr/dts/bindings/battery/named-batteries.yaml index ce7e5a0c62..1c922e2100 100644 --- a/zephyr/dts/bindings/battery/named-batteries.yaml +++ b/zephyr/dts/bindings/battery/named-batteries.yaml @@ -14,6 +14,7 @@ child-binding: - "ap16l5j" - "ap16l5j_009" - "ap16l8j" + - "c235" - "lgc011" - "lgc_ap18c8k" - "murata_ap18c4k" diff --git a/zephyr/projects/asurada/hayato/battery.dts b/zephyr/projects/asurada/hayato/battery.dts new file mode 100644 index 0000000000..abc22b4383 --- /dev/null +++ b/zephyr/projects/asurada/hayato/battery.dts @@ -0,0 +1,14 @@ +/* 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. + */ + +/ { + named-batteries { + compatible = "named-batteries"; + + c235 { + enum-name = "c235"; + }; + }; +}; diff --git a/zephyr/projects/asurada/hayato/zmake.yaml b/zephyr/projects/asurada/hayato/zmake.yaml index 8501d63dc3..133c622527 100644 --- a/zephyr/projects/asurada/hayato/zmake.yaml +++ b/zephyr/projects/asurada/hayato/zmake.yaml @@ -4,6 +4,7 @@ board: asurada dts-overlays: + - battery.dts - gpio.dts - motionsense.dts supported-zephyr-versions: |