From 6feff9519774bfa263e6632b5f5e4ce07feedf74 Mon Sep 17 00:00:00 2001 From: Travis Szucs Date: Fri, 8 Dec 2017 12:00:48 -0800 Subject: [PATCH] [device/arista]: Add MAX6697 sensor for Arista 7060CX-32S (#1210) --- .../x86_64-arista_7060_cx32s/sensors.conf | 25 ++++++++++++++----- src/sonic-linux-kernel | 2 +- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/device/arista/x86_64-arista_7060_cx32s/sensors.conf b/device/arista/x86_64-arista_7060_cx32s/sensors.conf index 20ebbeb5bbc7..b87cb57a9d5d 100644 --- a/device/arista/x86_64-arista_7060_cx32s/sensors.conf +++ b/device/arista/x86_64-arista_7060_cx32s/sensors.conf @@ -11,12 +11,25 @@ bus "i2c-7" "SCD SMBus master 0 bus 5" chip "k10temp-pci-00c3" label temp1 "Cpu temp sensor" -# missing support for -# chip "max6697-i2c-2-1a" -# board sensor 65 75 -# (1) switch chip left sensor 95 105 -# (5) switch chip right sensor 95 105 -# (6) front panel temp sensor 65 75 +chip "max6697-i2c-2-1a" + label temp1 "Board sensor" + set temp1_max 95 + + label temp2 "Switch chip left sensor" + set temp2_max 95 + set temp2_crit 105 + + ignore temp3 + ignore temp4 + ignore temp5 + + label temp6 "Switch chip right sensor" + set temp6_max 95 + set temp6_crit 105 + + label temp7 "Front panel temp sensor" + set temp7_max 65 + set temp7_crit 75 chip "max6658-i2c-3-4c" label temp1 "Cpu board temp sensor" diff --git a/src/sonic-linux-kernel b/src/sonic-linux-kernel index c9832d5e0835..ff5a3b588cc7 160000 --- a/src/sonic-linux-kernel +++ b/src/sonic-linux-kernel @@ -1 +1 @@ -Subproject commit c9832d5e08351d2f661374f51cf81e60677d2f42 +Subproject commit ff5a3b588cc7dbd763fb13c1125710134c8cdd12