thermal: Separate thermal config on basis of hardware revision.

Due to change in power rail naming b/297343909 split the thermal info
config for proto separately from later hardware versions.

Bug: 314047297
Test: Build and verify thermal logs on proto and evt devices.
Change-Id: I9cc4570f7d983dd9b3554aea636fc50a00eefd62
This commit is contained in:
sashwinbalaji 2023-12-04 10:56:01 +08:00
parent beb34e606e
commit 06a07b8216
4 changed files with 865 additions and 8 deletions

View file

@ -94,6 +94,7 @@ PRODUCT_COPY_FILES += \
# Thermal Config
PRODUCT_COPY_FILES += \
device/google/comet/thermal_info_config_comet.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
device/google/comet/thermal_info_config_comet_proto.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_proto.json \
device/google/comet/thermal_info_config_charge_comet.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_charge.json
# Power HAL config