device: gs101: add speaker health stats am: c6bf998960

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659556

Change-Id: I03e60f6be6675fed45596bf346d4a55bc5664733
This commit is contained in:
Roger Fang 2021-09-07 03:38:02 +00:00 committed by Automerger Merge Worker
commit 9ad5484339

View file

@ -40,7 +40,12 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
.EEPROMPath = "/dev/battery_history",
.MitigationPath = "/sys/devices/virtual/pmic/mitigation"};
.MitigationPath = "/sys/devices/virtual/pmic/mitigation",
.SpeakerTemperaturePath = "/sys/devices/platform/audiometrics/speaker_temp",
.SpeakerExcursionPath = "/sys/devices/platform/audiometrics/speaker_excursion",
.SpeakerHeartBeatPath = "/sys/devices/platform/audiometrics/speaker_heartbeat"
};
const struct UeventListener::UeventPaths ueventPaths = {
.AudioUevent = "/devices/virtual/amcs/amcs",
.WirelessChargerPtmcPath = "/sys/class/power_supply/wireless/device/ptmc_id"};