Create sensors for DIMM DVFS temps
Like it does for the processor, the OCC also sends down the throttle
(DVFS) temperatures for all of the DIMM related temp sensors in the
'_max' sysfs files.
This commit makes D-Bus sensors out of them as well so that fan control
can use them.
They are named:
- dimm_intmb_dvfs_temp
- dimm_dram_dvfs_temp
- dimm_dram_extmb_dvfs_temp
- dimm_pmic_dvfs_temp
- dimm_extmb_dvfs_temp}
Tested:
On a Rainier 2U with 3 types of DIMM temps available:
$ busctl get-property org.open_power.OCC.Control
/xyz/openbmc_project/sensors/temperature/dimm_dram_dvfs_temp
xyz.openbmc_project.Sensor.Value Value
d 69
$ busctl get-property org.open_power.OCC.Control
/xyz/openbmc_project/sensors/temperature/dimm_pmic_dvfs_temp
xyz.openbmc_project.Sensor.Value Value
d 85
$ busctl get-property org.open_power.OCC.Control
/xyz/openbmc_project/sensors/temperature/dimm_intmb_dvfs_temp
xyz.openbmc_project.Sensor.Value Value
d 89
Change-Id: Ia4417fa05dc2ecef1a54110c639a8ef51891b272
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2 files changed