configurations: catalina_pdb: add max/min value for vdrop sensor
We noticed that the vdrop sensor values were not updating correctly and we discovered this was due to incorrect MaxValue and MinVal
configurations: catalina_pdb: add max/min value for vdrop sensor
We noticed that the vdrop sensor values were not updating correctly and we discovered this was due to incorrect MaxValue and MinValue settings. The value of the vdrop sensor is usually between 1 and -1 volts. Add in0_Max and in0_Mix definitions for the vdrop sensor.
Tested results: ``` root@bmc:~# busctl introspect xyz.openbmc_project.PSUSensor /xyz/openbmc_project/sensors/voltage/PDB_POSITIVE_VDROP_VOLT_V xyz.openbmc_project.Sensor.Value NAME TYPE SIGNATURE RESULT/VALUE FLAGS .MaxValue property d 1 emits-change .MinValue property d -1 emits-change .Unit property s "xyz.openbmc_project.Sensor.Value.Unit.… emits-change .Value property d 0.104 emits-change writable root@bmc:~# busctl introspect xyz.openbmc_project.PSUSensor /xyz/openbmc_project/sensors/voltage/PDB_RETURN_VDROP_VOLT_V xyz.openbmc_project.Sensor.Value NAME TYPE SIGNATURE RESULT/VALUE FLAGS .MaxValue property d 1 emits-change .MinValue property d -1 emits-change .Unit property s "xyz.openbmc_project.Sensor.Value.Unit.… emits-change .Value property d 0.107 emits-change writable ```
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I37125808a772d0e12fcf93a56a161b573c09135a
show more ...
|