diff options
author | Caveh Jalali <caveh@chromium.org> | 2021-05-20 00:01:25 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-27 01:27:33 +0000 |
commit | 4f9ecfc0861ec20e315934bce6e390b9ea4b3a3e (patch) | |
tree | bbb5a9d3f25f13f33bc9b7edf07c8ce0c8fd82be /chip/stm32/adc_chip.h | |
parent | eb67dbe36cac069f85962f9947fae27f5a2d25f1 (diff) | |
download | chrome-ec-4f9ecfc0861ec20e315934bce6e390b9ea4b3a3e.tar.gz |
brya: Support temp sensors on board ID 2
Brya board ID 2 has 4 temp sensors. This updates adc_channels,
temp_sensors, and thermal_params accordingly.
BRANCH=none
BUG=b:183452273,b:181271666
TEST=verified tmep sensors report plausible values on board ID 2:
> adc
TEMP_DDR_SOC = 1749 mV
TEMP_AMBIENT = 1749 mV
TEMP_CHARGER = 1556 mV
TEMP_WWAN = 1815 mV
>
> temps
DDR and SOC : 304 K = 31 C 0%
Ambient : 304 K = 31 C 0%
Charger : 310 K = 37 C 0%
WWAN : 302 K = 29 C 0%
>
> thermalget
sensor warn high halt fan_off fan_max name
0 0 343 353 308 323 DDR and SOC
1 0 348 353 313 328 Ambient
2 0 348 353 313 328 Charger
3 0 348 353 313 328 WWAN
>
Cq-Depend: chromium:3116991
Change-Id: I5a973f8ad281f11713c64974ac2848a3655eee17
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3116989
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'chip/stm32/adc_chip.h')
0 files changed, 0 insertions, 0 deletions