commit | edb9a244bfb90a9f259ba21aff1103cd5b67345e | [log] [tgz] |
---|---|---|
author | Gurjant Kalsi <gkalsi@fuchsia.infra.roller.google.com> | Tue Jan 23 20:10:12 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 23 12:12:13 2024 -0800 |
tree | e8c32f36171e0d05e0f3ff06665d3f7f9404a9ff | |
parent | 3265a6af487da18c0660a9d31d5cdcdef8b4da0b [diff] |
[roll] Roll fuchsia [vim3][trip][aml] Add a Trip Point Driver for Vim3 This CL removes the deprecated `fuchsia.hardware.thermal` driver (aml-thermal) from Vim3 and replaces it with a driver (aml-trip) that realizes the `fuchsia.hardware.trip` interface instead. This CL contains several changes: The PLL and DDR temperature sensors were previous managed by aml-thermal. This functionality now lives in the new trip point driver. Clients like `sensor_logger` and `power_manager` now read periodic temperature updates from `/dev/sys/platform/05:06:39/aml-trip-device` instead of `/dev/sys/platform/05:06:a/thermal`. Critical shutdown temperature is now configured by `aml-trip` instead of `aml-thermal` The new `aml-trip` driver implements the `fuchsia.hardware.trippoint` FIDL interface which allows clients to set trip points for observing when a critical temperature is passed. Original-Bug: b/301982740 Test: Tested via the following - + Updated device-enumeration-test-vim3 + fx test --fail --count 10000 aml-trip-test-package + Booted on vim3 and tested that the temperature sensors still worked as follows: ``` $ temperature-cli /dev/class/trippoint/44224c35 temperature = 41.900002 $ temperature-cli /dev/class/trippoint/81358d6f temperature = 40.099998 $ ``` + Booted on Vim3 and used a `trip-cli` utility to set 4 trip points and observe that they all fired. Note that `trip-cli` was a prototype utility and is not currently checked into the tree. It may be polished up and checked in at a later time if the need arises. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/970826 Original-Revision: b8f36098912ca3cdf70aaee7567b7884375e06d5 GitOrigin-RevId: 84867f992095711db0e81592b54e4caf2b7b376c Change-Id: I293bca062cec9d84e72827c84c5e262246a2da9d
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.