Add support for debug card critical sensors
List of critical sensors read from json file cri_sensors.json
and its name along with current values will be displayed on
debug card screen.
Tested: verified with lcd debug card screen.
Change-Id: I1c7968b1d57efa9bf5e4cf8c7396fbeecbfbfd3a
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/cri_sensors.json b/cri_sensors.json
new file mode 100644
index 0000000..bde25f2
--- /dev/null
+++ b/cri_sensors.json
@@ -0,0 +1,62 @@
+{
+ "DTS_CPU1":
+ {
+ "short_name": "P0_TEMP:"
+ },
+ "DTS_CPU2":
+ {
+ "short_name": "P1_TEMP:"
+ },
+ "MB_HSC_IN_POWER":
+ {
+ "short_name": "HSC_PWR:"
+ },
+ "MB_HSC_IN_VOLT":
+ {
+ "short_name": "HSC_VOL:"
+ },
+ "MB_FAN0_TACH":
+ {
+ "short_name": "Fan0:"
+ },
+ "MB_FAN1_TACH":
+ {
+ "short_name": "Fan1:"
+ },
+ "MB_INLET_REMOTE_TEMP":
+ {
+ "short_name": "Inlet_TEMP:"
+ },
+ "MB_VR_CPU0_VCCIN_Temperature":
+ {
+ "short_name": "P0_VR_TEMP:"
+ },
+ "MB_VR_CPU1_VCCIN_Temperature":
+ {
+ "short_name": "P1_VR_TEMP:"
+ },
+ "MB_VR_CPU0_VCCIN_Output_Power":
+ {
+ "short_name": "P0_VR_Pwr:"
+ },
+ "MB_VR_CPU1_VCCIN_Output_Power":
+ {
+ "short_name": "P1_VR_Pwr:"
+ },
+ "MB_CPU0_DIMM_GRPA_TEMP":
+ {
+ "short_name": "DIMMA012_TEMP:"
+ },
+ "MB_CPU0_DIMM_GRPB_TEMP":
+ {
+ "short_name": "DIMMA345_TEMP:"
+ },
+ "MB_CPU1_DIMM_GRPC_TEMP":
+ {
+ "short_name": "DIMMB012_TEMP:"
+ },
+ "MB_CPU1_DIMM_GRPD_TEMP":
+ {
+ "short_name": "DIMMB345_TEMP:"
+ }
+}