meta-gbmc-staging: dbus-sensors: psusensor: Add support for ADM1273
ADM1273 is a drop-in replacement of ADM1272 and haven't supported by
psusensor. Therefore, add ADM1273 to expose the related HSC sensors ADM1272
has.
Add this change to ensure that ADM1273 has been fully supported once
someone configures adm1273 as compatible in device tree.
Tested:
[With only adm1273 as compatible]
cat /sys/bus/i2c/devices/53-0010/of_node/compatible
adi,adm1273
[Before this change]
ipmitool sensor list | grep -i HSC
[After this change]
ipmitool sensor list | grep -i HSC
HSC_I_OUT | 1.440 | Amps | ok | na | -4.800 | na | na | 60.928 | na
HSC_Ipk_OUT | 2.272 | Amps | ok | na | -4.800 | na | na | 60.928 | na
HSC_P_IN | 72.200 | Watts | ok | na | -10.400 | na | na | na | na
HSC_Ppk_IN | 119.400 | Watts | ok | na | -10.400 | na | na | na | na
HSC_Temp_NTC | 23.000 | degrees C | ok | na | 0.000 | na | na | 100.000 | na
HSC_Temppk_NTC | 27.000 | degrees C | ok | na | 0.000 | na | na | 100.000 | na
HSC_V_IN | 54.096 | Volts | ok | na | 39.200 | na | na | 61.152 | na
HSC_V_OUT | 54.096 | Volts | ok | na | 39.200 | na | na | 61.152 | na
HSC_Vpk_IN | 54.096 | Volts | ok | na | 39.200 | na | na | 61.152 | na
HSC_Vpk_OUT | 54.096 | Volts | ok | na | 39.200 | na | na | 61.152 | na
Fusion-Link: fusion2 https://paste.googleplex.com/6313468328280064
Google-Bug-Id: 355686450
Change-Id: I8386baff3db6c54b69571b9e73daeae8709891c9
Signed-off-by: Brian Chiang <chiang.brian@inventec.corp-partner.google.com>
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2 files changed