diff options
author | Brandon Breitenstein <brandon.breitenstein@intel.com> | 2022-06-13 10:41:23 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-14 00:20:31 +0000 |
commit | 5e7e791268ed81059d6919ad98721ec0db80c3ab (patch) | |
tree | 7b4b3626befeda83b3b34122b10fc7bbdebb1c41 | |
parent | 792200d2e931004f4c67e137bba895a6b2f5dcbd (diff) | |
download | chrome-ec-5e7e791268ed81059d6919ad98721ec0db80c3ab.tar.gz |
zephyr/mtlrvp: Update battery information to add aliases
Initial MTLRVP code did not add aliases for the types of battery
options there were for the RVP. Since ADL and MTL RVPs share the
same battery configs just reuse the ADL file instead of adding one
in MTL.
BUG=none
BRANCH=none
TEST=battery console command works on MTLRVP
Signed-off-by: Brandon Breitenstein <brandon.breitenstein@intel.com>
Change-Id: I3a44f41c066c2f5aa406d022fc8bb580896f2588
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3703207
Reviewed-by: RAJESH KUMAR <rajesh3.kumar@intel.com>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
-rw-r--r-- | zephyr/projects/intelrvp/BUILD.py | 2 | ||||
-rw-r--r-- | zephyr/projects/intelrvp/mtlrvp/battery.dts | 15 |
2 files changed, 1 insertions, 16 deletions
diff --git a/zephyr/projects/intelrvp/BUILD.py b/zephyr/projects/intelrvp/BUILD.py index 7b8bf9cb42..b482dac507 100644 --- a/zephyr/projects/intelrvp/BUILD.py +++ b/zephyr/projects/intelrvp/BUILD.py @@ -26,7 +26,7 @@ def register_intelrvp_project( dts_overlays.append(here / "adlrvp/ioex.dts") if project_name.startswith("mtlrvp"): kconfig_files.append(here / "mtlrvp/prj.conf") - dts_overlays.append(here / "mtlrvp/battery.dts") + dts_overlays.append(here / "adlrvp/battery.dts") kconfig_files.extend(extra_kconfig_files) dts_overlays.extend(extra_dts_overlays) diff --git a/zephyr/projects/intelrvp/mtlrvp/battery.dts b/zephyr/projects/intelrvp/mtlrvp/battery.dts deleted file mode 100644 index 505e5878d2..0000000000 --- a/zephyr/projects/intelrvp/mtlrvp/battery.dts +++ /dev/null @@ -1,15 +0,0 @@ -/* Copyright 2022 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. - */ - -/ { - batteries { - default_battery: getac_smp_hhp_408_3s { - compatible = "getac,bq40z50-R3-S3", "battery-smart"; - }; - getac_smp_hhp_408_2s { - compatible = "getac,bq40z50-R3-S2", "battery-smart"; - }; - }; -}; |